angular-docs-cn/packages/core
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
..
src fix(core): use presence of .subscribe to detect observables rather then Symbol.observable (#15171) 2017-03-15 17:13:03 -07:00
test fix(platform-server): handle styles with extra ':'s correctly (#15189) 2017-03-15 17:13:31 -07:00
testing fix: element injector vs module injector (#15044) 2017-03-14 16:26:17 -07:00
index.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
package.json refactor: More generic build.sh file 2017-03-08 16:29:28 -08:00
public_api.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
rollup.config.js fix(core): use presence of .subscribe to detect observables rather then Symbol.observable (#15171) 2017-03-15 17:13:03 -07:00
tsconfig-build.json refactor: More generic build.sh file 2017-03-08 16:29:28 -08:00