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 15
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
Dec 13, 2013
1 parent
2acc258
commit d9be567
Showing
4 changed files
with
108 additions
and
138 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<link rel="import" href="../ace-element/ace-element.html"> | ||
<link rel="import" href="../chart-js/chart-js.html"> | ||
<link rel="import" href="../code-mirror/code-mirror.html"> | ||
<link rel="import" href="../cool-clock/cool-clock.html"> | ||
<!--<link rel="import" href="../flatiron-director/metadata.html"> | ||
<link rel="import" href="../g-kratu/metadata.html"> --> | ||
<link rel="import" href="../google-map/google-map.html"> | ||
<!-- <link rel="import" href="../humane-js/metadata.html"> | ||
<link rel="import" href="../js-beautify/metadata.html"> | ||
<link rel="import" href="../marked-js/metadata.html"> | ||
<link rel="import" href="../pdf-js/metadata.html"> | ||
<link rel="import" href="../pixi-js/metadata.html"> --> | ||
<link rel="import" href="../smoothie-chart/smoothie-chart.html"> | ||
<!--<link rel="import" href="../speech-mic/metadata.html"> | ||
<link rel="import" href="../speech-transcript/metadata.html"> | ||
<link rel="import" href="../tk-buildbot/metadata.html"> | ||
<link rel="import" href="../typeahead-input/metadata.html">--> | ||
<link rel="import" href="../wu-weather/wu-weather.html"> | ||
<!--<link rel="import" href="../x-binding/metadata.html"> | ||
<link rel="import" href="../x-designable/metadata.html"> | ||
<link rel="import" href="../x-designer/metadata.html"> | ||
<link rel="import" href="../x-dom-serializer/metadata.html"> | ||
<link rel="import" href="../x-editors/metadata.html"> | ||
<link rel="import" href="../x-file-document/metadata.html"> | ||
<link rel="import" href="../x-inspector/metadata.html"> | ||
<link rel="import" href="../x-live-edit/metadata.html"> | ||
<link rel="import" href="../x-meta/metadata.html"> | ||
<link rel="import" href="../x-output/metadata.html"> | ||
<link rel="import" href="../x-palette/metadata.html"> | ||
<link rel="import" href="../x-property-inspector/metadata.html"> | ||
<link rel="import" href="../x-tags/metadata.html"> | ||
<link rel="import" href="../x-tree/metadata.html"> --> | ||
<link rel="import" href="../yt-search-video/yt-search-video.html"> | ||
<link rel="import" href="../yt-search/yt-search.html"> | ||
<link rel="import" href="../yt-video/yt-video.html"> |
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 |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<!doctype html> | ||
<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; | ||
} | ||
iframe { | ||
border: none; | ||
margin: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
#remote { | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
} | ||
</style> | ||
<script src="../platform/platform.js"></script> | ||
<link rel="import" href="../polymer-home-page/polymer-home-page.html"> | ||
</head> | ||
<body> | ||
<img detector src="../polymer-home-page/bowager-logo.png" onerror="noviewer()"> | ||
<polymer-home-page ifviewer></polymer-home-page> | ||
<div ifnoviewer> | ||
<span id="remote">[remote]</span> | ||
<iframe></iframe> | ||
</div> | ||
<!-- --> | ||
<script> | ||
var remoteDocs = 'http://turbogadgetry.com/bowertopia/components/'; | ||
// if no local info viewer, load it remotely | ||
function noviewer() { | ||
document.body.setAttribute('noviewer', ''); | ||
var path = location.pathname.split('/'); | ||
var module = path.pop() || path.pop(); | ||
document.querySelector('iframe').src = remoteDocs + module; | ||
document.querySelector('title').textContent = module; | ||
} | ||
// for testing only | ||
var opts = window.location.search; | ||
if (opts.indexOf('noviewer') >= 0) { | ||
noviewer(); | ||
} | ||
</script> | ||
</body> | ||
</html> |
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
This file was deleted.
Oops, something went wrong.