Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'foreach-break'

  • Loading branch information...
commit 9fc0c4ac569a15c0760af1a6d7aeaa69e5e358d7 2 parents a243386 + dd6f3fc
@JeffreyZhao authored
View
9 bin/dev/wind-all-0.7.2.js → bin/dev/wind-all-0.7.3.js
@@ -309,7 +309,7 @@
})();
/***********************************************************************
- wind-compiler-0.7.1.js
+ wind-compiler-0.7.2.js
***********************************************************************/
(function () {
@@ -3024,8 +3024,13 @@
this._both(" in ")._visitRaw(ast[3])._both(") ");
+ var currInLoop = this._pos.inLoop;
+ this._pos.inLoop = true;
+
var body = ast[4];
this._visitRawBody(body);
+
+ this._pos.inLoop = currInLoop;
},
"block": function (ast) {
@@ -3295,7 +3300,7 @@
var defineModule = function () {
Wind.define({
name: "compiler",
- version: "0.7.1",
+ version: "0.7.2",
require: isCommonJS && require,
dependencies: { core: "~0.7.0" },
init: function () {
View
7 bin/dev/wind-compiler-0.7.1.js → bin/dev/wind-compiler-0.7.2.js
@@ -2710,8 +2710,13 @@
this._both(" in ")._visitRaw(ast[3])._both(") ");
+ var currInLoop = this._pos.inLoop;
+ this._pos.inLoop = true;
+
var body = ast[4];
this._visitRawBody(body);
+
+ this._pos.inLoop = currInLoop;
},
"block": function (ast) {
@@ -2981,7 +2986,7 @@
var defineModule = function () {
Wind.define({
name: "compiler",
- version: "0.7.1",
+ version: "0.7.2",
require: isCommonJS && require,
dependencies: { core: "~0.7.0" },
init: function () {
View
2  bin/npm/wind/package.json
@@ -6,7 +6,7 @@
"email": "jeffz@live.com"
},
"name": "wind",
- "version": "0.7.2",
+ "version": "0.7.3",
"main": "wind.js",
"description": "Wind.js is an advanced library which enable us to control flow with plain JavaScript for asynchronous programming (and more) without additional pre-compiling steps."
}
View
7 bin/npm/wind/wind-compiler.js
@@ -2710,8 +2710,13 @@
this._both(" in ")._visitRaw(ast[3])._both(") ");
+ var currInLoop = this._pos.inLoop;
+ this._pos.inLoop = true;
+
var body = ast[4];
this._visitRawBody(body);
+
+ this._pos.inLoop = currInLoop;
},
"block": function (ast) {
@@ -2981,7 +2986,7 @@
var defineModule = function () {
Wind.define({
name: "compiler",
- version: "0.7.1",
+ version: "0.7.2",
require: isCommonJS && require,
dependencies: { core: "~0.7.0" },
init: function () {
View
7 src/wind-compiler.js
@@ -2710,8 +2710,13 @@
this._both(" in ")._visitRaw(ast[3])._both(") ");
+ var currInLoop = this._pos.inLoop;
+ this._pos.inLoop = true;
+
var body = ast[4];
this._visitRawBody(body);
+
+ this._pos.inLoop = currInLoop;
},
"block": function (ast) {
@@ -2981,7 +2986,7 @@
var defineModule = function () {
Wind.define({
name: "compiler",
- version: "0.7.1",
+ version: "0.7.2",
require: isCommonJS && require,
dependencies: { core: "~0.7.0" },
init: function () {
Please sign in to comment.
Something went wrong with that request. Please try again.