mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-12 00:45:14 +00:00
Update app.js
This commit is contained in:
parent
7bd444244c
commit
f008499259
3
app.js
3
app.js
|
@ -158,7 +158,6 @@ if (typeof(CreateObject) !== "function") {
|
|||
*/
|
||||
function require(FN) {
|
||||
var cache = require.__cache = require.__cache || {};
|
||||
var global = require.__global;
|
||||
if (FN.substr(FN.length - 3) !== '.js') FN += ".js";
|
||||
if (cache[FN]) return cache[FN];
|
||||
|
||||
|
@ -203,7 +202,7 @@ function require(FN) {
|
|||
T = "(function(global){var module=new ModuleObject();return(function(exports,require,module,__filename,__dirname){"
|
||||
+ '"use strict";'
|
||||
+ T
|
||||
+ "\n\nreturn module.exports})(module.exports,global.require,module,__filename,__dirname)})(global);\n\n////@ sourceURL="
|
||||
+ "\n\nreturn module.exports})(module.exports,global.require,module,__filename,__dirname)})(require.__global);\n\n////@ sourceURL="
|
||||
+ FN;
|
||||
|
||||
// execute function
|
||||
|
|
Loading…
Reference in New Issue
Block a user