Skip to content

Commit 6c4b7d7

Browse files
committed
1e8864c fix(compiler): Allow templates to access variables that are declared afterwards.
1 parent b1205ab commit 6c4b7d7

778 files changed

Lines changed: 779 additions & 801 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

BUILD_INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Wed Apr 27 21:41:51 UTC 2016
2-
1ad2a02b111629c44be6027ffcbc70de440bb734
1+
Wed Apr 27 21:42:37 UTC 2016
2+
1e8864c4a5fe275ee085e23050230376f40e0285

alt_router.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

animate.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

animate/testing.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundles/angular2-all-testing.umd.dev.js

Lines changed: 1 addition & 3 deletions
Large diffs are not rendered by default.

bundles/angular2-all.umd.dev.js

Lines changed: 1 addition & 3 deletions
Large diffs are not rendered by default.

bundles/angular2-all.umd.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29901,13 +29901,11 @@ return /******/ (function(modules) { // webpackBootstrap
2990129901
return null;
2990229902
};
2990329903
AbstractEmitterVisitor.prototype.visitConditionalExpr = function (ast, ctx) {
29904-
ctx.print("(");
2990529904
ast.condition.visitExpression(this, ctx);
2990629905
ctx.print('? ');
2990729906
ast.trueCase.visitExpression(this, ctx);
2990829907
ctx.print(': ');
2990929908
ast.falseCase.visitExpression(this, ctx);
29910-
ctx.print(")");
2991129909
return null;
2991229910
};
2991329911
AbstractEmitterVisitor.prototype.visitNotExpr = function (ast, ctx) {

bundles/angular2-all.umd.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundles/angular2.dev.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19347,13 +19347,11 @@ System.register("angular2/src/compiler/output/abstract_emitter", ["angular2/src/
1934719347
return null;
1934819348
};
1934919349
AbstractEmitterVisitor.prototype.visitConditionalExpr = function(ast, ctx) {
19350-
ctx.print("(");
1935119350
ast.condition.visitExpression(this, ctx);
1935219351
ctx.print('? ');
1935319352
ast.trueCase.visitExpression(this, ctx);
1935419353
ctx.print(': ');
1935519354
ast.falseCase.visitExpression(this, ctx);
19356-
ctx.print(")");
1935719355
return null;
1935819356
};
1935919357
AbstractEmitterVisitor.prototype.visitNotExpr = function(ast, ctx) {

bundles/angular2.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19347,13 +19347,11 @@ System.register("angular2/src/compiler/output/abstract_emitter", ["angular2/src/
1934719347
return null;
1934819348
};
1934919349
AbstractEmitterVisitor.prototype.visitConditionalExpr = function(ast, ctx) {
19350-
ctx.print("(");
1935119350
ast.condition.visitExpression(this, ctx);
1935219351
ctx.print('? ');
1935319352
ast.trueCase.visitExpression(this, ctx);
1935419353
ctx.print(': ');
1935519354
ast.falseCase.visitExpression(this, ctx);
19356-
ctx.print(")");
1935719355
return null;
1935819356
};
1935919357
AbstractEmitterVisitor.prototype.visitNotExpr = function(ast, ctx) {

0 commit comments

Comments
 (0)