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

Commit f184343

Browse files
committed
Merge pull request #3 from Polymer/removelayout
Remove core-layout usage
2 parents a6c09af + 077ee3d commit f184343

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

core-component-page.html

+7-8
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
</style>
1717

18-
<link rel="import" href="../core-layout/core-layout.html">
1918
<link rel="import" href="../core-doc-viewer/core-doc-viewer.html">
2019
<link rel="import" href="../core-toolbar/core-toolbar.html">
2120

@@ -30,35 +29,35 @@
3029
Therefore, this component is intended to be used only by itself in a page.
3130
3231
This *-dev package contains the raw source and the dependency manifest necessary
33-
to reconstruct `core-component-page\core-component-page.html` via vulcanize.
32+
to reconstruct `core-component-page/core-component-page.html` via vulcanize. To vulcanize,
33+
check out the core-component-page repo alongside this repo and run build.sh. This will
34+
drop the vulcanize output into `core-component-page/core-component-page.html`.
3435
35-
`<core-component-page>` will set the page title automatically.
36+
Note: `<core-component-page>` sets the page title automatically.
3637
3738
@group Polymer Core Elements
3839
@element core-component-page
3940
4041
-->
4142

42-
<polymer-element name="core-component-page" attributes="moduleName sources">
43+
<polymer-element name="core-component-page" attributes="moduleName sources" layout vertical>
4344

4445
<template>
4546

4647
<link rel="stylesheet" href="core-component-page.css">
4748

48-
<core-layout vertical></core-layout>
49-
5049
<core-toolbar class="appbar">
5150
<span>{{moduleName}}</span>
5251
<a class="choiceC" target="_blank" href="../{{moduleName}}/demo.html">demo</a>
5352
</core-toolbar>
5453

55-
<core-doc-viewer core-flex url="{{url}}" sources="{{sources}}"></core-doc-viewer>
54+
<core-doc-viewer flex url="{{url}}" sources="{{sources}}"></core-doc-viewer>
5655

5756
</template>
5857

5958
<script>
6059

61-
Polymer('core-component-page', {
60+
Polymer({
6261

6362
moduleName: '',
6463
// TODO(sjmiles): needed this to force Object type for deserialization

0 commit comments

Comments
 (0)