This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Scott J. Miles
committed
Apr 14, 2014
1 parent
2a23e79
commit dab8853
Showing
1 changed file
with
16 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,23 @@ | ||
<!doctype html> | ||
<!-- | ||
Copyright (c) 2014 The Polymer Project Authors. All rights reserved. | ||
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE | ||
The complete set of authors may be found at http://polymer.github.io/AUTHORS | ||
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS | ||
Code distributed by Google as part of the polymer project is also | ||
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS | ||
--> | ||
<html> | ||
<head> | ||
|
||
<title>polymer api</title> | ||
|
||
<style> | ||
html, body { | ||
font-family: Arial, sans-serif; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
} | ||
[noviewer] [ifnoviewer] { | ||
display: block; | ||
} | ||
[detector], [ifnoviewer], [noviewer] [ifviewer] { | ||
display: none; | ||
} | ||
[ifviewer], [ifnoviewer] { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
bottom: 0; | ||
left: 0; | ||
} | ||
div[ifnoviewer] { | ||
padding: 10px; | ||
} | ||
code { | ||
font-size: 1.5em; | ||
} | ||
</style> | ||
|
||
<script src="../platform/platform.js"></script> | ||
|
||
<link rel="import" href="../polymer-home-page/polymer-home-page.html"> | ||
<link rel="import" href="../polymer/polymer.html"> | ||
<link rel="import" href="../core-component-page/core-component-page.html"> | ||
|
||
</head> | ||
<body> | ||
|
||
<img detector src="../polymer-home-page/bowager-logo.png" onerror="noviewer()"> | ||
|
||
<polymer-home-page ifviewer></polymer-home-page> | ||
|
||
<div ifnoviewer> | ||
|
||
<h3>Component documentation and information will appear here if you install the <a href="//github.com/Polymer/polymer-home-page">polymer-home-page</a> component:</h3> | ||
<hr> | ||
<p>To install with bower:</p> | ||
<code>bower install Polymer/polymer-home-page</code> | ||
|
||
</div> | ||
|
||
<script> | ||
var path = location.pathname.split('/'); | ||
var module = path.pop() || path.pop(); | ||
document.querySelector('title').textContent = module; | ||
|
||
function noviewer() { | ||
document.body.setAttribute('noviewer', ''); | ||
} | ||
|
||
// for testing only | ||
var opts = window.location.search; | ||
if (opts.indexOf('noviewer') >= 0) { | ||
noviewer(); | ||
} | ||
</script> | ||
|
||
<body unresolved> | ||
|
||
<core-component-page></core-component-page> | ||
|
||
</body> | ||
</html> | ||
</html> |