Caitlin Potter
81abc39929
feat(http): add support for JSONP requests
...
Closes #2905
Closes #2818
2015-07-14 21:31:05 -04:00
Sigmund Cherem
1427d73b66
fix(example): add missing todo
2015-07-10 15:21:03 -07:00
Sigmund Cherem
62589293aa
fix(transformer): fix 'pub build' in examples
2015-07-10 15:08:48 -07:00
Victor Berchet
447926dc08
refactor(RegExp): use /.../ to create RegExp literal
...
fixes #2691
2015-07-09 09:14:25 +02:00
Matias Niemelä
258da88765
revert: example(routing): adding routing example and e2e tests
...
This reverts commit 718fa35167
.
2015-07-08 23:03:29 -07:00
Alex Eagle
e79dd6aa2d
fix(build) clang-format
2015-07-08 18:34:39 -07:00
Matias Niemelä
2c37cc5fcb
chore(examples): fix dart issues with router example
2015-07-08 18:01:32 -07:00
Matias Niemelä
ae5cd51f50
chore(examples): fix broken router example code for Dart
2015-07-08 16:43:28 -07:00
Alex Eagle
df877a7d5b
fix(build): clang-format
2015-07-08 16:30:43 -07:00
Matias Niemelä
718fa35167
example(routing): adding routing example and e2e tests
...
Closes #2650
2015-07-08 15:14:46 -07:00
vsavkin
3a8e1661fa
examples: added an example of a crud app
2015-07-01 16:25:53 -07:00
vsavkin
f0e962c55e
feat(di): removed app injector
...
BREAKING CHANGE:
THe appInjector property has been removed. Instead use viewInjector or hostInjector.
2015-07-01 13:33:43 -07:00
Jeff Cross
b3d98cba77
refactor(http): remove default settings from `RequestOptions` constructor
...
The BaseRequestOptions class is responsible for declaring default values,
while the RequestOptions class is merely responsible for setting values
based on values provided in the constructor.
2015-06-30 15:21:36 -07:00
Jeff Cross
55bf0e554f
feat(http): refactor library to work in dart
...
Mostly internal refactoring needed to make ts2dart and DartAnalyzer happy.
Fixes #2415
2015-06-30 15:21:36 -07:00
vsavkin
22d3943831
refactor(di): unified di injector and core injector
...
BREAKING CHANGES:
* InjectAsync and InjectLazy have been removed
* toAsyncFactory has been removed
2015-06-26 15:59:18 -07:00
Victor Berchet
3ea655918e
refactor(Compiler): inline styles before compiling the template
2015-06-24 18:40:03 +02:00
Tobias Bosch
c8bdacb195
refactor(render): cleanup access to native dom elements
...
BREAKING CHANGES:
- rename `ElementRef.domElement` to `ElementRef.nativeElement`
- add `Renderer.getNativeElementSync` to make the app side
less dependent on the dom renderer.
- don’t use `ElementRef.nativeElement` in directives but
use the methods on `Renderer` directly.
- Removed `ElementRef.setAttribute`. Use `Renderer.setElementAttribute` instead.
Closes #2712
Last part of #2476
Closes #2476
2015-06-23 17:27:59 -07:00
Pascal Precht
783654e6a3
chore(example): adds zippy example
2015-06-22 17:00:42 +02:00
Yegor Jbanov
f158fbd131
chore(ShadowDomStrategy): fix MapWrapper usage, DemoUrlResolver
2015-06-19 18:50:30 -07:00
vsavkin
c899b0a74c
feat(element_injector): support multiple injectables with the same token
2015-06-19 16:02:56 -07:00
vsavkin
5ba5da5d25
cleanup(forms): cleanup
2015-06-19 16:02:43 -07:00
Martin Probst
c7e48350d3
chore: kill ListWrapper.create() and .push().
...
These wrappers are not natively understood by
ts2dart. Removing them will improve Dart2JS
compilation due to fewer megamorphic calls to List
functions.
It also makes Angular code more succinct and
improves type safety in Angular due to better type
inference of the Array component type.
This change exposed several bugs in Angular.
2015-06-17 16:21:55 -07:00
Jeff Cross
5b5ffe75d0
docs(Http): add docs for Http lib
...
Fixes #2442
2015-06-16 15:42:18 -07:00
Jeff Cross
b68e561c0f
feat(Http): add Http class
...
Fixes #2530
2015-06-16 15:42:01 -07:00
vsavkin
c34cb01404
fix(forms): updated form examples to contain select elements
2015-06-15 13:16:41 -07:00
vsavkin
9908def857
fix(bootstrap): temporary disable jit change detection because of a bug in handling pure functions
2015-06-13 16:06:22 -07:00
vsavkin
552d1ed61b
feat(e2e): added e2e tests for forms
2015-06-13 16:06:21 -07:00
vsavkin
4fe919335c
refactor(forms): made directive names consistent
2015-06-12 09:45:55 -07:00
Victor Berchet
e89fe0a9ff
chore(dart2js): remove helpless warnings
2015-06-12 17:47:53 +02:00
Rob Wormald
796fc66771
chore(build): rename .es6 files to .js
...
Change es6 source files in npm distribution to use .js extensions.
Closes #2447
2015-06-11 17:22:19 -07:00
vsavkin
902759e1c7
fix(analzyer): removed unused imports
2015-06-09 12:35:47 -07:00
vsavkin
c564475251
example(forms): removed old forms example
2015-06-09 11:51:17 -07:00
vsavkin
4cd29f791f
examples(forms): added an example of using model-driven forms
2015-06-09 11:51:16 -07:00
vsavkin
3eff7be9a6
examples(forms): added an example of using template-driven forms
2015-06-09 11:51:15 -07:00
Jeff Cross
21568106b1
feat(http): add basic http service
...
This implementation only works in JavaScript, while the Observable transpilation
story gets worked out. Right now, the service just makes a simple request,
and returns an Observable of Response.
Additional functionality will be captured in separate issues.
Fixes #2028
2015-06-09 10:00:04 -07:00
Martin Probst
f999d5a156
chore: move to clang-format 1.0.17.
...
clang-format 1.0.17 substantially improves formatting for fat arrow functions
and array literal detection. It also fixes a number of minor formatting issues.
2015-06-03 15:27:27 -07:00
Ian Riley
5035a42287
refactor(examples/e2e_test): Ts'ifying examples/e2_test
...
Translate AtScript in examples/e2e_test to TypeScript.
Closes #2294
2015-06-02 14:14:46 -07:00
Victor Berchet
3d6c44e2a7
test(KeyEvents): workaround a bug in chrome driver
...
closes #2253
see https://code.google.com/p/chromedriver/issues/detail?id=553
2015-06-02 14:37:57 +02:00
Jeremy Elbourn
c8947d77bf
chore(material): move dialog to TypeScript.
2015-05-29 17:19:44 -07:00
Victor Berchet
d7df853bde
feat(Directive): convert properties to an array
...
fixes #2013
BREAKING CHANGE:
Before
@Directive(properties: {
'sameName': 'sameName',
'directiveProp': 'elProp | pipe'
})
After
@Directive(properties: [
'sameName',
'directiveProp: elProp | pipe'
])
2015-05-29 11:44:43 +02:00
cexbrayat
f83f1ee0ce
fix(example): unused event
2015-05-27 08:09:55 +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
Jeremy Elbourn
0f3a8f369a
chore(material): migrate most components to TypeScript.
2015-05-26 13:35:44 -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
Adam Bradley
1ad6558229
fix(examples): update form example to use NgIf
2015-05-22 12:32:13 +02:00
vsavkin
7b511462af
refactor(core): renamed injectables into appInjector
...
BREAKING CHANGES
Before:
@Component({injectables: [Type]} class MyCmp{}
After:
@Component({appInjector: [Type]} class MyCmp{}
2015-05-18 18:30:52 -07:00
Jeremy Elbourn
8d6943227d
chore(material): add e2e smoke tests for a few more components.
...
Closes #1884
2015-05-18 14:34:36 -07:00
Victor Berchet
0e82970a29
fix(examples): prefix directives with Ng
2015-05-13 11:56:50 +02:00
Misko Hevery
111fa60a93
chore: rename for to ng-for
...
Closes #1598
Closes #1295
Closes #1827
Closes #1827
2015-05-12 15:32:44 -07:00