mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-15 06:01:04 +00:00
Update app.js
This commit is contained in:
parent
4e3b7f7aee
commit
7659507e9e
3
app.js
3
app.js
|
@ -288,8 +288,7 @@ require.__ModulePrototype__ = function() {
|
||||||
this.exports = {};
|
this.exports = {};
|
||||||
};
|
};
|
||||||
require.__getDirName__ = function(path) {
|
require.__getDirName__ = function(path) {
|
||||||
var delimiter = "\\";
|
var pos = Math.max.apply(null, [path.lastIndexOf("\\"), path.lastIndexOf("/")]);
|
||||||
var pos = path.lastIndexOf(delimiter);
|
|
||||||
return (pos > -1 ? path.substring(0, pos) : "");
|
return (pos > -1 ? path.substring(0, pos) : "");
|
||||||
};
|
};
|
||||||
require.__getCurrentScriptDirectory__ = function() {
|
require.__getCurrentScriptDirectory__ = function() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user