Victor Berchet
52bbc9baf4
refactor(platform-browser): cleanup HtmlSanitizer specs
2017-03-16 10:16:39 -07:00
Kara
26d4ce29e8
fix(forms): ensure observable validators are properly canceled ( #15132 )
...
Observable subscriptions from previous validation runs should be canceled
before a new subscription is created for the next validation run.
Currently the subscription that sets the errors is canceled properly,
but the source observable created by the validator is not. While this
does not affect validation status or error setting, the source
observables will incorrectly continue through the pipeline until they
complete. This change ensures that the whole stream is canceled.
AsyncValidatorFn previously had an "any" return type, but now it more
explicitly requires a Promise or Observable return type. We don't
anticipate this causing problems given that any other return type
would have caused a runtime error already.
2017-03-16 10:15:17 -07:00
Alex Eagle
41f61b0b5b
test: integration test that Angular apps compile with TS 2.2 ( #15153 )
2017-03-16 09:13:48 -07:00
Marc Laval
f92d644c95
ci: disable Android 4.1, 4.2 and 4.3 in SauceLabs ( #14461 )
...
These browsers are not supported anymore: https://wiki.saucelabs.com/pages/viewpage.action?pageId=67012495
Tried to switch them to BrowserStack, but the emulators are too slow to run the full campaign (time out in tests, and disconnect eventually).
2017-03-16 09:13:07 -07:00
Jason Aden
923d0c56e7
fix: correct UMD resolutions for platform-browser_animations ( #15190 )
...
Fixes #15114
2017-03-15 17:14:20 -07:00
Marc Laval
dd36d413ba
build: update symlink scripts for Windows ( #14987 )
2017-03-15 17:13:54 -07:00
Alex Rickabaugh
013d806b79
fix(platform-server): handle styles with extra ':'s correctly ( #15189 )
...
Previously, style values were parsed with a regex that split on /:+/.
This causes errors for CSS such as
div {
background-url: url(http://server.com/img.png );
}
since the regex would split the background-url line into 3 values instead of 2.
Now, the : character is detected with indexOf, avoiding this error.
A test was added to verify the behavior is correct.
2017-03-15 17:13:31 -07:00
Dzmitry Shylovich
6e98757665
fix(core): use presence of .subscribe to detect observables rather then Symbol.observable ( #15171 )
...
Fixes #14298
Fixes #14473
Fixes #14926
2017-03-15 17:13:03 -07:00
Miško Hevery
313158132d
Revert "fix(core): ErrorHandler should not rethrow an error by default ( #15077 )"
...
This reverts commit 6559425b07 .
2017-03-15 16:29:24 -07:00
Peter Bacon Darwin
6772c913c7
fix(aio): scroll to hash fragment element on URL change
2017-03-15 16:11:30 -07:00
Stefanie Fluin
b11d0119ac
feat(aio): top bar typography, sidenav size
2017-03-15 16:11:30 -07:00
Stefanie Fluin
637a489996
refactor(aio): indent and org cleanup
2017-03-15 16:11:30 -07:00
Stefanie Fluin
c2bd357825
feat(aio): initial design commit
...
Implemented style guide elements to top header bar, side hamburger nav menu, content and search. Consolidated SCSS files to styles folder. Fixed PWA test.
2017-03-15 16:11:30 -07:00
Peter Bacon Darwin
4870f910d6
feat(aio): hide search results when click outside search elements
...
Clicking anywhere except on the search results and the search box will
now hide the search results
Closes #15095
2017-03-15 16:11:30 -07:00
Peter Bacon Darwin
c95a3048ce
fix(aio): SearchBoxComponent should send query on click
...
The input may still have focus when the user hits ESC,
causing the search to be hidden.
If the user then clicks on the input again, they would expect
it to reopen the results.
2017-03-15 16:11:30 -07:00
Ward Bell
0e6eb6d719
test(aio): fill in missing API page unit tests
2017-03-15 16:11:30 -07:00
Ward Bell
09574fc285
build(aio): yarn test --sourcemap=false for faster dev/test cycles
2017-03-15 16:11:29 -07:00
Georgios Kalpakas
4347cb2119
ci(aio): whitelist 'aio-contributors' for deploying PR previews
2017-03-15 16:11:29 -07:00
Peter Bacon Darwin
f600d4e9e4
refactor(aio): move window:resize handler into component
2017-03-15 16:11:29 -07:00
Peter Bacon Darwin
eaa04354d5
fix(aio): intercept all clicks on anchors
...
Previously we had the `LinkDirective` which intercepted clicks on anchors
outside the doc viewer. Now we intercept "all" link clicks within the app.
2017-03-15 16:11:29 -07:00
Peter Bacon Darwin
3f7cfde476
fix(aio): ignore private exports
...
Closes #14992
2017-03-15 16:11:29 -07:00
Matias Niemelä
62d5543b01
fix(animations): make sure easing values are applied to an empty animate() step ( #15174 )
...
Closes #15115
Closes #15174
2017-03-15 15:31:06 -07:00
Victor Berchet
f1b33ab7b1
fix(http): Make ResponseOptionsArgs an interface ( #14607 ) ( #14623 )
...
closes #13708
2017-03-15 15:28:52 -07:00
Victor Berchet
029d0f25e5
fix(router): fix query parameters with multiple values ( #15129 )
...
fixes #14796
2017-03-15 15:27:19 -07:00
Matias Niemelä
3f38c6fdcd
fix(animations): always fire callbacks even for noop animations ( #15170 )
...
Closes #15170
2017-03-15 13:41:00 -07:00
Jason Aden
80112a9ea1
fix: fix path locally to empty.js ( #15073 )
2017-03-15 13:40:24 -07:00
Chuck Jazdzewski
795638e18b
ci: remove unused import from integration test ( #15175 )
2017-03-15 13:39:00 -07:00
Chuck Jazdzewski
322bf7a0d5
Revert "refactor(upgrade): don’t rely on compiler internals"
...
This reverts commit 8e2c8b3e4d .
2017-03-15 13:23:31 -07:00
Chuck Jazdzewski
cd981499f9
Revert "feat(core): expose inputs, outputs and ngContentSelectors on ComponentFactory."
...
This reverts commit 1171f91a80 .
2017-03-15 13:23:10 -07:00
Chuck Jazdzewski
c439742a54
Revert "feat(upgrade): use ComponentFactory.inputs/outputs/ngContentSelectors"
...
This reverts commit a3e32fb7e1 .
2017-03-15 13:22:54 -07:00