Permalink
Browse files

fixed targetdir

  • Loading branch information...
1 parent 70fcfee commit d95b2aa8d35b5d3471babf2b6dc91f60658e0aa2 @jeffsu committed Apr 12, 2011
View
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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);
}

0 comments on commit d95b2aa

Please sign in to comment.