Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

0.3.18

  • Loading branch information...
commit cefdf74fd066df02c84a3aa78349af2879932be0 1 parent 48a04bd
@jeffsu authored
View
2  VERSION
@@ -1 +1 @@
-0.3.17
+0.3.18
View
9 dist/browser/js2-full.js
@@ -18,7 +18,7 @@ function mainFunction (arg) {
var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2;
- js2.VERSION = "0.3.17";
+ js2.VERSION = "0.3.18";
JS2.ROOT = JS2;
@@ -1128,7 +1128,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0;
};
-
JS2.Class.extend('FileSystem', function(KLASS, OO){
OO.addMember("initialize",function (adapter) {
this.adapter = adapter;
@@ -1238,7 +1237,6 @@ JS2.Class.extend('FileSystem', function(KLASS, OO){
});
});
-
JS2.Class.extend('Updater', function(KLASS, OO){
OO.addMember("initialize",function (fs, inDir, outDir, recursive) {
this.recursive = recursive;
@@ -1284,7 +1282,6 @@ JS2.Class.extend('Updater', function(KLASS, OO){
});
});
-
JS2.Class.extend('Config', function(KLASS, OO){
OO.addMember("CLI_REGEX",/^-(r|i|f|n|v|m)(=(\w+))?$/);
OO.addMember("optsLookup",{
@@ -1356,7 +1353,6 @@ JS2.Class.extend('Config', function(KLASS, OO){
});
-
JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("BANNER","js2 <command> [options] <arguments>\n" +
"VERSION: " + JS2.VERSION + "\n" +
@@ -1443,7 +1439,6 @@ JS2.Class.extend('Commander', function(KLASS, OO){
});
-
JS2.Class.extend('BrowserDecorator', function(KLASS, OO){
OO.addMember("file",function (code) {
return code;
@@ -1488,7 +1483,6 @@ JS2.Class.extend('RingoDecorator', function(KLASS, OO){
JS2.DECORATOR = JS2.DECORATOR || new JS2.BrowserDecorator();
-
JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) {
return new KLASS(txt);
@@ -1688,7 +1682,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
return (out.length ? ' ' : '') + out.join(' ');
});
});
-
JS2.TEMPLATES = { jsml: JS2.JSML };
(function (undefined, JS2) {
View
4 dist/browser/js2.js
@@ -19,7 +19,7 @@ function mainFunction (arg) {
var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2;
- js2.VERSION = "0.3.17";
+ js2.VERSION = "0.3.18";
JS2.ROOT = JS2;
@@ -269,7 +269,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0;
};
-
JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) {
return new KLASS(txt);
@@ -470,7 +469,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
});
});
-
JS2.TEMPLATES = { jsml: JS2.JSML };
View
6 dist/gem/CHANGELOG
@@ -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
* 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
* CORE: Adding counter to foreach "foreach (var item:i in items) { }"
View
2  dist/gem/js2.gemspec
@@ -1,6 +1,6 @@
spec = Gem::Specification.new do |s|
s.name = 'js2'
- s.version = '0.3.17'
+ s.version = '0.3.18'
s.summary = "Javascript Sugar"
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' ]
View
9 dist/gem/lib/js2/js2.js
@@ -14,7 +14,7 @@ function mainFunction (arg) {
var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2;
- js2.VERSION = "0.3.17";
+ js2.VERSION = "0.3.18";
JS2.ROOT = JS2;
@@ -1124,7 +1124,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0;
};
-
JS2.Class.extend('FileSystem', function(KLASS, OO){
OO.addMember("initialize",function (adapter) {
this.adapter = adapter;
@@ -1234,7 +1233,6 @@ JS2.Class.extend('FileSystem', function(KLASS, OO){
});
});
-
JS2.Class.extend('Updater', function(KLASS, OO){
OO.addMember("initialize",function (fs, inDir, outDir, recursive) {
this.recursive = recursive;
@@ -1280,7 +1278,6 @@ JS2.Class.extend('Updater', function(KLASS, OO){
});
});
-
JS2.Class.extend('Config', function(KLASS, OO){
OO.addMember("CLI_REGEX",/^-(r|i|f|n|v|m)(=(\w+))?$/);
OO.addMember("optsLookup",{
@@ -1352,7 +1349,6 @@ JS2.Class.extend('Config', function(KLASS, OO){
});
-
JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("BANNER","js2 <command> [options] <arguments>\n" +
"VERSION: " + JS2.VERSION + "\n" +
@@ -1439,7 +1435,6 @@ JS2.Class.extend('Commander', function(KLASS, OO){
});
-
JS2.Class.extend('BrowserDecorator', function(KLASS, OO){
OO.addMember("file",function (code) {
return code;
@@ -1484,7 +1479,6 @@ JS2.Class.extend('RingoDecorator', function(KLASS, OO){
JS2.DECORATOR = JS2.DECORATOR || new JS2.BrowserDecorator();
-
JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) {
return new KLASS(txt);
@@ -1684,7 +1678,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
return (out.length ? ' ' : '') + out.join(' ');
});
});
-
JS2.TEMPLATES = { jsml: JS2.JSML };
View
6 dist/npm/CHANGELOG
@@ -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
* 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
* CORE: Adding counter to foreach "foreach (var item:i in items) { }"
View
10 dist/npm/lib/js2.js
@@ -14,7 +14,7 @@ function mainFunction (arg) {
var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2;
- js2.VERSION = "0.3.17";
+ js2.VERSION = "0.3.18";
JS2.ROOT = JS2;
@@ -1124,7 +1124,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0;
};
-
JS2.Class.extend('FileSystem', function(KLASS, OO){
OO.addMember("initialize",function (adapter) {
this.adapter = adapter;
@@ -1234,7 +1233,6 @@ JS2.Class.extend('FileSystem', function(KLASS, OO){
});
});
-
JS2.Class.extend('Updater', function(KLASS, OO){
OO.addMember("initialize",function (fs, inDir, outDir, recursive) {
this.recursive = recursive;
@@ -1280,7 +1278,6 @@ JS2.Class.extend('Updater', function(KLASS, OO){
});
});
-
JS2.Class.extend('Config', function(KLASS, OO){
OO.addMember("CLI_REGEX",/^-(r|i|f|n|v|m)(=(\w+))?$/);
OO.addMember("optsLookup",{
@@ -1352,7 +1349,6 @@ JS2.Class.extend('Config', function(KLASS, OO){
});
-
JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("BANNER","js2 <command> [options] <arguments>\n" +
"VERSION: " + JS2.VERSION + "\n" +
@@ -1439,7 +1435,6 @@ JS2.Class.extend('Commander', function(KLASS, OO){
});
-
JS2.Class.extend('BrowserDecorator', function(KLASS, OO){
OO.addMember("file",function (code) {
return code;
@@ -1484,7 +1479,6 @@ JS2.Class.extend('RingoDecorator', function(KLASS, OO){
JS2.DECORATOR = JS2.DECORATOR || new JS2.BrowserDecorator();
-
JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) {
return new KLASS(txt);
@@ -1684,7 +1678,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
return (out.length ? ' ' : '') + out.join(' ');
});
});
-
JS2.TEMPLATES = { jsml: JS2.JSML };
@@ -1739,7 +1732,6 @@ JS2.TEMPLATES = { jsml: JS2.JSML };
});
});
-
JS2.fs = new JS2.FileSystem(new JS2.NodeFileAdapter());
js2.DECORATOR = new JS2.NodeDecorator();
View
2  dist/npm/package.json
@@ -1,6 +1,6 @@
{ "name" : "js2",
"description" : "Javascript Sugar",
- "version" : "0.3.17",
+ "version" : "0.3.18",
"author" : "Jeff Su",
"repository" : { "type" : "git" , "url" : "git://github.com/jeffsu/js2.git" },
"bugs" : { "web" : "http://jeffsu.github.com/js2" },
View
9 flavors/browser-full.js
@@ -18,7 +18,7 @@ function mainFunction (arg) {
var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2;
- js2.VERSION = "0.3.17";
+ js2.VERSION = "0.3.18";
JS2.ROOT = JS2;
@@ -1128,7 +1128,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0;
};
-
JS2.Class.extend('FileSystem', function(KLASS, OO){
OO.addMember("initialize",function (adapter) {
this.adapter = adapter;
@@ -1238,7 +1237,6 @@ JS2.Class.extend('FileSystem', function(KLASS, OO){
});
});
-
JS2.Class.extend('Updater', function(KLASS, OO){
OO.addMember("initialize",function (fs, inDir, outDir, recursive) {
this.recursive = recursive;
@@ -1284,7 +1282,6 @@ JS2.Class.extend('Updater', function(KLASS, OO){
});
});
-
JS2.Class.extend('Config', function(KLASS, OO){
OO.addMember("CLI_REGEX",/^-(r|i|f|n|v|m)(=(\w+))?$/);
OO.addMember("optsLookup",{
@@ -1356,7 +1353,6 @@ JS2.Class.extend('Config', function(KLASS, OO){
});
-
JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("BANNER","js2 <command> [options] <arguments>\n" +
"VERSION: " + JS2.VERSION + "\n" +
@@ -1443,7 +1439,6 @@ JS2.Class.extend('Commander', function(KLASS, OO){
});
-
JS2.Class.extend('BrowserDecorator', function(KLASS, OO){
OO.addMember("file",function (code) {
return code;
@@ -1488,7 +1483,6 @@ JS2.Class.extend('RingoDecorator', function(KLASS, OO){
JS2.DECORATOR = JS2.DECORATOR || new JS2.BrowserDecorator();
-
JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) {
return new KLASS(txt);
@@ -1688,7 +1682,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
return (out.length ? ' ' : '') + out.join(' ');
});
});
-
JS2.TEMPLATES = { jsml: JS2.JSML };
(function (undefined, JS2) {
View
4 flavors/browser.js
@@ -19,7 +19,7 @@ function mainFunction (arg) {
var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2;
- js2.VERSION = "0.3.17";
+ js2.VERSION = "0.3.18";
JS2.ROOT = JS2;
@@ -269,7 +269,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0;
};
-
JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) {
return new KLASS(txt);
@@ -470,7 +469,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
});
});
-
JS2.TEMPLATES = { jsml: JS2.JSML };
View
2  flavors/js2.gemspec
@@ -1,6 +1,6 @@
spec = Gem::Specification.new do |s|
s.name = 'js2'
- s.version = '0.3.17'
+ s.version = '0.3.18'
s.summary = "Javascript Sugar"
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' ]
View
10 flavors/node.js
@@ -14,7 +14,7 @@ function mainFunction (arg) {
var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2;
- js2.VERSION = "0.3.17";
+ js2.VERSION = "0.3.18";
JS2.ROOT = JS2;
@@ -1124,7 +1124,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0;
};
-
JS2.Class.extend('FileSystem', function(KLASS, OO){
OO.addMember("initialize",function (adapter) {
this.adapter = adapter;
@@ -1234,7 +1233,6 @@ JS2.Class.extend('FileSystem', function(KLASS, OO){
});
});
-
JS2.Class.extend('Updater', function(KLASS, OO){
OO.addMember("initialize",function (fs, inDir, outDir, recursive) {
this.recursive = recursive;
@@ -1280,7 +1278,6 @@ JS2.Class.extend('Updater', function(KLASS, OO){
});
});
-
JS2.Class.extend('Config', function(KLASS, OO){
OO.addMember("CLI_REGEX",/^-(r|i|f|n|v|m)(=(\w+))?$/);
OO.addMember("optsLookup",{
@@ -1352,7 +1349,6 @@ JS2.Class.extend('Config', function(KLASS, OO){
});
-
JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("BANNER","js2 <command> [options] <arguments>\n" +
"VERSION: " + JS2.VERSION + "\n" +
@@ -1439,7 +1435,6 @@ JS2.Class.extend('Commander', function(KLASS, OO){
});
-
JS2.Class.extend('BrowserDecorator', function(KLASS, OO){
OO.addMember("file",function (code) {
return code;
@@ -1484,7 +1479,6 @@ JS2.Class.extend('RingoDecorator', function(KLASS, OO){
JS2.DECORATOR = JS2.DECORATOR || new JS2.BrowserDecorator();
-
JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) {
return new KLASS(txt);
@@ -1684,7 +1678,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
return (out.length ? ' ' : '') + out.join(' ');
});
});
-
JS2.TEMPLATES = { jsml: JS2.JSML };
@@ -1739,7 +1732,6 @@ JS2.TEMPLATES = { jsml: JS2.JSML };
});
});
-
JS2.fs = new JS2.FileSystem(new JS2.NodeFileAdapter());
js2.DECORATOR = new JS2.NodeDecorator();
View
2  flavors/node.package.json
@@ -1,6 +1,6 @@
{ "name" : "js2",
"description" : "Javascript Sugar",
- "version" : "0.3.17",
+ "version" : "0.3.18",
"author" : "Jeff Su",
"repository" : { "type" : "git" , "url" : "git://github.com/jeffsu/js2.git" },
"bugs" : { "web" : "http://jeffsu.github.com/js2" },
View
10 flavors/ringo-full.js
@@ -16,7 +16,7 @@ function mainFunction (arg) {
var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2;
- js2.VERSION = "0.3.17";
+ js2.VERSION = "0.3.18";
JS2.ROOT = JS2;
@@ -1126,7 +1126,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0;
};
-
JS2.Class.extend('FileSystem', function(KLASS, OO){
OO.addMember("initialize",function (adapter) {
this.adapter = adapter;
@@ -1236,7 +1235,6 @@ JS2.Class.extend('FileSystem', function(KLASS, OO){
});
});
-
JS2.Class.extend('Updater', function(KLASS, OO){
OO.addMember("initialize",function (fs, inDir, outDir, recursive) {
this.recursive = recursive;
@@ -1282,7 +1280,6 @@ JS2.Class.extend('Updater', function(KLASS, OO){
});
});
-
JS2.Class.extend('Config', function(KLASS, OO){
OO.addMember("CLI_REGEX",/^-(r|i|f|n|v|m)(=(\w+))?$/);
OO.addMember("optsLookup",{
@@ -1354,7 +1351,6 @@ JS2.Class.extend('Config', function(KLASS, OO){
});
-
JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("BANNER","js2 <command> [options] <arguments>\n" +
"VERSION: " + JS2.VERSION + "\n" +
@@ -1441,7 +1437,6 @@ JS2.Class.extend('Commander', function(KLASS, OO){
});
-
JS2.Class.extend('BrowserDecorator', function(KLASS, OO){
OO.addMember("file",function (code) {
return code;
@@ -1486,7 +1481,6 @@ JS2.Class.extend('RingoDecorator', function(KLASS, OO){
JS2.DECORATOR = JS2.DECORATOR || new JS2.BrowserDecorator();
-
JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) {
return new KLASS(txt);
@@ -1686,7 +1680,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
return (out.length ? ' ' : '') + out.join(' ');
});
});
-
JS2.TEMPLATES = { jsml: JS2.JSML };
@@ -1742,7 +1735,6 @@ JS2.TEMPLATES = { jsml: JS2.JSML };
});
});
-
JS2.fs = new FileSystem(new RingoFileAdapter());
JS2.DECORATOR = new JS2.RingoDecorator();
View
4 flavors/ringo.js
@@ -18,7 +18,7 @@ function mainFunction (arg) {
var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2;
js2.ROOT = JS2;
- js2.VERSION = "0.3.17";
+ js2.VERSION = "0.3.18";
// CLASS HELPERS
@@ -266,7 +266,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0;
};
-
JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) {
return new KLASS(txt);
@@ -467,7 +466,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
});
});
-
JS2.TEMPLATES = { jsml: JS2.JSML };
View
2  flavors/ringo.package.json
@@ -1,6 +1,6 @@
{
"name": "js2-ringo",
- "version": "0.3.17",
+ "version": "0.3.18",
"description": "Javascript Sugar",
"keywords": ["rhino", "ringo", "js2", "javascript", "object oriented programming" ],
"author": "Jeff Su (http://jeffsu.com/) <me@jeffsu.com>",
View
9 flavors/ruby.js
@@ -14,7 +14,7 @@ function mainFunction (arg) {
var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2;
- js2.VERSION = "0.3.17";
+ js2.VERSION = "0.3.18";
JS2.ROOT = JS2;
@@ -1124,7 +1124,6 @@ JS2.Array.prototype.any = function() {
return this.length > 0;
};
-
JS2.Class.extend('FileSystem', function(KLASS, OO){
OO.addMember("initialize",function (adapter) {
this.adapter = adapter;
@@ -1234,7 +1233,6 @@ JS2.Class.extend('FileSystem', function(KLASS, OO){
});
});
-
JS2.Class.extend('Updater', function(KLASS, OO){
OO.addMember("initialize",function (fs, inDir, outDir, recursive) {
this.recursive = recursive;
@@ -1280,7 +1278,6 @@ JS2.Class.extend('Updater', function(KLASS, OO){
});
});
-
JS2.Class.extend('Config', function(KLASS, OO){
OO.addMember("CLI_REGEX",/^-(r|i|f|n|v|m)(=(\w+))?$/);
OO.addMember("optsLookup",{
@@ -1352,7 +1349,6 @@ JS2.Class.extend('Config', function(KLASS, OO){
});
-
JS2.Class.extend('Commander', function(KLASS, OO){
OO.addMember("BANNER","js2 <command> [options] <arguments>\n" +
"VERSION: " + JS2.VERSION + "\n" +
@@ -1439,7 +1435,6 @@ JS2.Class.extend('Commander', function(KLASS, OO){
});
-
JS2.Class.extend('BrowserDecorator', function(KLASS, OO){
OO.addMember("file",function (code) {
return code;
@@ -1484,7 +1479,6 @@ JS2.Class.extend('RingoDecorator', function(KLASS, OO){
JS2.DECORATOR = JS2.DECORATOR || new JS2.BrowserDecorator();
-
JS2.Class.extend('JSML', function(KLASS, OO){
OO.addStaticMember("process",function (txt) {
return new KLASS(txt);
@@ -1684,7 +1678,6 @@ JS2.Class.extend('JSMLElement', function(KLASS, OO){
return (out.length ? ' ' : '') + out.join(' ');
});
});
-
JS2.TEMPLATES = { jsml: JS2.JSML };

0 comments on commit cefdf74

Please sign in to comment.
Something went wrong with that request. Please try again.