Permalink
Browse files

new dist

  • Loading branch information...
1 parent a2f5720 commit 2efe8283e5dcf93dbd7bef98ec196d59660d6279 @jeffsu committed Apr 5, 2011
View
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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);
};
});
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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);
};
});

0 comments on commit 2efe828

Please sign in to comment.