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

Commit

Permalink
Add view information for "@extends" pragma
Browse files Browse the repository at this point in the history
Add dependency for core-icons
  • Loading branch information
dfreedm committed May 13, 2014
1 parent 0704380 commit c9e8f6d
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 34 deletions.
3 changes: 2 additions & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
"core-menu": "Polymer/core-menu#master",
"core-item": "Polymer/core-item#master",
"core-toolbar": "Polymer/core-toolbar#master",
"core-icons": "Polymer/core-icons#master",
"core-icon-button": "Polymer/core-icon-button#master",
"core-header-panel": "Polymer/core-header-panel#master",
"marked-element": "PolymerLabs/marked-element#master",
"highlightjs-element": "PolymerLabs/highlightjs-element#master"
}
}
}
64 changes: 32 additions & 32 deletions demo.html
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
<!doctype html>
<html>
<head>

<title>core-doc-viewer</title>

<script src="../platform/platform.js"></script>

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

<style>

html, body {
font-family: Arial, sans-serif;
margin: 0;
}

core-doc-viewer {
height: 100vh;
}

</style>

</head>

<body unresolved>

<!doctype html>
<html>
<head>

<title>core-doc-viewer</title>

<script src="../platform/platform.js"></script>

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

<style>

html, body {
font-family: Arial, sans-serif;
margin: 0;
}

core-doc-viewer {
height: 100vh;
}

</style>

</head>

<body unresolved>

<core-doc-viewer sources='[
"../core-ajax/core-ajax.html",
"../core-ajax/core-xhr.html"
]'></core-doc-viewer>

</body>

</html>
]'></core-doc-viewer>

</body>

</html>
10 changes: 9 additions & 1 deletion elements/core-doc-page.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<link rel="import" href="../../core-layout/core-layout.html">
<link rel="import" href="../../core-icons/core-icons.html">
<link rel="import" href="../../core-icon-button/core-icon-button.html">
<link rel="import" href="../../core-toolbar/core-toolbar.html">
<link rel="import" href="../../core-header-panel/core-header-panel.html">
Expand Down Expand Up @@ -42,9 +43,16 @@ <h1 style="font-size: 52px; color: #E91E63;">
</h1>

<p>
<core-icon icon="tag" style="vertical-align: middle;"></core-icon>&nbsp;<a href="{{data | homepageFilter}}">Home Page</a>
<core-icon icon="home" style="vertical-align: middle;"></core-icon>&nbsp;<a href="{{data | homepageFilter}}">Home Page</a>
</p>

<template if="{{data.extends}}">
<section class="box">
<div class="ntitle">Extends</div>
<a href="#{{data.extends}}">{{data.extends}}</a>
</section>
</template>

<template if="{{data.description}}">
<section class="box top">
<div class="ntitle">Summary</div>
Expand Down

0 comments on commit c9e8f6d

Please sign in to comment.