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

Commit

Permalink
Merge pull request #3 from Polymer/removelayout
Browse files Browse the repository at this point in the history
Remove core-layout usage
  • Loading branch information
ebidel committed Aug 28, 2014
2 parents a6c09af + 077ee3d commit f184343
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions core-component-page.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

</style>

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

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

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

<template>

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

<core-layout vertical></core-layout>

<core-toolbar class="appbar">
<span>{{moduleName}}</span>
<a class="choiceC" target="_blank" href="../{{moduleName}}/demo.html">demo</a>
</core-toolbar>

<core-doc-viewer core-flex url="{{url}}" sources="{{sources}}"></core-doc-viewer>
<core-doc-viewer flex url="{{url}}" sources="{{sources}}"></core-doc-viewer>

</template>

<script>

Polymer('core-component-page', {
Polymer({

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

0 comments on commit f184343

Please sign in to comment.