Alex Eagle
b96784756c
chore(docs): remove @View decorator from examples in docs
...
Closes #4666
2015-10-11 22:02:38 +00:00
Alex Eagle
867c08ac84
chore(typings): mark underscore methods @internal.
...
This allows TypeScript to produce an API surface which matches the Dart semantics.
I found these with:
gulp build.js.dev && find dist/js/dev/es5/angular2/src -name "*.d.ts" -exec grep -H -n '^ *_' {} \;
Closes #4638
2015-10-10 02:18:33 +00:00
Victor Berchet
393b0526b4
refactor(NgZone): improve types
...
Closes #4642
2015-10-09 23:54:31 +00:00
Alex Eagle
aab0c57aee
fix(typings): add more missing typings.
...
This is the same bug pattern I reported in https://github.com/Microsoft/TypeScript/issues/5187
Closes #4636
2015-10-09 19:00:42 +00:00
vsavkin
bba0248989
fix(core): remove NgZone_ and use NgZone instead
2015-10-08 13:55:26 -07:00
vsavkin
8b725c77fd
fix(tests): fix tests
2015-10-08 13:54:44 -07:00
Alex Eagle
6075509f26
chore(typing): extract abstract superclasses to replace @private constructors
2015-10-08 13:54:43 -07:00
Alex Eagle
f7aa890ade
chore(docs): rename @private to @internal
...
The latter is understood by TypeScript's --stripInternal option, so this lets us
rely more on the tooling provided by typescript team.
2015-10-06 17:08:41 -07:00
Alex Eagle
208f3d4c65
fix(typings): repair broken type-checking for StringMap
...
Note that the previous type of StringMap was overly permissive and didn't catch errors.
Also we have to explicitly type empty objects, which is explained here:
https://github.com/Microsoft/TypeScript/issues/5089
Closes #4487
2015-10-03 01:09:42 +00:00
Igor Minar
53412a71e5
docs(NgZone): add public api docs
2015-09-16 11:42:30 -07:00
Henry Wong
fd14460148
docs: fixed misspelling of the word 'explicitly'
...
Closes #4108
2015-09-11 15:37:13 -07:00
Jason Teplitz
f3da37c92f
fix(WebWorker): Add zone support to MessageBus
...
Closes #4053
2015-09-08 14:03:58 -07:00
Victor Berchet
b29b045d78
refactor(WTF): rename scopes to follow coding conventions
2015-08-31 21:59:33 +00:00
Misko Hevery
e916836261
chore(ts2dart): replace List with Array
...
Closes #3514
2015-08-31 21:32:10 +00:00
Jeff Cross
8ed22ce6e7
chore: update all import paths
2015-08-25 15:33:23 -07:00
Victor Berchet
5f0a0fd8d2
fix(wtf): fix NgZone.run instrumentation
...
Closes #3788
2015-08-23 18:52:09 +00:00
Tim Blasi
f11f4e0b45
style(dart): Format with dartfmt v0.2.0
...
Format all pure Dart code with package:dart_style v0.2.0
Command:
```
find -type f -name "*.dart" | xargs dartformat -w
```
2015-08-05 11:04:29 -07:00
Misko Hevery
77875a270d
feat: implement web-tracing-framework support
...
This includes implementation and minimal instrumentation
Closes #2610
2015-07-31 23:04:05 +00:00
Tim Blasi
2c9951273a
style(dart): Run dartfmt v0.1.8+2 on all pure Dart code
...
Update formatting for all pure Dart code in the repo.
2015-07-28 12:44:03 -07:00
Nathan Walker
05c4fb2fac
docs(typo): ngzone referencing misspelled api
...
Closes #3292
2015-07-27 16:09:05 -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
Naomi Black
3a7c9e4c62
docs(links): change bad links for Type RenderViewRef RenderFragmentRef, onEventDoneFn, and Renderer api.
2015-07-23 19:21:28 -07:00
Alex Eagle
de18da2a0d
feat(build): require parameter types
...
Fixes #2833
2015-07-21 06:20:13 -07:00
Yegor
a4915ad634
fix(api_docs): slightly more accurate description of Dart overrideOnEventDone
2015-07-16 14:03:27 -07:00
Yegor
fe3a55966d
fix(api_docs): slightly more accurate description of TS overrideOnEventDone
2015-07-16 14:02:39 -07:00
Alex Eagle
93055f78ea
chore(lint): require semicolons
...
Relying on ASI (automatic semicolon insertion)
is allowed in TypeScript because JavaScript allows
it. However, when we run clang-format it doesn’t
understand that these statements are terminated
with a newline and changes the indentation, in bad
cases even breaking the code.
Fixes #817
2015-07-15 12:57:32 -07:00
Victor Berchet
7dc1dff816
refactor(NgZone): idiomatic Dart
2015-07-14 09:17:15 +02:00
Peter Bacon Darwin
2e4a2a0e5a
chore(doc-gen): remove unnecessary @public and @exportedAs tags
2015-07-11 07:21:46 +01:00
yjbanov
0e28297e68
feat(zone): add "on event done" zone hook
2015-07-10 15:45:52 -07:00
Alex Eagle
44891996b5
fix(build): add missing return types now enforced by linter
2015-06-29 15:31:41 -07:00