Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed targetdir

  • Loading branch information...
commit d95b2aa8d35b5d3471babf2b6dc91f60658e0aa2 1 parent 70fcfee
@jeffsu authored
View
1  CHANGELOG
@@ -1,5 +1,6 @@
0.3.17
* CORE: Adding counter to foreach "foreach (var item:i in items) { }"
+ * COMMAND: Fixing compile to use targetDir instead of outDir
0.3.16
* JSML: Support dashes in classes and id
View
3  dist/browser/js2-full.js
@@ -908,7 +908,6 @@ function mainFunction (arg) {
var collectionName = "_c" + n;
var l = "_l" + n;
- console.log(brace.getValidateString());
var v = brace.validate(/(\()(\s*)(var)(\s+)(I)(\s*\:\s*(I))?(\s+)(in)(\s+)/);
if (!v) return '';
console.log(v[7], v[5], v[4], '<<');
@@ -1422,7 +1421,7 @@ JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("getUpdater",function () {
var inDir = this.config.args[0] || this.config.sourceDir || '.';
- var targetDir = this.config.args[1] || this.config.outDir || inDir;
+ var targetDir = this.config.args[1] || this.config.targetDir || inDir;
return new JS2.Updater(this.fs, inDir, targetDir, this.config.recursive);
});
View
3  dist/gem/CHANGELOG
@@ -1,3 +1,6 @@
+0.3.17
+ * CORE: Adding counter to foreach "foreach (var item:i in items) { }"
+ * COMMAND: Fixing compile to use targetDir instead of outDir
0.3.16
* JSML: Support dashes in classes and id
View
3  dist/gem/lib/js2/js2.js
@@ -904,7 +904,6 @@ function mainFunction (arg) {
var collectionName = "_c" + n;
var l = "_l" + n;
- console.log(brace.getValidateString());
var v = brace.validate(/(\()(\s*)(var)(\s+)(I)(\s*\:\s*(I))?(\s+)(in)(\s+)/);
if (!v) return '';
console.log(v[7], v[5], v[4], '<<');
@@ -1418,7 +1417,7 @@ JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("getUpdater",function () {
var inDir = this.config.args[0] || this.config.sourceDir || '.';
- var targetDir = this.config.args[1] || this.config.outDir || inDir;
+ var targetDir = this.config.args[1] || this.config.targetDir || inDir;
return new JS2.Updater(this.fs, inDir, targetDir, this.config.recursive);
});
View
3  dist/npm/CHANGELOG
@@ -1,3 +1,6 @@
+0.3.17
+ * CORE: Adding counter to foreach "foreach (var item:i in items) { }"
+ * COMMAND: Fixing compile to use targetDir instead of outDir
0.3.16
* JSML: Support dashes in classes and id
View
3  dist/npm/lib/js2.js
@@ -904,7 +904,6 @@ function mainFunction (arg) {
var collectionName = "_c" + n;
var l = "_l" + n;
- console.log(brace.getValidateString());
var v = brace.validate(/(\()(\s*)(var)(\s+)(I)(\s*\:\s*(I))?(\s+)(in)(\s+)/);
if (!v) return '';
console.log(v[7], v[5], v[4], '<<');
@@ -1418,7 +1417,7 @@ JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("getUpdater",function () {
var inDir = this.config.args[0] || this.config.sourceDir || '.';
- var targetDir = this.config.args[1] || this.config.outDir || inDir;
+ var targetDir = this.config.args[1] || this.config.targetDir || inDir;
return new JS2.Updater(this.fs, inDir, targetDir, this.config.recursive);
});
View
3  flavors/browser-full.js
@@ -908,7 +908,6 @@ function mainFunction (arg) {
var collectionName = "_c" + n;
var l = "_l" + n;
- console.log(brace.getValidateString());
var v = brace.validate(/(\()(\s*)(var)(\s+)(I)(\s*\:\s*(I))?(\s+)(in)(\s+)/);
if (!v) return '';
console.log(v[7], v[5], v[4], '<<');
@@ -1422,7 +1421,7 @@ JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("getUpdater",function () {
var inDir = this.config.args[0] || this.config.sourceDir || '.';
- var targetDir = this.config.args[1] || this.config.outDir || inDir;
+ var targetDir = this.config.args[1] || this.config.targetDir || inDir;
return new JS2.Updater(this.fs, inDir, targetDir, this.config.recursive);
});
View
3  flavors/node.js
@@ -904,7 +904,6 @@ function mainFunction (arg) {
var collectionName = "_c" + n;
var l = "_l" + n;
- console.log(brace.getValidateString());
var v = brace.validate(/(\()(\s*)(var)(\s+)(I)(\s*\:\s*(I))?(\s+)(in)(\s+)/);
if (!v) return '';
console.log(v[7], v[5], v[4], '<<');
@@ -1418,7 +1417,7 @@ JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("getUpdater",function () {
var inDir = this.config.args[0] || this.config.sourceDir || '.';
- var targetDir = this.config.args[1] || this.config.outDir || inDir;
+ var targetDir = this.config.args[1] || this.config.targetDir || inDir;
return new JS2.Updater(this.fs, inDir, targetDir, this.config.recursive);
});
View
3  flavors/ringo-full.js
@@ -906,7 +906,6 @@ function mainFunction (arg) {
var collectionName = "_c" + n;
var l = "_l" + n;
- console.log(brace.getValidateString());
var v = brace.validate(/(\()(\s*)(var)(\s+)(I)(\s*\:\s*(I))?(\s+)(in)(\s+)/);
if (!v) return '';
console.log(v[7], v[5], v[4], '<<');
@@ -1420,7 +1419,7 @@ JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("getUpdater",function () {
var inDir = this.config.args[0] || this.config.sourceDir || '.';
- var targetDir = this.config.args[1] || this.config.outDir || inDir;
+ var targetDir = this.config.args[1] || this.config.targetDir || inDir;
return new JS2.Updater(this.fs, inDir, targetDir, this.config.recursive);
});
View
3  flavors/ruby.js
@@ -904,7 +904,6 @@ function mainFunction (arg) {
var collectionName = "_c" + n;
var l = "_l" + n;
- console.log(brace.getValidateString());
var v = brace.validate(/(\()(\s*)(var)(\s+)(I)(\s*\:\s*(I))?(\s+)(in)(\s+)/);
if (!v) return '';
console.log(v[7], v[5], v[4], '<<');
@@ -1418,7 +1417,7 @@ JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("getUpdater",function () {
var inDir = this.config.args[0] || this.config.sourceDir || '.';
- var targetDir = this.config.args[1] || this.config.outDir || inDir;
+ var targetDir = this.config.args[1] || this.config.targetDir || inDir;
return new JS2.Updater(this.fs, inDir, targetDir, this.config.recursive);
});
View
2  src/Common/Commander.js2
@@ -62,7 +62,7 @@ class Commander {
function getUpdater() {
var inDir = this.config.args[0] || this.config.sourceDir || '.';
- var targetDir = this.config.args[1] || this.config.outDir || inDir;
+ var targetDir = this.config.args[1] || this.config.targetDir || inDir;
return new JS2.Updater(this.fs, inDir, targetDir, this.config.recursive);
}
Please sign in to comment.
Something went wrong with that request. Please try again.