Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

new dist

  • Loading branch information...
commit 2efe8283e5dcf93dbd7bef98ec196d59660d6279 1 parent a2f5720
@jeffsu authored
View
7 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.13";
+ js2.VERSION = "0.3.14";
JS2.ROOT = JS2;
@@ -1507,8 +1507,9 @@ JS2.Class.extend('JSML', function(KLASS, OO){
var toEval = 'function process() { var out = [];\n' + this.flatten().join('') + '\n return out.join("");\n}';
eval(toEval);
- this.result = function(hash) {
- return process.call(hash);
+ this.result = function(bound) {
+ bound = bound || {};
+ return process.call(bound);
};
});
View
2  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.13";
+ js2.VERSION = "0.3.14";
JS2.ROOT = JS2;
View
5 dist/gem/CHANGELOG
@@ -1,3 +1,6 @@
+0.3.14
+ * JSML: added plain content children
+
0.3.13
* fixed problem that doesn't allow toString methods
* fixed string sanitizer problem with double quotes
@@ -22,7 +25,7 @@
* fixed regex/divide issue
0.3.8
- * fied "render"
+ * fixed "render"
* fixed comment block bug
* using target-dir instead of out-dir
View
2  dist/gem/js2.gemspec
@@ -1,6 +1,6 @@
spec = Gem::Specification.new do |s|
s.name = 'js2'
- s.version = '0.3.13'
+ s.version = '0.3.14'
s.summary = "Javascript Syntactic Sugar"
s.description = %{A superset of the Javascript language to make development easier.}
s.files = Dir['bin/*'] + Dir['lib/**/*.rb'] + Dir['lib/**/*.js'] + [ 'CHANGELOG' ]
View
7 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.13";
+ js2.VERSION = "0.3.14";
JS2.ROOT = JS2;
@@ -1503,8 +1503,9 @@ JS2.Class.extend('JSML', function(KLASS, OO){
var toEval = 'function process() { var out = [];\n' + this.flatten().join('') + '\n return out.join("");\n}';
eval(toEval);
- this.result = function(hash) {
- return process.call(hash);
+ this.result = function(bound) {
+ bound = bound || {};
+ return process.call(bound);
};
});
View
5 dist/npm/CHANGELOG
@@ -1,3 +1,6 @@
+0.3.14
+ * JSML: added plain content children
+
0.3.13
* fixed problem that doesn't allow toString methods
* fixed string sanitizer problem with double quotes
@@ -22,7 +25,7 @@
* fixed regex/divide issue
0.3.8
- * fied "render"
+ * fixed "render"
* fixed comment block bug
* using target-dir instead of out-dir
View
7 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.13";
+ js2.VERSION = "0.3.14";
JS2.ROOT = JS2;
@@ -1503,8 +1503,9 @@ JS2.Class.extend('JSML', function(KLASS, OO){
var toEval = 'function process() { var out = [];\n' + this.flatten().join('') + '\n return out.join("");\n}';
eval(toEval);
- this.result = function(hash) {
- return process.call(hash);
+ this.result = function(bound) {
+ bound = bound || {};
+ return process.call(bound);
};
});
View
2  dist/npm/package.json
@@ -1,6 +1,6 @@
{ "name" : "js2",
"description" : "Javascript Syntactic Sugar",
- "version" : "0.3.13",
+ "version" : "0.3.14",
"author" : "Jeff Su",
"repository" : { "type" : "git" , "url" : "git://github.com/jeffsu/js2.git" },
"bugs" : { "web" : "http://github.com/jeffsu/js2/issues" },
View
7 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.13";
+ js2.VERSION = "0.3.14";
JS2.ROOT = JS2;
@@ -1507,8 +1507,9 @@ JS2.Class.extend('JSML', function(KLASS, OO){
var toEval = 'function process() { var out = [];\n' + this.flatten().join('') + '\n return out.join("");\n}';
eval(toEval);
- this.result = function(hash) {
- return process.call(hash);
+ this.result = function(bound) {
+ bound = bound || {};
+ return process.call(bound);
};
});
View
2  flavors/browser.js
@@ -19,7 +19,7 @@ function mainFunction (arg) {
var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2;
- js2.VERSION = "0.3.13";
+ js2.VERSION = "0.3.14";
JS2.ROOT = JS2;
View
2  flavors/js2.gemspec
@@ -1,6 +1,6 @@
spec = Gem::Specification.new do |s|
s.name = 'js2'
- s.version = '0.3.13'
+ s.version = '0.3.14'
s.summary = "Javascript Syntactic Sugar"
s.description = %{A superset of the Javascript language to make development easier.}
s.files = Dir['bin/*'] + Dir['lib/**/*.rb'] + Dir['lib/**/*.js'] + [ 'CHANGELOG' ]
View
7 flavors/node.js
@@ -14,7 +14,7 @@ function mainFunction (arg) {
var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2;
- js2.VERSION = "0.3.13";
+ js2.VERSION = "0.3.14";
JS2.ROOT = JS2;
@@ -1503,8 +1503,9 @@ JS2.Class.extend('JSML', function(KLASS, OO){
var toEval = 'function process() { var out = [];\n' + this.flatten().join('') + '\n return out.join("");\n}';
eval(toEval);
- this.result = function(hash) {
- return process.call(hash);
+ this.result = function(bound) {
+ bound = bound || {};
+ return process.call(bound);
};
});
View
2  flavors/node.package.json
@@ -1,6 +1,6 @@
{ "name" : "js2",
"description" : "Javascript Syntactic Sugar",
- "version" : "0.3.13",
+ "version" : "0.3.14",
"author" : "Jeff Su",
"repository" : { "type" : "git" , "url" : "git://github.com/jeffsu/js2.git" },
"bugs" : { "web" : "http://github.com/jeffsu/js2/issues" },
View
7 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.13";
+ js2.VERSION = "0.3.14";
JS2.ROOT = JS2;
@@ -1505,8 +1505,9 @@ JS2.Class.extend('JSML', function(KLASS, OO){
var toEval = 'function process() { var out = [];\n' + this.flatten().join('') + '\n return out.join("");\n}';
eval(toEval);
- this.result = function(hash) {
- return process.call(hash);
+ this.result = function(bound) {
+ bound = bound || {};
+ return process.call(bound);
};
});
View
2  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.13";
+ js2.VERSION = "0.3.14";
// CLASS HELPERS
View
2  flavors/ringo.package.json
@@ -1,6 +1,6 @@
{
"name": "js2-ringo",
- "version": "0.3.13",
+ "version": "0.3.14",
"description": "Javascript Syntactic Sugar",
"keywords": ["rhino", "ringo", "js2", "object oriented programming" ],
"author": "Jeff Su (http://jeffsu.com/) <me@jeffsu.com>",
View
7 flavors/ruby.js
@@ -14,7 +14,7 @@ function mainFunction (arg) {
var JS2 = root.JS2 = mainFunction;
var js2 = root.js2 = JS2;
- js2.VERSION = "0.3.13";
+ js2.VERSION = "0.3.14";
JS2.ROOT = JS2;
@@ -1503,8 +1503,9 @@ JS2.Class.extend('JSML', function(KLASS, OO){
var toEval = 'function process() { var out = [];\n' + this.flatten().join('') + '\n return out.join("");\n}';
eval(toEval);
- this.result = function(hash) {
- return process.call(hash);
+ this.result = function(bound) {
+ bound = bound || {};
+ return process.call(bound);
};
});
Please sign in to comment.
Something went wrong with that request. Please try again.