Tim Blasi
5d2af54730
feat(dart/transform): Improve constant evaluation
...
Use `package:analyzer`'s `ConstantEvaluator` to read from the AST.
This cleanly builds values for us from adjacent strings, interpolations,
etc.
2015-05-28 15:18:22 -07:00
Victor Berchet
a9be2ebf1b
feat: add support for the safe navigation (aka Elvis) operator
...
fixes #791
2015-05-28 23:03:30 +02:00
Victor Berchet
ec2d8cc2c8
feat(binding): throw on binding to a blank alias
...
fixes #2068
2015-05-28 22:37:29 +02:00
Jeff Cross
01fb8e6635
fix: fix clang errors
2015-05-28 11:08:26 -07:00
Jeff Cross
9d90128463
refactor(ChangeDetection): convert change detection tests to typescript
2015-05-28 10:01:30 -07:00
vsavkin
34cfc9f474
feat(di): added optional self parameter to Parent, Ancestor, and Unbounded
2015-05-28 09:53:06 -07:00
Ian Riley
ebe1e73b1a
refactor (test/test_lib): Ts'ifying test/test_lib
...
Translates AtScript files in test/test_lib to TypeScript.
Closes #2183
2015-05-28 09:50:59 -07:00
Ian Riley
8ce0a67c81
refactor (test/services): Ts'ifying test/services
...
Translates AtScript files in test/services to TypeScript
Closes #2193
2015-05-28 09:48:38 -07:00
Tim Blasi
c065fb1422
feat(dart/transform): Remove unnecessary .ng_deps.dart files
...
Removes `.ng_deps.dart` files which
1. Do not register any `@Injectable` classes
2. Do not call `initReflector` on any other `.ng_deps.dart` files.
Closes #1929
2015-05-28 07:51:10 -07:00
Tim Blasi
cda35101df
fix(facade): Fix bug in TS indexOf
...
startIndex defaults to -1, which in Chrome results in returning -1
regardless of the other parameters.
Added regression tests.
2015-05-28 06:56:24 -07:00
Julie Ralph
c32dbad747
feat(tests): add TestComponentBuilder
...
Adds a TestComponentBuilder for use in component level tests.
For usage examples, see test_component_builder_spec
Closes #1812
2015-05-27 17:15:13 -07:00
vsavkin
30b6542fc8
feat(core): added support for detecting lifecycle events based on interfaces
2015-05-27 16:23:42 -07:00
vsavkin
2b6a653050
feat(core): added missing interfaces for onDestroy and onAllChangesDone lifecycle events
2015-05-27 15:50:08 -07:00
vsavkin
34d75e8918
feat(reflector): added a method to get type's interfaces
2015-05-27 15:50:08 -07:00
Martin Probst
2c25055828
chore: reformat the code base using the clang-format 1.0.15.
2015-05-27 15:28:22 -07:00
Tim Blasi
a2770c8a52
refactor(change_detect): Flatten Js change detector template
...
Update the `ChangeDetectionJITGenerator` for clarity and similarity with
the upcoming Dart generated `ChangeDetector` classes.
2015-05-27 11:50:25 -07:00
Tobias Bosch
4a3fd5e855
fix(di): allow `@Inject(…)` to work in dart2js and dynamic reflection
...
Note: We can’t write a unit test for this as our unit tests
are running in Dartium, where the error does not occur.
However, we previously had a failure in our e2e tests
in `hello_world/index_dynamic.html`
when removing the TODOs in `application.ts`.
Closes #2185
2015-05-27 10:33:30 -07:00
Tobias Bosch
608017776e
fix(package.json): add `reflect-metadata` to package.json
...
Fixes #2170
2015-05-27 10:32:38 -07:00
Tobias Bosch
0c7f05f56a
fix(injectable): add missing @Injectables annotations
...
Closes #2173
2015-05-27 10:31:20 -07:00
Marc Laval
c6335c128e
feat(test_lib): add method to compare stringified DOM element
...
Closes #2106
2015-05-27 16:19:39 +02:00
Marc Laval
fb42d5908e
fix(test): solve CSS discrepancies across browsers
...
Closes #2177
2015-05-27 14:54:00 +02:00
Ian Riley
8609543ad0
refactor (test/facade): Ts'ify test/facade
...
Translate AtScript in test/facade to TypeScript
2015-05-27 08:10:11 +02:00
cexbrayat
f83f1ee0ce
fix(example): unused event
2015-05-27 08:09:55 +02:00
gdi2290
1db6870a81
docs(ng_for.ts): For => NgFor
2015-05-27 08:09:42 +02:00
gdi2290
c19c69f336
refactor(forms): remove self closing wrap <label>s
...
html5 doesn't have self closing tags
breaks `stringifyElement` from
https://github.com/angular/angular/pull/2106
also an error with submit form and wrap with <label>s
2015-05-27 08:09:26 +02:00
Hank Duan
b390f441a1
feat(benchpress): Add extension for ff metrics reporting
...
Closes #1976
2015-05-26 17:30:41 -07:00
Tobias Bosch
79f564be46
refactor(core): ts’ify tests
2015-05-26 17:01:31 -07:00
Tobias Bosch
23d59df81a
feat(test_lib): add `containsRegex`
2015-05-26 17:01:31 -07:00
Ian Riley
ef3e12e803
refactor (test/directives): ts'ify test/directives
...
Translate all of the AtScript code in .../test/directives to TypeScript.
Closes #2167
2015-05-26 16:51:38 -07:00
Kevin Moore
5fe88d63ef
chore: support the latest release of Dart logging package
2015-05-26 13:51:54 -07:00
Jeremy Elbourn
0f3a8f369a
chore(material): migrate most components to TypeScript.
2015-05-26 13:35:44 -07:00
Victor Berchet
26d5d17ebe
style: fix clang-format glitches
2015-05-26 21:00:44 +02:00
Victor Berchet
bb7ffce7eb
test(ShadowCss): add tests for keyframe rules
2015-05-26 19:42:17 +02:00
Victor Berchet
551586ced0
feat(RegExpWrapper): implement a test method
2015-05-26 19:42:17 +02:00
Tobias Bosch
1dc8ba6920
refactor(render): ts’ify tests
2015-05-26 09:38:26 -07:00
Tobias Bosch
d773b6a00a
fixed(spy): support `SpyObject` in Typescript as well
...
- allow `@IMPLEMENTS` as a decorator
- implement empty `noSuchMethod`
2015-05-26 09:25:16 -07:00
Naomi Black
f6cd26b0a6
docs(docgen): fixed a typo that was breaking dgeni
2015-05-22 21:47:34 -07:00
Naomi Black
5a52c0b71d
docs(di): fix missing export for dgeni docgen
2015-05-22 21:47:34 -07:00
gdi2290
662da0d728
feat(render): re-export render and export `DirectiveResolver`
...
Closes #2026
2015-05-22 17:38:00 -07:00
vsavkin
df59e969cf
chore(di): moved tests to typescript
2015-05-22 17:32:21 -07:00
vsavkin
d27e5512c0
chore(reflection): tsfy tests
2015-05-22 17:03:40 -07:00
yjbanov
d48fae3566
fix(core): resurrect OnChange interface
2015-05-22 16:48:00 -07:00
vsavkin
3525c9c074
chore(forms): moved tests/forms to typescript
2015-05-22 14:44:57 -07:00
Martin Probst
15f1eb28a2
fix(deps): Update clang-format to 1.0.14.
2015-05-22 09:39:15 -07:00
Victor Berchet
ed8364741b
refactor(form example): TSify
2015-05-22 17:45:57 +02:00
Victor Berchet
6c1cb089b5
refactor(examples): ts’ify
...
relates to #2008
2015-05-22 16:48:29 +02:00
Marc Laval
4b98ed114e
fix(collection): iterator on Map keys is not supported (Safari)
...
Closes #2096
2015-05-22 15:41:01 +02:00
Marc Laval
d308e55e12
fix(collection): new Map(iterable) is not supported (Safari)
2015-05-22 15:40:44 +02:00
Victor Berchet
10bc7e948c
feat(key_event): alias esc to escape
...
fixes #2010
2015-05-22 15:39:21 +02:00
Victor Berchet
9988471fb8
test(fakeAsync): renable a test blocked on jasmine 2.3.3
2015-05-22 15:36:12 +02:00