Skip to content

Commit

Permalink
Delete unnecessary resources
Browse files Browse the repository at this point in the history
删除无用资源
  • Loading branch information
antoor committed May 1, 2016
1 parent 2d93df8 commit 24db04f
Show file tree
Hide file tree
Showing 76 changed files with 6 additions and 16,869 deletions.
2 changes: 1 addition & 1 deletion modules/database.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const fs = require('fs'),
CONF = require('./config'),
logger = require('log4js').getLogger('Database'),
Datastore = require('nedb'),
qqwry = require("lib-qqwry").info();
qqwry = require("geoips").info();

class Database {

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"babel": "^5.2.17",
"electron-prebuilt": "^0.37.2",
"extract-zip": "^1.5.0",
"geoips": "0.0.1",
"iconv-lite": "^0.4.13",
"lib-qqwry": "^0.0.5",
"log4js": "^0.6.29",
"nedb": "^1.5.1",
"nugget": "^2.0.0",
Expand Down
8 changes: 4 additions & 4 deletions source/load.entry.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'use strict';

// 加载jQuery
window.$ = window.jQuery = require('../static/libs/jquery/dist/jquery.min.js');
window.$ = window.jQuery = require('../static/libs/jquery/jquery.js');

// 开始加载时间
let APP_START_TIME = +new Date;
Expand Down Expand Up @@ -74,7 +74,7 @@ $(document).ready(() => {
loadCSS(
'../static/libs/bmenu/bmenu.css'
).then(() => {
return loadCSS('../static/libs/toastr/toastr.css');
return loadCSS('../static/libs/toastr/toastr.min.css');
}).then(() => {
return loadCSS('../static/libs/layer/src/skin/layer.css');
}).then(() => {
Expand All @@ -86,7 +86,7 @@ $(document).ready(() => {
}).then(() => {
return loadCSS('../static/libs/terminal/css/jquery.terminal.css');
}).then(() => {
return loadCSS('../static/libs/font-awesome/css/font-awesome.css');
return loadCSS('../static/libs/font-awesome/css/font-awesome.min.css');
}).then(() => {
return loadCSS('../static/libs/dhtmlx/codebase/dhtmlx.css');
}).then(() => {
Expand All @@ -109,7 +109,7 @@ $(document).ready(() => {
}).then(() => {
return loadJS('../static/libs/laydate/laydate.js');
}).then(() => {
return loadJS('../static/libs/terminal/js/jquery.terminal-src.js');
return loadJS('../static/libs/terminal/js/jquery.terminal-min.js');
}).then(() => {
return loadJS('../static/libs/dhtmlx/codebase/dhtmlx.js');
}).then(() => {
Expand Down
Binary file removed static/imgs/dmg-bg.jpg
Binary file not shown.
Binary file removed static/imgs/dmg-bg.psd
Binary file not shown.
Binary file removed static/imgs/dmg.icns
Binary file not shown.
Binary file removed static/imgs/icon.icns
Binary file not shown.
Binary file removed static/imgs/icon.ico
Binary file not shown.
Binary file removed static/imgs/icon.png
Binary file not shown.
Binary file removed static/imgs/icon.psd
Binary file not shown.
Binary file removed static/imgs/load.psd
Binary file not shown.
Binary file removed static/imgs/logo.psd
Binary file not shown.
1 change: 0 additions & 1 deletion static/libs/bmenu/bmenu.min.css

This file was deleted.

1 change: 0 additions & 1 deletion static/libs/bmenu/bmenu.min.js

This file was deleted.

Loading

0 comments on commit 24db04f

Please sign in to comment.