mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 23:41:42 +00:00
Update app.js
This commit is contained in:
parent
871fe130af
commit
0283ad1bc2
7
app.js
7
app.js
|
@ -218,9 +218,10 @@ function require(FN) {
|
||||||
var __filename__ = (function(getCurrentScriptDirectory, fileExists, path) {
|
var __filename__ = (function(getCurrentScriptDirectory, fileExists, path) {
|
||||||
var basepath = getCurrentScriptDirectory();
|
var basepath = getCurrentScriptDirectory();
|
||||||
var filepaths = [
|
var filepaths = [
|
||||||
path.join(basepath, FN),
|
path.join(basepath, FN), // WelsonJS base library
|
||||||
path.join(basepath, "bower_components", FN),
|
path.join(basepath, "Scripts", FN) // NuGet
|
||||||
path.join(basepath, "node_modules", FN)
|
path.join(basepath, "bower_components", FN), // Bower
|
||||||
|
path.join(basepath, "node_modules", FN), // NPM
|
||||||
];
|
];
|
||||||
var filename = filepaths[0];
|
var filename = filepaths[0];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user