Bug fixing, new map info dialog

This commit is contained in:
Exodus4D
2015-08-25 23:04:47 +02:00
parent e3591e5d05
commit 52957d1ac8
70 changed files with 3320 additions and 1452 deletions

38
node_modules/.bin/build.js generated vendored
View File

@@ -76,21 +76,23 @@
//of its dependencies includes i18n bundles, they may not be included in the
//built file unless the locale: section is set above.
{
name: 'app/main',
name: 'mappage',
include: ['text'],
exclude: [
// "jquery",
// "jsPlumb"
excludeShallow: [
'app'
]
},{
name: 'app/landingpage',
name: 'landingpage',
include: ['text'],
exclude: [
// "jquery",
// "jsPlumb"
excludeShallow: [
'app'
]
},{
name: 'app/notification'
name: 'app/notification',
excludeShallow: [
'app',
'jquery'
]
}
],
@@ -104,7 +106,7 @@
//NOTE: As of 2.1.7, if using xpcshell to run the optimizer, it cannot
//parse out comments since its native Reflect parser is used, and does
//not have the same comments option support as esprima.
preserveLicenseComments: false,
preserveLicenseComments: false, // not working with "generate source maps" :(
//Introduced in 2.1.2 and considered experimental.
//If the minifier specified in the "optimize" option supports generating
@@ -118,6 +120,16 @@
//source maps as ".js.src" files.
generateSourceMaps: true,
//Sets the logging level. It is a number. If you want "silent" running,
//set logLevel to 4. From the logger.js file:
//TRACE: 0,
//INFO: 1,
//WARN: 2,
//ERROR: 3,
//SILENT: 4
//Default is 0.
logLevel: 0,
//How to optimize all the JS files in the build output directory.
//Right now only the following values
//are supported:
@@ -170,13 +182,17 @@
onBuildWrite: function (moduleName, path, contents) {
// show module names for each file
if(moduleName === 'app/main'){
if(moduleName === 'mappage'){
// test :)
}
return contents;
},
paths: {
app: "./../js/app" // the main config file will not be build
},
//The directory path to save the output. If not specified, then
//the path will default to be a directory called "build" as a sibling
//to the build file. All relative paths are relative to the build file.