Skip to content

Commit b5ce387

Browse files
author
Robert Messerle
committed
9d10c09 Revert "feat(i18n): add support for custom placeholder names"
1 parent 1f1773d commit b5ce387

749 files changed

Lines changed: 828 additions & 997 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-
Thu Apr 14 22:03:58 UTC 2016
2-
45f09ba68603f338f434371cb4816cf5983a01af
1+
Thu Apr 14 22:22:49 UTC 2016
2+
9d10c09b79d67ec6ba31078fe9365612c0475baa

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: 4 additions & 8 deletions
Large diffs are not rendered by default.

bundles/angular2-all.umd.dev.js

Lines changed: 4 additions & 8 deletions
Large diffs are not rendered by default.

bundles/angular2-all.umd.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8877,7 +8877,6 @@ return /******/ (function(modules) { // webpackBootstrap
88778877
var _implicitReceiver = new ast_1.ImplicitReceiver();
88788878
// TODO(tbosch): Cannot make this const/final right now because of the transpiler...
88798879
var INTERPOLATION_REGEXP = /\{\{([\s\S]*?)\}\}/g;
8880-
var COMMENT_REGEX = /\/\//g;
88818880
var ParseException = (function (_super) {
88828881
__extends(ParseException, _super);
88838882
function ParseException(message, input, errLocation, ctxLocation) {
@@ -8901,7 +8900,7 @@ return /******/ (function(modules) { // webpackBootstrap
89018900
}
89028901
Parser.prototype.parseAction = function (input, location) {
89038902
this._checkNoInterpolation(input, location);
8904-
var tokens = this._lexer.tokenize(this._stripComments(input));
8903+
var tokens = this._lexer.tokenize(input);
89058904
var ast = new _ParseAST(input, location, tokens, this._reflector, true).parseChain();
89068905
return new ast_1.ASTWithSource(ast, input, location);
89078906
};
@@ -8924,7 +8923,7 @@ return /******/ (function(modules) { // webpackBootstrap
89248923
return quote;
89258924
}
89268925
this._checkNoInterpolation(input, location);
8927-
var tokens = this._lexer.tokenize(this._stripComments(input));
8926+
var tokens = this._lexer.tokenize(input);
89288927
return new _ParseAST(input, location, tokens, this._reflector, false).parseChain();
89298928
};
89308929
Parser.prototype._parseQuote = function (input, location) {
@@ -8949,7 +8948,7 @@ return /******/ (function(modules) { // webpackBootstrap
89498948
return null;
89508949
var expressions = [];
89518950
for (var i = 0; i < split.expressions.length; ++i) {
8952-
var tokens = this._lexer.tokenize(this._stripComments(split.expressions[i]));
8951+
var tokens = this._lexer.tokenize(split.expressions[i]);
89538952
var ast = new _ParseAST(input, location, tokens, this._reflector, false).parseChain();
89548953
expressions.push(ast);
89558954
}
@@ -8980,9 +8979,6 @@ return /******/ (function(modules) { // webpackBootstrap
89808979
Parser.prototype.wrapLiteralPrimitive = function (input, location) {
89818980
return new ast_1.ASTWithSource(new ast_1.LiteralPrimitive(input), input, location);
89828981
};
8983-
Parser.prototype._stripComments = function (input) {
8984-
return lang_1.StringWrapper.split(input, COMMENT_REGEX)[0].trim();
8985-
};
89868982
Parser.prototype._checkNoInterpolation = function (input, location) {
89878983
var parts = lang_1.StringWrapper.split(input, INTERPOLATION_REGEXP);
89888984
if (parts.length > 1) {

bundles/angular2-all.umd.min.js

Lines changed: 17 additions & 17 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: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4244,7 +4244,6 @@ System.register("angular2/src/core/change_detection/parser/parser", ["angular2/s
42444244
var ast_1 = require("angular2/src/core/change_detection/parser/ast");
42454245
var _implicitReceiver = new ast_1.ImplicitReceiver();
42464246
var INTERPOLATION_REGEXP = /\{\{([\s\S]*?)\}\}/g;
4247-
var COMMENT_REGEX = /\/\//g;
42484247
var ParseException = (function(_super) {
42494248
__extends(ParseException, _super);
42504249
function ParseException(message, input, errLocation, ctxLocation) {
@@ -4270,7 +4269,7 @@ System.register("angular2/src/core/change_detection/parser/parser", ["angular2/s
42704269
}
42714270
Parser.prototype.parseAction = function(input, location) {
42724271
this._checkNoInterpolation(input, location);
4273-
var tokens = this._lexer.tokenize(this._stripComments(input));
4272+
var tokens = this._lexer.tokenize(input);
42744273
var ast = new _ParseAST(input, location, tokens, this._reflector, true).parseChain();
42754274
return new ast_1.ASTWithSource(ast, input, location);
42764275
};
@@ -4291,7 +4290,7 @@ System.register("angular2/src/core/change_detection/parser/parser", ["angular2/s
42914290
return quote;
42924291
}
42934292
this._checkNoInterpolation(input, location);
4294-
var tokens = this._lexer.tokenize(this._stripComments(input));
4293+
var tokens = this._lexer.tokenize(input);
42954294
return new _ParseAST(input, location, tokens, this._reflector, false).parseChain();
42964295
};
42974296
Parser.prototype._parseQuote = function(input, location) {
@@ -4316,7 +4315,7 @@ System.register("angular2/src/core/change_detection/parser/parser", ["angular2/s
43164315
return null;
43174316
var expressions = [];
43184317
for (var i = 0; i < split.expressions.length; ++i) {
4319-
var tokens = this._lexer.tokenize(this._stripComments(split.expressions[i]));
4318+
var tokens = this._lexer.tokenize(split.expressions[i]);
43204319
var ast = new _ParseAST(input, location, tokens, this._reflector, false).parseChain();
43214320
expressions.push(ast);
43224321
}
@@ -4344,9 +4343,6 @@ System.register("angular2/src/core/change_detection/parser/parser", ["angular2/s
43444343
Parser.prototype.wrapLiteralPrimitive = function(input, location) {
43454344
return new ast_1.ASTWithSource(new ast_1.LiteralPrimitive(input), input, location);
43464345
};
4347-
Parser.prototype._stripComments = function(input) {
4348-
return lang_1.StringWrapper.split(input, COMMENT_REGEX)[0].trim();
4349-
};
43504346
Parser.prototype._checkNoInterpolation = function(input, location) {
43514347
var parts = lang_1.StringWrapper.split(input, INTERPOLATION_REGEXP);
43524348
if (parts.length > 1) {

bundles/angular2.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4244,7 +4244,6 @@ System.register("angular2/src/core/change_detection/parser/parser", ["angular2/s
42444244
var ast_1 = require("angular2/src/core/change_detection/parser/ast");
42454245
var _implicitReceiver = new ast_1.ImplicitReceiver();
42464246
var INTERPOLATION_REGEXP = /\{\{([\s\S]*?)\}\}/g;
4247-
var COMMENT_REGEX = /\/\//g;
42484247
var ParseException = (function(_super) {
42494248
__extends(ParseException, _super);
42504249
function ParseException(message, input, errLocation, ctxLocation) {
@@ -4270,7 +4269,7 @@ System.register("angular2/src/core/change_detection/parser/parser", ["angular2/s
42704269
}
42714270
Parser.prototype.parseAction = function(input, location) {
42724271
this._checkNoInterpolation(input, location);
4273-
var tokens = this._lexer.tokenize(this._stripComments(input));
4272+
var tokens = this._lexer.tokenize(input);
42744273
var ast = new _ParseAST(input, location, tokens, this._reflector, true).parseChain();
42754274
return new ast_1.ASTWithSource(ast, input, location);
42764275
};
@@ -4291,7 +4290,7 @@ System.register("angular2/src/core/change_detection/parser/parser", ["angular2/s
42914290
return quote;
42924291
}
42934292
this._checkNoInterpolation(input, location);
4294-
var tokens = this._lexer.tokenize(this._stripComments(input));
4293+
var tokens = this._lexer.tokenize(input);
42954294
return new _ParseAST(input, location, tokens, this._reflector, false).parseChain();
42964295
};
42974296
Parser.prototype._parseQuote = function(input, location) {
@@ -4316,7 +4315,7 @@ System.register("angular2/src/core/change_detection/parser/parser", ["angular2/s
43164315
return null;
43174316
var expressions = [];
43184317
for (var i = 0; i < split.expressions.length; ++i) {
4319-
var tokens = this._lexer.tokenize(this._stripComments(split.expressions[i]));
4318+
var tokens = this._lexer.tokenize(split.expressions[i]);
43204319
var ast = new _ParseAST(input, location, tokens, this._reflector, false).parseChain();
43214320
expressions.push(ast);
43224321
}
@@ -4344,9 +4343,6 @@ System.register("angular2/src/core/change_detection/parser/parser", ["angular2/s
43444343
Parser.prototype.wrapLiteralPrimitive = function(input, location) {
43454344
return new ast_1.ASTWithSource(new ast_1.LiteralPrimitive(input), input, location);
43464345
};
4347-
Parser.prototype._stripComments = function(input) {
4348-
return lang_1.StringWrapper.split(input, COMMENT_REGEX)[0].trim();
4349-
};
43504346
Parser.prototype._checkNoInterpolation = function(input, location) {
43514347
var parts = lang_1.StringWrapper.split(input, INTERPOLATION_REGEXP);
43524348
if (parts.length > 1) {

bundles/angular2.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.

0 commit comments

Comments
 (0)