diff --git a/Super_preloaderPlus/Gruntfile.js b/Super_preloaderPlus/Gruntfile.js index 9c1918e7..2fb9b2ca 100644 --- a/Super_preloaderPlus/Gruntfile.js +++ b/Super_preloaderPlus/Gruntfile.js @@ -1,9 +1,10 @@ module.exports = function(grunt) { var concatOptions = { - banner: '(function() {', - footer: '})();', - separator: '//----------------------------------' + banner: '(function() {\n', + footer: '\n})();', + separator: '\n\n//----------------------------------\n', + process: true }; grunt.initConfig({ diff --git a/Super_preloaderPlus/package.json b/Super_preloaderPlus/package.json index 48b9cdb4..a93dafdb 100644 --- a/Super_preloaderPlus/package.json +++ b/Super_preloaderPlus/package.json @@ -1,6 +1,6 @@ { "name": "super_preloaderplus_one", - "version": "6.4.3", + "version": "6.4.4", "devDependencies": { "grunt": "~0.4.5", "grunt-contrib-clean": "~0.5.0", diff --git a/Super_preloaderPlus/src/main.js b/Super_preloaderPlus/src/main.js index d6283362..96a12a3f 100644 --- a/Super_preloaderPlus/src/main.js +++ b/Super_preloaderPlus/src/main.js @@ -1,7 +1,8 @@ - // main.js -// 引用console对象的部分函数. +//------------------------下面的不要管他----------------- +/////////////////////////////////////////////////////////////////// + var xbug = prefs.debug || GM_getValue("debug") || false; var C = console; var debug = xbug ? console.log.bind(console) : function() {}; @@ -102,6 +103,10 @@ var setup = function(){ div.innerHTML = '\