Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
use discrete selector for top toolbar to prevent lower-bound leakage …
Browse files Browse the repository at this point in the history
…under polyfills; modify vulcanization to not include Polymer itself, so we need to rebuild the component less frequently
  • Loading branch information
Scott J. Miles committed Apr 14, 2014
1 parent f6f9390 commit eab28ee
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.sh
@@ -1,3 +1,3 @@
#!/bin/bash

vulcanize core-component-page.html -o ../core-component-page/core-component-page.html --Xstrip --inline
vulcanize core-component-page.html -o ../core-component-page/core-component-page.html --Xstrip --inline --config vulcanize.json
2 changes: 1 addition & 1 deletion core-component-page.css
Expand Up @@ -37,7 +37,7 @@ h2 {
margin: 4px 0;
}

core-toolbar {
.appbar {
background-color: #E91E63;
color: white;
}
8 changes: 4 additions & 4 deletions core-component-page.html
Expand Up @@ -21,10 +21,10 @@

<!--
Implements the default home-page for Polymer components.
Implements the default landing page for Polymer components.
`<core-component-page>` can render a default information page for any component.
Polymer components use this component in `index.html` to provide a common landing page.
`<core-component-page>` can render an information page for any component.
Polymer components use this component in `index.html` to provide the standard landing page.
`<core-component-page>` is _vulcanized_, which means it contains all it's dependencies baked in.
Therefore, this component is intended to be used only by itself in a page.
Expand All @@ -47,7 +47,7 @@

<core-layout flow="v"></core-layout>

<core-toolbar>
<core-toolbar class="appbar">
<span>{{moduleName}}</span>
<a class="choiceC" target="_blank" href="../{{moduleName}}/demo.html">demo</a>
</core-toolbar>
Expand Down
5 changes: 5 additions & 0 deletions vulcanize.json
@@ -0,0 +1,5 @@
{
"excludes": {
"imports": [ "polymer.html" ]
}
}

0 comments on commit eab28ee

Please sign in to comment.