jeefo_core
Advanced tools
Comparing version 0.0.9 to 0.0.10
@@ -30,14 +30,7 @@ /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. | ||
var source_files = require("../source_files"); | ||
var libs = [], source = []; | ||
source_files.forEach(function (file) { | ||
var code = fse.readFileSync(`./${ file }`, "utf8"); | ||
if (! file.startsWith("node_modules")) { | ||
source.push( | ||
preprocessor(file, code).trim() | ||
); | ||
} else { | ||
libs.push(code); | ||
} | ||
var source = source_files.map(function (file) { | ||
return preprocessor(file, | ||
fse.readFileSync(`./${ file }`, "utf8") | ||
).trim(); | ||
}); | ||
@@ -57,4 +50,2 @@ | ||
source = `${ header }jeefo.use(function (jeefo) {\n\n${ source.join("\n\n") }\n\n});`; | ||
libs.push(source); | ||
source = libs.join("\n\n"); | ||
@@ -61,0 +52,0 @@ var browser_source = `(function (jeefo, $window, $document) { "use strict";\n\n${ source }\n\n}(window.jeefo, window, document));`; |
@@ -14,2 +14,3 @@ /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-. | ||
jeefo.use(require("jeefo_javascript_parser")); | ||
jeefo.use(require("jeefo_javascript_beautifier")); | ||
@@ -16,0 +17,0 @@ |
/** | ||
* jeefo_core : v0.0.9 | ||
* jeefo_core : v0.0.10 | ||
* Author : je3f0o, <je3f0o@gmail.com> | ||
@@ -4,0 +4,0 @@ * Homepage : https://github.com/je3f0o/jeefo_core |
/** | ||
* jeefo_core : v0.0.9 | ||
* jeefo_core : v0.0.10 | ||
* Author : je3f0o, <je3f0o@gmail.com> | ||
@@ -4,0 +4,0 @@ * Homepage : https://github.com/je3f0o/jeefo_core |
@@ -7,3 +7,3 @@ | ||
/** | ||
* jeefo_core : v0.0.9 | ||
* jeefo_core : v0.0.10 | ||
* Author : je3f0o, <je3f0o@gmail.com> | ||
@@ -10,0 +10,0 @@ * Homepage : https://github.com/je3f0o/jeefo_core |
/** | ||
* jeefo_core : v0.0.9 | ||
* jeefo_core : v0.0.10 | ||
* Author : je3f0o, <je3f0o@gmail.com> | ||
@@ -4,0 +4,0 @@ * Homepage : https://github.com/je3f0o/jeefo_core |
{ | ||
"name": "jeefo_core", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"homepage": "https://github.com/je3f0o/jeefo_core", | ||
@@ -27,2 +27,3 @@ "copyright": "2017", | ||
"fs-extra": "^0.30.0", | ||
"jeefo_javascript_parser": "^0.0.5", | ||
"mocha": "^3.0.2", | ||
@@ -32,3 +33,3 @@ "uglify-js": "^2.8.22" | ||
"dependencies": { | ||
"jeefo": "^0.0.12" | ||
"jeefo": "^0.0.13" | ||
}, | ||
@@ -35,0 +36,0 @@ "uglify_config": { |
Sorry, the diff of this file is not supported yet
66718
5
1349
+ Addedjeefo@0.0.13(transitive)
- Removedjeefo@0.0.12(transitive)
Updatedjeefo@^0.0.13