Miško Hevery
910c0d9ee7
fix(core): Update types for TypeScript nullability support ( #15472 )
2017-03-29 09:34:45 -07:00
Chuck Jazdzewski
331b9f6425
fix(language-service): don't require `reflect-metadata` module to be provided ( #15569 )
...
Fixes #15568
2017-03-29 09:34:21 -07:00
Shai Reznik
49162784a8
docs(core): fix API docs for `Injector.get`
2017-03-28 16:57:22 -07:00
Dzmitry Shylovich
0c36f2353d
perf(router): don't create new serializer every time UrlTree.toString is called ( #15565 )
2017-03-28 16:17:48 -07:00
Matias Niemelä
a580f8c61f
fix(animations): make sure style calculations are not computed too early ( #15540 )
...
Closes #15507
2017-03-28 16:07:49 -07:00
Dzmitry Shylovich
f368381d12
fix(router): should run CanActivate after CanDeactivate guards
...
Closes #14059
Closes #15467
2017-03-28 15:51:33 -07:00
Dzmitry Shylovich
7c2f795ea6
refactor(router): fix tests structure
2017-03-28 15:51:17 -07:00
Victor Berchet
93d48f1d89
fix(core): fix the key/value differ ( #15539 )
...
fixes #15457
2017-03-28 15:50:11 -07:00
Ward Bell
861953c95c
feat(aio): add LiveExampleComponent ( #15544 )
2017-03-28 14:41:50 -07:00
Diego Barahona
aa16ccda79
fix(core): check for undefined on normalizeDebugBindingValue ( #15503 )
...
DebugServices is parsing false atributes values incorrectly.
Parse5 expects a string value for attributes, but currently boolean is being sent.
Closes #15494
2017-03-28 13:33:07 -07:00
Chuck Jazdzewski
6269d28bb0
fix(language-service): improve performance of `updateModuleAnalysis()` ( #15543 )
2017-03-28 13:32:46 -07:00
Chuck Jazdzewski
d438b88f19
fix(compiler): ignore errors when evaluating base classes ( #15560 )
...
Fixes #15536
2017-03-28 13:32:34 -07:00
Dzmitry Shylovich
8e03f65645
refactor(router): improve flatten fn
...
closes #15505
2017-03-28 09:39:20 -07:00
Dzmitry Shylovich
606b8fafb0
refactor(router): use object spread operator instead of merge fn
2017-03-28 09:38:58 -07:00
Dzmitry Shylovich
b7fa5dec21
fix(core): improve error msg for invalid KeyValueDiffer.diff arg ( #15489 )
...
Closes #15402
2017-03-28 09:37:40 -07:00
Chuck Jazdzewski
a5c972aa8b
fix(language-service): be resilient to invalidate ordering ( #15470 )
...
Fixes #15466
2017-03-28 09:37:24 -07:00
JB Nizet
d05aa70c6b
docs(core): fix typo and example in InjectionToken doc ( #15449 )
...
The doc included an example that didn't use InjectionToken.
2017-03-28 09:37:08 -07:00
Pete Bacon Darwin
eac99c1b16
build(aio): do not HTML format code-example contents ( #15554 )
...
The markdown renderer passes its output through an HTML pretty printer.
While this is good in most cases, it makes a mess of elements that expect
their content to be left untouched.
The pretty printer already ignores `pre` tags (and other built-ins) by
default. This fix allows us to specify other tags that should be left
alone.
Further it actually specifies this option for `code-example` and `code-pane`
tags, which expect to contain preformatted content.
2017-03-28 08:22:44 -07:00
Peter Bacon Darwin
b7a89cec59
feat(aio): show top-nav with same styling as side-nav when window is narrow
...
Fixes #15490
2017-03-28 11:48:28 +01:00
Peter Bacon Darwin
9e0d7be014
build(aio): fix angular-cli config typo
2017-03-28 10:49:52 +01:00
Peter Bacon Darwin
99951911d5
fix(aio): selectedNodes should work for URLs ending with a slash
...
The mapping was not accounting for the fact that URLs with or without
a trailing slash are actually the same node.
2017-03-28 10:48:51 +01:00
Peter Bacon Darwin
fd72fad8fd
docs(aio): update migrated content from anguar.io
2017-03-28 10:21:46 +01:00
Peter Bacon Darwin
ff82756415
fix(aio): ensure DocumentService doesn't crash on bad JSON
2017-03-28 10:21:46 +01:00
Peter Bacon Darwin
d28243d5fc
test(aio): the tutorial link no longer ends with a slash
...
And since the navigation opens to the initial page, we don't need
to click the link.
2017-03-28 10:21:46 +01:00
Peter Bacon Darwin
447e534350
build(aio): render ALL code-examples, not just the first
2017-03-28 10:21:46 +01:00
Peter Bacon Darwin
cda887896a
build(aio): include top level docs in content
2017-03-28 10:21:46 +01:00
Peter Bacon Darwin
09b548db75
build(aio): update Rho to a version that accepts custom-elements
2017-03-28 10:21:46 +01:00
Chuck Jazdzewski
920bf373fe
fix(language-service): guard access to `Symbol.members` ( #15529 )
...
Fixes #15528
What is the current behavior?
The language service access TypeScript's Symbol.members without checking for null or undefined.
What is the new behavior?
The access is guarded.
2017-03-27 17:40:48 -07:00
Chuck Jazdzewski
a9ae4daab2
ci: add tbosch and vicb as approvers of the language service ( #15530 )
2017-03-27 17:38:43 -07:00
Georgios Kalpakas
15662efec4
build(aio): update project config for @angular/cli v1.0.0
...
This is a follow-up to 487a0e1
. The changes are based on [this wiki entry][1].
[1]: https://github.com/angular/angular-cli/wiki/stories-1.0-update .
2017-03-27 11:55:26 -07:00
Georgios Kalpakas
5846c46b76
build(aio): remove unused `gulp` dependency
2017-03-27 11:55:26 -07:00
Ward Bell
816b389759
docs: in doc comments, replace [aA]ngular2 with Angular ( #15463 )
2017-03-27 09:44:35 -07:00
Ed Pelc
6605dd1c7c
docs(aio): correct spelling in overview
2017-03-27 14:36:05 +01:00
Ward Bell
837ed788f4
feat(aio): add code-example and code-tabs
...
* move embedded components to EmbeddedModule
* add PrettyPrint service; load pretty print js dynamically
* make code-example to syntax highlighting w/ `prettyPrintOne`
* add code-tabs
* Implement copy code button
2017-03-27 12:25:34 +01:00
Peter Bacon Darwin
2e4fe7fd2e
docs(aio): add test content
2017-03-27 12:25:34 +01:00
Peter Bacon Darwin
52ea193638
build(aio): left align code regions
2017-03-27 10:10:34 +01:00
Peter Bacon Darwin
5e3ef775d5
build(aio): remove naughty fdescribe from utils spec
2017-03-27 10:10:34 +01:00
Peter Bacon Darwin
228238e602
refactor(aio): move SearchService initialisation into SearchBoxComponent
...
The AppComponent really doesn't need to know about the search service.
2017-03-27 09:24:38 +01:00
Adam
a6fd22c399
docs(aio): fix typo
2017-03-27 09:15:50 +01:00
Peter Bacon Darwin
1616cae5cf
build(aio): add renderExamples processor
...
This processor will eventually replace the `{@example}` inline tags
because it provides a cleaner approach that also supports tabbed examples
straight out of the box.
The idea is that authors will simply add a `path` and (optionally) a `region`
attribute to `<code-example>` or `<code-pane>` elements in their docs.
This indicates to dgeni that the relevant example needs to be injected
into the content of this element.
For example, assume that there is an example file `toh-pt1/index.hml` with
a region called `title`, which looks like:
```
<h1>Tour of Heroes</h1>
```
Then the document author could get this to appear in the docs as a
standalone example:
```
<code-example path="toh-pt1" region="title"></code-example>
```
Or as part of a tabbed group:
```
<code-tabs>
<code-pane path="toh-pt1" region="title"></code-pane>
</code-tabs>
```
If no `path` attribute is provided then the element is ignored, which
enables authors to provide inline code instead:
```
<code-example>
Some <html> escaped code
</code-example>
```
Also all attributes other than `path` and `region` are ignored and passed
through to the final rendered output allowing the author to provide
styling hints:
```
<code-example path="toh-pt1" region="title" linenums"15" class="important">
</code-example>
```
2017-03-25 21:32:30 +00:00
Peter Bacon Darwin
d5cf684d99
build(aio): refactor getExampleRegion into a reusable service
2017-03-25 21:32:30 +00:00
Stefanie Fluin
c9e51d9911
feat(aio): add new classes, table and images styling ( #15478 )
2017-03-25 14:21:40 +00:00
Georgios Kalpakas
b2830384f5
build(aio): upgrade @angular/service-worker to v1.0.0-beta.8
2017-03-25 07:27:42 +00:00
Georgios Kalpakas
487a0e1b5d
build(aio): upgrade @angular/cli to v1.0.0
2017-03-25 07:27:42 +00:00
Georgios Kalpakas
8fe42e58b3
build(aio): upgrade @angular/* to v4.0.0
2017-03-25 07:27:42 +00:00
Stefanie Fluin
afb17a5b6e
feat(aio): block code examples style fix
2017-03-25 06:55:59 +00:00
Stefanie Fluin
b8f3533d53
feat(aio): search input animation
2017-03-25 06:55:59 +00:00
Stefanie Fluin
4918cd241f
feat(aio): search results and code margins styling
2017-03-25 06:55:59 +00:00
Stefanie Fluin
45983301d5
feat(aio): footer styling
2017-03-25 06:55:59 +00:00
Stefanie Fluin
acf57def13
feat(aio): marketing responsive items and footer
2017-03-25 06:55:59 +00:00