77ee27c59e
refactor(): use const and let instead of var
2016-11-12 16:40:17 -08:00
c3c0e2e2a2
refactor(compiler): add span
to TemplateBinding
( #12792 )
...
fix(compiler): corrected error location for implicit templates expressions
2016-11-10 13:15:09 -08:00
867494a060
fix(compiler): don't access view local variables nor pipes in host expressions ( #12396 )
...
Fixes #12004
Closes #12071
2016-10-20 15:24:58 -07:00
d641c36a45
fix(compiler): interpolation expressions report the correct offset ( #12125 )
2016-10-06 15:22:10 -07:00
b867764b0d
refactor(template): remove supporter deprecated var
/ #
( #11084 )
...
BREAKING CHANGES:
- `#` and `var` are not supported any more in expressions, use `let`,
- `var-<name>` could not be used any more on templates, use `let-<name>`,
- `var-<name>` could not be used any more to create a reference, use `ref-<name>`.
2016-08-25 15:21:33 -07:00
b4613ab2d2
fix(ExpressionParser): undefined is undefined (was null)
2016-08-05 09:45:13 -07:00
0ca05eee45
feat(ExpressionParser): add support for this
2016-08-05 09:45:13 -07:00
48f230a951
feat(I18nAst): introduce an intermediate AST
2016-07-29 13:40:58 -07:00
64fc4648b7
fix(testing): correctly import NgMatchers ( #10077 )
...
Some test cases incorrectly rely on the side effect of other test cases
importing `NgMatchers`. This commit fixes this by making `expect` in
`core/testing_internal` properly typed.
2016-07-22 09:20:51 -07:00
00aa7a76b6
chore(tests): enable lint, make it green. ( #10224 )
2016-07-21 17:12:00 -07:00
9af2d8b810
fix(testing): remove deprecated testing APIs ( #9923 )
...
See https://github.com/angular/angular/blob/master/CHANGELOG.md for
prior deprecation and how to update.
2016-07-11 16:04:32 -07:00
9a04fcd061
feat(compiler): Expression span information and error correction ( #9772 )
...
Added error correction so the parser always returns an AST
Added span information to the expression parser
Refactored the test to account for the difference in error reporting
Added tests for error corretion
Modified tests to validate the span information
2016-07-06 14:06:47 -07:00
ae75e3640a
chore(lint): Added license headers to most TypeScript files
...
Relates to #9380
2016-06-23 09:47:54 -07:00
e1e5c40ef7
fix(testing): remove the toThrowErrorWith
matcher (jasmine has toThrowError
)
...
BREAKING CHANGE:
Before:
expect(...).toThrowErrorWith(msg);
After:
expect(...).toThrowError(msg);
2016-06-23 08:58:52 -07:00
1b28cf71f5
feat(compiler): make interpolation symbols configurable (@Component
config) ( #9367 )
...
closes #9158
2016-06-20 09:52:41 -07:00
f39c9c9e75
style(lint): re-format modules/@angular
2016-06-09 17:00:15 -07:00
86fbd50c3d
refactor(TypeScript): Add noImplicitAny
...
We automatically insert explicit 'any's where needed. These need to be
addressed as in #9100 .
Fixes #4924
2016-06-08 16:20:50 -07:00
1a386a58c8
Revert "feat(change_detection): make INTERPOLATE_REGEXP customizable ( #7417 )"
...
This reverts commit c3fafa0651
.
The symbols should be configured at the component level and not be global to the compiler.
2016-06-01 17:53:45 -07:00
c3fafa0651
feat(change_detection): make INTERPOLATE_REGEXP customizable ( #7417 )
...
BREAKING CHANGES:
`Parser` constructor required new parameter `config: CompilerConfig` as second argument.
2016-05-26 13:08:39 -07:00
a66cdb469f
repackaging: all the repackaging changes squashed
2016-05-01 20:51:00 -07:00
505da6c0a8
repackaging: all the file moves
2016-05-01 20:51:00 -07:00