vsavkin
3f4628c0b0
feat(core): extract platforms out of core
...
Currently, core depends on the browser, which means that other platforms (e.g., NativeScript or webworker) cannot use the bootstrapping logic core provides.
This PR extract makes bootstrapping logic in core completely platform-independent. The browser-specific code was moved to "angular2/platforms/browser".
BREAKING CHANGE
A few private helpers (e.g., platformCommon or applicationCommon) were removed or replaced with other helpers. Look at PLATFORM_COMMON_PROVIDERS, APPLICATION_COMMON_PROVIDERS, BROWSER_PROVIDERS, BROWSER_APP_PROVIDERS to see if they export the providers you need.
Closes #5219
2015-11-12 16:57:03 +00:00
ericmartinezr
4e02e00373
feat(NgClass) allow multiple classes per expression
...
Closes #5225
2015-11-12 14:54:02 +00:00
Peter Bacon Darwin
9b3b721f08
docs(*): more cheatsheet docs
2015-11-11 16:32:25 -08:00
Peter Bacon Darwin
756727b930
docs(*): more cheatsheet docs
2015-11-11 16:32:25 -08:00
Peter Bacon Darwin
533b722c66
docs(*): move cheatsheet stuff into its own files
2015-11-11 16:32:25 -08:00
Peter Bacon Darwin
029c0534f3
docs(*): add initial cheatsheet tags
2015-11-11 16:32:25 -08:00
Igor Minar
4a43230de4
fix(core): various dart-specific fixes for core and facades
...
For some reason these showed up only now in internal Dart analyzer output.
2015-11-11 11:45:58 -08:00
Igor Minar
01ebff4080
fix(core): reexport PLATFORM_DIRECTIVES and PLATFORM_PIPES in dart
...
Looks like we missed this in the original PR.
2015-11-11 11:45:58 -08:00
Tobias Bosch
344776f864
fix(renderer): apply host element encapsulation also if the parent component is not encapsulated.
...
Closes #5240
2015-11-11 10:53:22 -08:00
Alex Rickabaugh
a3e6406b38
fix(core): Export dev mode API in Dart.
...
Closes #5233
2015-11-11 07:18:11 +00:00
Alex Rickabaugh
1ff1792642
fix(core): Unload components when individually disposed.
2015-11-10 12:15:47 -08:00
Tobias Bosch
e6bf33efbf
patch(renderer): make glyph not an svg element
...
This is required because of a conflict with an internal project.
This will go away soon as we are working on a proper SVG
support..
2015-11-10 11:51:39 -08:00
mlaval
ee07646059
chore(test): fix public API test failure when no support of Symbol.for
...
`@@observable` is the token used in RxJS to define `Symbol.observable`
Closes #5093
2015-11-10 11:23:01 +01:00
vsavkin
e27665c368
feat(core): renam AMBIENT_DIRECTIVES and AMBIENT_PIPES into PLATFORM_DIRECTIVES and PLATFORM_PIPES
...
After discussing it we decided that PLATFORM_ is a better prefix for directives available everywhere in the app.
BREAKING CHANGE
AMBIENT_DIRECTIVES -> PLATFORM_DIRECTIVES
AMBIENT_PIPES -> PLATFORM_PIPES
Closes #5201
2015-11-10 01:45:25 +00:00
Jeremy Elbourn
2618becaa5
chore(): npm release script for router artifacts.
...
Closes #5171
2015-11-09 20:45:55 +00:00
Victor Berchet
0dcca1a28e
refactor(ListWrapper): drop filter, find, reduce & any
...
Closes #5152
2015-11-09 19:24:14 +00:00
Tobias Bosch
e667ad3e6b
refactor(compiler): make all commands const
...
Closes #5135
2015-11-09 10:59:08 -08:00
Tobias Bosch
fb8b8157ff
fix(setup): set tsconfig so that it works in editors
2015-11-09 08:43:15 -08:00
Alex Rickabaugh
a8d9dbf110
feat(dart): Support forcing dev mode via enableDevMode in Dart.
...
Closes #5193
2015-11-09 07:16:25 +00:00
Trotyl Yu
2645fb0d6c
docs(form): Fix typos of indent
...
Closes #5159
2015-11-07 16:05:56 +00:00
vsavkin
79472b77ca
refactor(core): move facades out of core
...
This is part of ongoing work to make core platform-independent.
BREAKING CHANGE
All private exports from 'angular2/src/core/facade/{lang,collection,exception_handler}' should be replaced with 'angular2/src/facade/{lang,collection,exception_handler}'.
2015-11-07 01:36:06 +00:00
Yegor Jbanov
3593d85807
fix: remove deprecated zone API usage in testability
...
Closes #5084
2015-11-07 00:13:29 +00:00
Tobias Bosch
6133f2c08b
fix(compiler): don’t lowercase attributes to support svg
...
This reverts commit b89c5bc581 and adds an additional test.
Closes #5166
2015-11-06 13:04:08 -08:00
Tim Blasi
63e853dcd7
feat(change_detect): Guard checkNoChanges behind assertionsEnabled
...
Always generate `checkNoChanges` tests, but guard them behind
`assertionsEnabled` tests.
Closes #4560
2015-11-06 11:59:03 -08:00
Pawel Kozlowski
2d0c8f1b0e
fix(NgFor): allow default templates with ng-for-template
...
Closes #5161
2015-11-06 19:26:02 +00:00
Pawel Kozlowski
c6ad269f43
chore(build): remove es5build.js
...
Fixes #5030
Closes #5144
2015-11-06 18:22:57 +00:00
Victor Berchet
a0a627f2f9
refactor(StringWrapper): remove useless methods
...
Closes #5039
2015-11-06 17:04:01 +00:00
Pawel Kozlowski
253e2b2285
refactor(router): don't import public APIs from internal paths
...
Closes #5139
2015-11-06 07:57:35 +00:00
Alex Rickabaugh
aa70275b01
chore(tests): Enable dev mode in all Angular tests.
...
Closes #5106
2015-11-06 07:07:04 +00:00
Alex Rickabaugh
4bb9c46cf1
fix(core): Provide setDevMode() to enable/disable development mode in Javascript.
2015-11-06 07:07:04 +00:00