Skip to content

Commit

Permalink
0.3.18
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffsu committed Apr 15, 2011
1 parent 48a04bd commit cefdf74
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 82 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Original file line Diff line number Diff line change
@@ -1 +1 @@
0.3.17 0.3.18
9 changes: 1 addition & 8 deletions dist/browser/js2-full.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function mainFunction (arg) {


var JS2 = root.JS2 = mainFunction; var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2; var js2 = root.js2 = JS2;
js2.VERSION = "0.3.17"; js2.VERSION = "0.3.18";


JS2.ROOT = JS2; JS2.ROOT = JS2;


Expand Down Expand Up @@ -1128,7 +1128,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0; return this.length > 0;
}; };



JS2.Class.extend('FileSystem', function(KLASS, OO){ JS2.Class.extend('FileSystem', function(KLASS, OO){
OO.addMember("initialize",function (adapter) { OO.addMember("initialize",function (adapter) {
this.adapter = adapter; this.adapter = adapter;
Expand Down Expand Up @@ -1238,7 +1237,6 @@ JS2.Class.extend('FileSystem', function(KLASS, OO){
}); });
}); });



JS2.Class.extend('Updater', function(KLASS, OO){ JS2.Class.extend('Updater', function(KLASS, OO){
OO.addMember("initialize",function (fs, inDir, outDir, recursive) { OO.addMember("initialize",function (fs, inDir, outDir, recursive) {
this.recursive = recursive; this.recursive = recursive;
Expand Down Expand Up @@ -1284,7 +1282,6 @@ JS2.Class.extend('Updater', function(KLASS, OO){
}); });
}); });



JS2.Class.extend('Config', function(KLASS, OO){ JS2.Class.extend('Config', function(KLASS, OO){
OO.addMember("CLI_REGEX",/^-(r|i|f|n|v|m)(=(\w+))?$/); OO.addMember("CLI_REGEX",/^-(r|i|f|n|v|m)(=(\w+))?$/);
OO.addMember("optsLookup",{ OO.addMember("optsLookup",{
Expand Down Expand Up @@ -1356,7 +1353,6 @@ JS2.Class.extend('Config', function(KLASS, OO){


}); });



JS2.Class.extend('Commander', function(KLASS, OO){ JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("BANNER","js2 <command> [options] <arguments>\n" + OO.addMember("BANNER","js2 <command> [options] <arguments>\n" +
"VERSION: " + JS2.VERSION + "\n" + "VERSION: " + JS2.VERSION + "\n" +
Expand Down Expand Up @@ -1443,7 +1439,6 @@ JS2.Class.extend('Commander', function(KLASS, OO){
}); });





JS2.Class.extend('BrowserDecorator', function(KLASS, OO){ JS2.Class.extend('BrowserDecorator', function(KLASS, OO){
OO.addMember("file",function (code) { OO.addMember("file",function (code) {
return code; return code;
Expand Down Expand Up @@ -1488,7 +1483,6 @@ JS2.Class.extend('RingoDecorator', function(KLASS, OO){


JS2.DECORATOR = JS2.DECORATOR || new JS2.BrowserDecorator(); JS2.DECORATOR = JS2.DECORATOR || new JS2.BrowserDecorator();



JS2.Class.extend('JSML', function(KLASS, OO){ JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) { OO.addStaticMember("process",function (txt) {
return new KLASS(txt); return new KLASS(txt);
Expand Down Expand Up @@ -1688,7 +1682,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
return (out.length ? ' ' : '') + out.join(' '); return (out.length ? ' ' : '') + out.join(' ');
}); });
}); });

JS2.TEMPLATES = { jsml: JS2.JSML }; JS2.TEMPLATES = { jsml: JS2.JSML };


(function (undefined, JS2) { (function (undefined, JS2) {
Expand Down
4 changes: 1 addition & 3 deletions dist/browser/js2.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function mainFunction (arg) {


var JS2 = root.JS2 = mainFunction; var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2; var js2 = root.js2 = JS2;
js2.VERSION = "0.3.17"; js2.VERSION = "0.3.18";


JS2.ROOT = JS2; JS2.ROOT = JS2;


Expand Down Expand Up @@ -269,7 +269,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0; return this.length > 0;
}; };



JS2.Class.extend('JSML', function(KLASS, OO){ JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) { OO.addStaticMember("process",function (txt) {
return new KLASS(txt); return new KLASS(txt);
Expand Down Expand Up @@ -470,7 +469,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
}); });
}); });



JS2.TEMPLATES = { jsml: JS2.JSML }; JS2.TEMPLATES = { jsml: JS2.JSML };




Expand Down
6 changes: 2 additions & 4 deletions dist/gem/CHANGELOG
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,7 @@
0.3.19
* JSML: fixed empty space problem
* JSML: support for self-closing tags: area, base, basefont, br, hr, input, img, link, meta

0.3.18 0.3.18
* COMMAND: updaters should be using targetDir instead of outDir * COMMAND: updaters should be using targetDir instead of outDir
* JSML: fixed empty space problem
* JSML: support for self-closing tags: area, base, basefont, br, hr, input, img, link, meta


0.3.17 0.3.17
* CORE: Adding counter to foreach "foreach (var item:i in items) { }" * CORE: Adding counter to foreach "foreach (var item:i in items) { }"
Expand Down
2 changes: 1 addition & 1 deletion dist/gem/js2.gemspec
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
spec = Gem::Specification.new do |s| spec = Gem::Specification.new do |s|
s.name = 'js2' s.name = 'js2'
s.version = '0.3.17' s.version = '0.3.18'
s.summary = "Javascript Sugar" s.summary = "Javascript Sugar"
s.description = %{Javascript Sugar: A superset of the Javascript language to make development easier.} s.description = %{Javascript Sugar: A superset of the Javascript language to make development easier.}
s.files = Dir['bin/*'] + Dir['lib/**/*.rb'] + Dir['lib/**/*.js'] + [ 'CHANGELOG' ] s.files = Dir['bin/*'] + Dir['lib/**/*.rb'] + Dir['lib/**/*.js'] + [ 'CHANGELOG' ]
Expand Down
9 changes: 1 addition & 8 deletions dist/gem/lib/js2/js2.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function mainFunction (arg) {


var JS2 = root.JS2 = mainFunction; var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2; var js2 = root.js2 = JS2;
js2.VERSION = "0.3.17"; js2.VERSION = "0.3.18";


JS2.ROOT = JS2; JS2.ROOT = JS2;


Expand Down Expand Up @@ -1124,7 +1124,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0; return this.length > 0;
}; };



JS2.Class.extend('FileSystem', function(KLASS, OO){ JS2.Class.extend('FileSystem', function(KLASS, OO){
OO.addMember("initialize",function (adapter) { OO.addMember("initialize",function (adapter) {
this.adapter = adapter; this.adapter = adapter;
Expand Down Expand Up @@ -1234,7 +1233,6 @@ JS2.Class.extend('FileSystem', function(KLASS, OO){
}); });
}); });



JS2.Class.extend('Updater', function(KLASS, OO){ JS2.Class.extend('Updater', function(KLASS, OO){
OO.addMember("initialize",function (fs, inDir, outDir, recursive) { OO.addMember("initialize",function (fs, inDir, outDir, recursive) {
this.recursive = recursive; this.recursive = recursive;
Expand Down Expand Up @@ -1280,7 +1278,6 @@ JS2.Class.extend('Updater', function(KLASS, OO){
}); });
}); });



JS2.Class.extend('Config', function(KLASS, OO){ JS2.Class.extend('Config', function(KLASS, OO){
OO.addMember("CLI_REGEX",/^-(r|i|f|n|v|m)(=(\w+))?$/); OO.addMember("CLI_REGEX",/^-(r|i|f|n|v|m)(=(\w+))?$/);
OO.addMember("optsLookup",{ OO.addMember("optsLookup",{
Expand Down Expand Up @@ -1352,7 +1349,6 @@ JS2.Class.extend('Config', function(KLASS, OO){


}); });



JS2.Class.extend('Commander', function(KLASS, OO){ JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("BANNER","js2 <command> [options] <arguments>\n" + OO.addMember("BANNER","js2 <command> [options] <arguments>\n" +
"VERSION: " + JS2.VERSION + "\n" + "VERSION: " + JS2.VERSION + "\n" +
Expand Down Expand Up @@ -1439,7 +1435,6 @@ JS2.Class.extend('Commander', function(KLASS, OO){
}); });





JS2.Class.extend('BrowserDecorator', function(KLASS, OO){ JS2.Class.extend('BrowserDecorator', function(KLASS, OO){
OO.addMember("file",function (code) { OO.addMember("file",function (code) {
return code; return code;
Expand Down Expand Up @@ -1484,7 +1479,6 @@ JS2.Class.extend('RingoDecorator', function(KLASS, OO){


JS2.DECORATOR = JS2.DECORATOR || new JS2.BrowserDecorator(); JS2.DECORATOR = JS2.DECORATOR || new JS2.BrowserDecorator();



JS2.Class.extend('JSML', function(KLASS, OO){ JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) { OO.addStaticMember("process",function (txt) {
return new KLASS(txt); return new KLASS(txt);
Expand Down Expand Up @@ -1684,7 +1678,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
return (out.length ? ' ' : '') + out.join(' '); return (out.length ? ' ' : '') + out.join(' ');
}); });
}); });

JS2.TEMPLATES = { jsml: JS2.JSML }; JS2.TEMPLATES = { jsml: JS2.JSML };




Expand Down
6 changes: 2 additions & 4 deletions dist/npm/CHANGELOG
Original file line number Original file line Diff line number Diff line change
@@ -1,9 +1,7 @@
0.3.19
* JSML: fixed empty space problem
* JSML: support for self-closing tags: area, base, basefont, br, hr, input, img, link, meta

0.3.18 0.3.18
* COMMAND: updaters should be using targetDir instead of outDir * COMMAND: updaters should be using targetDir instead of outDir
* JSML: fixed empty space problem
* JSML: support for self-closing tags: area, base, basefont, br, hr, input, img, link, meta


0.3.17 0.3.17
* CORE: Adding counter to foreach "foreach (var item:i in items) { }" * CORE: Adding counter to foreach "foreach (var item:i in items) { }"
Expand Down
10 changes: 1 addition & 9 deletions dist/npm/lib/js2.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function mainFunction (arg) {


var JS2 = root.JS2 = mainFunction; var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2; var js2 = root.js2 = JS2;
js2.VERSION = "0.3.17"; js2.VERSION = "0.3.18";


JS2.ROOT = JS2; JS2.ROOT = JS2;


Expand Down Expand Up @@ -1124,7 +1124,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0; return this.length > 0;
}; };



JS2.Class.extend('FileSystem', function(KLASS, OO){ JS2.Class.extend('FileSystem', function(KLASS, OO){
OO.addMember("initialize",function (adapter) { OO.addMember("initialize",function (adapter) {
this.adapter = adapter; this.adapter = adapter;
Expand Down Expand Up @@ -1234,7 +1233,6 @@ JS2.Class.extend('FileSystem', function(KLASS, OO){
}); });
}); });



JS2.Class.extend('Updater', function(KLASS, OO){ JS2.Class.extend('Updater', function(KLASS, OO){
OO.addMember("initialize",function (fs, inDir, outDir, recursive) { OO.addMember("initialize",function (fs, inDir, outDir, recursive) {
this.recursive = recursive; this.recursive = recursive;
Expand Down Expand Up @@ -1280,7 +1278,6 @@ JS2.Class.extend('Updater', function(KLASS, OO){
}); });
}); });



JS2.Class.extend('Config', function(KLASS, OO){ JS2.Class.extend('Config', function(KLASS, OO){
OO.addMember("CLI_REGEX",/^-(r|i|f|n|v|m)(=(\w+))?$/); OO.addMember("CLI_REGEX",/^-(r|i|f|n|v|m)(=(\w+))?$/);
OO.addMember("optsLookup",{ OO.addMember("optsLookup",{
Expand Down Expand Up @@ -1352,7 +1349,6 @@ JS2.Class.extend('Config', function(KLASS, OO){


}); });



JS2.Class.extend('Commander', function(KLASS, OO){ JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("BANNER","js2 <command> [options] <arguments>\n" + OO.addMember("BANNER","js2 <command> [options] <arguments>\n" +
"VERSION: " + JS2.VERSION + "\n" + "VERSION: " + JS2.VERSION + "\n" +
Expand Down Expand Up @@ -1439,7 +1435,6 @@ JS2.Class.extend('Commander', function(KLASS, OO){
}); });





JS2.Class.extend('BrowserDecorator', function(KLASS, OO){ JS2.Class.extend('BrowserDecorator', function(KLASS, OO){
OO.addMember("file",function (code) { OO.addMember("file",function (code) {
return code; return code;
Expand Down Expand Up @@ -1484,7 +1479,6 @@ JS2.Class.extend('RingoDecorator', function(KLASS, OO){


JS2.DECORATOR = JS2.DECORATOR || new JS2.BrowserDecorator(); JS2.DECORATOR = JS2.DECORATOR || new JS2.BrowserDecorator();



JS2.Class.extend('JSML', function(KLASS, OO){ JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) { OO.addStaticMember("process",function (txt) {
return new KLASS(txt); return new KLASS(txt);
Expand Down Expand Up @@ -1684,7 +1678,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
return (out.length ? ' ' : '') + out.join(' '); return (out.length ? ' ' : '') + out.join(' ');
}); });
}); });

JS2.TEMPLATES = { jsml: JS2.JSML }; JS2.TEMPLATES = { jsml: JS2.JSML };




Expand Down Expand Up @@ -1739,7 +1732,6 @@ JS2.TEMPLATES = { jsml: JS2.JSML };
}); });
}); });



JS2.fs = new JS2.FileSystem(new JS2.NodeFileAdapter()); JS2.fs = new JS2.FileSystem(new JS2.NodeFileAdapter());


js2.DECORATOR = new JS2.NodeDecorator(); js2.DECORATOR = new JS2.NodeDecorator();
Expand Down
2 changes: 1 addition & 1 deletion dist/npm/package.json
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
{ "name" : "js2", { "name" : "js2",
"description" : "Javascript Sugar", "description" : "Javascript Sugar",
"version" : "0.3.17", "version" : "0.3.18",
"author" : "Jeff Su", "author" : "Jeff Su",
"repository" : { "type" : "git" , "url" : "git://github.com/jeffsu/js2.git" }, "repository" : { "type" : "git" , "url" : "git://github.com/jeffsu/js2.git" },
"bugs" : { "web" : "http://jeffsu.github.com/js2" }, "bugs" : { "web" : "http://jeffsu.github.com/js2" },
Expand Down
9 changes: 1 addition & 8 deletions flavors/browser-full.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function mainFunction (arg) {


var JS2 = root.JS2 = mainFunction; var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2; var js2 = root.js2 = JS2;
js2.VERSION = "0.3.17"; js2.VERSION = "0.3.18";


JS2.ROOT = JS2; JS2.ROOT = JS2;


Expand Down Expand Up @@ -1128,7 +1128,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0; return this.length > 0;
}; };



JS2.Class.extend('FileSystem', function(KLASS, OO){ JS2.Class.extend('FileSystem', function(KLASS, OO){
OO.addMember("initialize",function (adapter) { OO.addMember("initialize",function (adapter) {
this.adapter = adapter; this.adapter = adapter;
Expand Down Expand Up @@ -1238,7 +1237,6 @@ JS2.Class.extend('FileSystem', function(KLASS, OO){
}); });
}); });



JS2.Class.extend('Updater', function(KLASS, OO){ JS2.Class.extend('Updater', function(KLASS, OO){
OO.addMember("initialize",function (fs, inDir, outDir, recursive) { OO.addMember("initialize",function (fs, inDir, outDir, recursive) {
this.recursive = recursive; this.recursive = recursive;
Expand Down Expand Up @@ -1284,7 +1282,6 @@ JS2.Class.extend('Updater', function(KLASS, OO){
}); });
}); });



JS2.Class.extend('Config', function(KLASS, OO){ JS2.Class.extend('Config', function(KLASS, OO){
OO.addMember("CLI_REGEX",/^-(r|i|f|n|v|m)(=(\w+))?$/); OO.addMember("CLI_REGEX",/^-(r|i|f|n|v|m)(=(\w+))?$/);
OO.addMember("optsLookup",{ OO.addMember("optsLookup",{
Expand Down Expand Up @@ -1356,7 +1353,6 @@ JS2.Class.extend('Config', function(KLASS, OO){


}); });



JS2.Class.extend('Commander', function(KLASS, OO){ JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("BANNER","js2 <command> [options] <arguments>\n" + OO.addMember("BANNER","js2 <command> [options] <arguments>\n" +
"VERSION: " + JS2.VERSION + "\n" + "VERSION: " + JS2.VERSION + "\n" +
Expand Down Expand Up @@ -1443,7 +1439,6 @@ JS2.Class.extend('Commander', function(KLASS, OO){
}); });





JS2.Class.extend('BrowserDecorator', function(KLASS, OO){ JS2.Class.extend('BrowserDecorator', function(KLASS, OO){
OO.addMember("file",function (code) { OO.addMember("file",function (code) {
return code; return code;
Expand Down Expand Up @@ -1488,7 +1483,6 @@ JS2.Class.extend('RingoDecorator', function(KLASS, OO){


JS2.DECORATOR = JS2.DECORATOR || new JS2.BrowserDecorator(); JS2.DECORATOR = JS2.DECORATOR || new JS2.BrowserDecorator();



JS2.Class.extend('JSML', function(KLASS, OO){ JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) { OO.addStaticMember("process",function (txt) {
return new KLASS(txt); return new KLASS(txt);
Expand Down Expand Up @@ -1688,7 +1682,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
return (out.length ? ' ' : '') + out.join(' '); return (out.length ? ' ' : '') + out.join(' ');
}); });
}); });

JS2.TEMPLATES = { jsml: JS2.JSML }; JS2.TEMPLATES = { jsml: JS2.JSML };


(function (undefined, JS2) { (function (undefined, JS2) {
Expand Down
4 changes: 1 addition & 3 deletions flavors/browser.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function mainFunction (arg) {


var JS2 = root.JS2 = mainFunction; var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2; var js2 = root.js2 = JS2;
js2.VERSION = "0.3.17"; js2.VERSION = "0.3.18";


JS2.ROOT = JS2; JS2.ROOT = JS2;


Expand Down Expand Up @@ -269,7 +269,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0; return this.length > 0;
}; };



JS2.Class.extend('JSML', function(KLASS, OO){ JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) { OO.addStaticMember("process",function (txt) {
return new KLASS(txt); return new KLASS(txt);
Expand Down Expand Up @@ -470,7 +469,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
}); });
}); });



JS2.TEMPLATES = { jsml: JS2.JSML }; JS2.TEMPLATES = { jsml: JS2.JSML };




Expand Down
2 changes: 1 addition & 1 deletion flavors/js2.gemspec
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
spec = Gem::Specification.new do |s| spec = Gem::Specification.new do |s|
s.name = 'js2' s.name = 'js2'
s.version = '0.3.17' s.version = '0.3.18'
s.summary = "Javascript Sugar" s.summary = "Javascript Sugar"
s.description = %{Javascript Sugar: A superset of the Javascript language to make development easier.} s.description = %{Javascript Sugar: A superset of the Javascript language to make development easier.}
s.files = Dir['bin/*'] + Dir['lib/**/*.rb'] + Dir['lib/**/*.js'] + [ 'CHANGELOG' ] s.files = Dir['bin/*'] + Dir['lib/**/*.rb'] + Dir['lib/**/*.js'] + [ 'CHANGELOG' ]
Expand Down
Loading

0 comments on commit cefdf74

Please sign in to comment.