Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Expand component view with example viewer #33

Merged
merged 13 commits into from
Dec 20, 2016

Conversation

jelbourn
Copy link
Member

  • Add DocumentationItems service
  • Add content to ComponentView sidenav
  • Rebase and add functionality to ExampleViewer
  • Add script to syntax-highlight example assets

I want to get this PR in so that @amitafr can start working on styles. Currently working on unit tests for ExampleViewer

@mmalerba
Copy link
Collaborator

lgtm, I have an updated version of the button (and other) examples, but we can always update those in a follow up pr

Copy link
Contributor

@tinayuangao tinayuangao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

* The list of all example components.
* We need to put them in both `declarations` and `entryComponents` to make them work.
*/
export const EXAMPLE_LIST = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

get the list from EXAMPLE_COMPONENT so we don't have to write them twice?

Copy link
Member Author

@jelbourn jelbourn Dec 20, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can't- doing that would be incompatible with AoT because the values have to be static constants.

@jelbourn jelbourn merged commit ff9cf2e into angular:master Dec 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants