Peter Bacon Darwin
74b311a472
revert: style(ngFor): add whitespace to Directive annotation
...
Reverted from commit 35597a8349
This style change makes the docs look nicer but clang-format doesn't
like it. @mhevery perhaps we can tweak the clang-format rules for this?
2015-07-28 14:14:44 +01:00
Peter Bacon Darwin
35597a8349
style(ngFor): add whitespace to Directive annotation
2015-07-28 11:29:57 +01:00
Tim Blasi
03fc7fe8c2
refactor(change_detect): Make ChangeDetectionUtil#uninitialized a var
...
Previously, `uninitialized()` was a method, requiring a call as well as
two extra characters everywhere it was used.
Make this value a variable, saving the characters and avoiding the
method call to get its value.
This change also removes the export of `uninitialized` from
change_detect.ts, which is technically a breaking change, however
`uninitialized` is an implementation detail and nobody should be using
it in app logic. By convention, apps should not be importing from files
under `src/`.
Update to #3248 .
2015-07-27 17:14:09 -07:00
gdi2290
8a91d71625
feat(http.ts): export BrowserXHR
...
needed for replacing BrowserXHR bindings with mock/server version etc
Closes #2641
2015-07-27 16:34:34 -07:00
gdi2290
4dc6d748a9
fix(lowercase,uppercase): make stateless pipes
...
same problem as `json` previously of transforming only on reference
check
Closes #3173
Closes #3189
2015-07-27 16:28:48 -07:00
Adil MOURAHI
99587a9907
docs: Update 02_directives.md
...
Closes #3191
2015-07-27 16:27:00 -07:00
Marc Laval
eebd736cfe
feat(build): initial SauceLabs setup
...
Closes #2347
2015-07-27 16:15:28 -07:00
Nathan Walker
05c4fb2fac
docs(typo): ngzone referencing misspelled api
...
Closes #3292
2015-07-27 16:09:05 -07:00
Marc Fisher
448264be39
fix(core): fix type error in setElementProperty
...
Convert propertyValue to string when calling setElementAttribute.
Closes #3279
2015-07-27 16:05:10 -07:00
vsavkin
71bb4b3ee5
feat(change_detection): generate checkNoChanges only in dev mode
2015-07-27 15:50:19 -07:00
Misko Hevery
a2bb81c406
Revert "fix(url_resolver): in Dart make package urls relative to AppRootUrl"
...
This reverts commit 469afda53e .
2015-07-27 14:15:02 -07:00
Jason Teplitz
7cbaf1076f
refactor(Async): Unify TS and Dart PromiseCompleter naming
...
Also add explicit typing wherever we use PromiseCompleter
2015-07-27 10:28:07 -07:00
Pawel Kozlowski
a8b57256c8
fix(class): allow class names with mixed case
...
Fixes #3001
BREAKING CHANGE:
View renderer used to take normalized CSS class names (ex. fooBar for foo-bar).
With this change a rendered implementation gets a calss name as specified in a
template, without any transformations / normalization. This change only affects
custom view renderers that should be updated accordingly.
Closes #3264
2015-07-27 16:46:42 +02:00
Misko Hevery
329a6e00dc
chore(API): cleaned up top level imports (render)
2015-07-25 03:20:15 +00:00
Misko Hevery
c83a3f3372
chore(docs): added more docs for core.ts
2015-07-25 03:20:12 +00:00
Tim Blasi
0906ee8a4e
refactor(change_detect): Abstract name logic into NameRegistry
...
Create `NameRegistry`, responsible for understanding how names are
generated for change detector fields and variables.
Use `NameRegistry` for both JS Jit & Dart pre-generated detectors.
Making progress on #3248
2015-07-24 18:58:09 -07:00
Tim Blasi
23cd385f20
fix(dart/transform): Handle mixed lifecycle specs
...
Update the transformer to handle classes which both have a `lifecycle`
value and `implement` lifecycle interfaces.
Closes #3276
2015-07-24 18:02:04 -07:00
vsavkin
45b10a1f0f
cleanup(forms): value accessors inject NgControl only from self
2015-07-24 16:56:22 -07:00
yjbanov
469afda53e
fix(url_resolver): in Dart make package urls relative to AppRootUrl
2015-07-24 16:37:01 -07:00
vsavkin
c2bbda02a1
feat(change_detection): provide error context for change detection errors
2015-07-24 15:45:26 -07:00
vsavkin
e744409cb9
feat(exception_handler): print originalException and originalStack for all exceptions
2015-07-24 15:45:26 -07:00
Pawel Kozlowski
0a8b3816f7
style(lexer): idiomatic TypeScript
...
Closes #3228
2015-07-24 15:40:32 -07:00
Pascal Precht
bc21aa0124
refactor(di/injector): fixes typo in InjectorStrategy interface
...
Closes #3269
2015-07-24 15:36:27 -07:00
Rado Kirov
2577f5eebf
test(query): adds a test for query in the presense of projection.
...
Query uses only the logical structure of the application, so it is not
affected by projection, which only the rendering structure.
Closes #3278
2015-07-24 15:30:57 -07:00
Jacob MacDonald
f575ba60fb
fix(transformer): Don't throw on annotations that don't match a descriptor.
...
Closes #3280
2015-07-24 15:29:14 -07:00
Jacob MacDonald
5b5de6662f
chore(transformer): Use class for reflection info instead of a map
...
closes https://github.com/angular/angular/issues/906
2015-07-24 13:12:57 -07:00
Hank Duan
a8b75c3d41
feat(testability): hook zone into whenstable api with async support
...
closes(#428 )
2015-07-24 12:46:12 -07:00
Alex Eagle
19d8b221b4
fix(typings): test our .d.ts with --noImplicitAny
...
This matches how DefinitelyTyped tests it, so we are
one step closer to publishing the same file we generate.
See #3195
2015-07-24 11:24:44 -07:00
Pawel Kozlowski
345fa521dd
fix(change_detection): convert interpolated null values to empty strings
...
Fixes #3007
Closes #3271
2015-07-24 18:05:06 +02:00
Pawel Kozlowski
16493e9769
refactor(integration_test): remove unused imports
2015-07-24 18:05:06 +02:00