Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Side by Side Diff: polymer_0.4.0/bower_components/core-component-page/core-component-page.html

Issue 786953007: npm_modules: Fork bower_components into Polymer 0.4.0 and 0.5.0 versions (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 2 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
3 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 3 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 4 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
5 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 5 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
6 Code distributed by Google as part of the polymer project is also 6 Code distributed by Google as part of the polymer project is also
7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 7 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
8 --> 8 -->
9 9
10 <style>body{margin:0}</style> 10 <style>body{margin:0}</style>
(...skipping 17 matching lines...) Expand all
28 drop the vulcanize output into `core-component-page/core-component-page.html`. 28 drop the vulcanize output into `core-component-page/core-component-page.html`.
29 29
30 Note: `<core-component-page>` sets the page title automatically. 30 Note: `<core-component-page>` sets the page title automatically.
31 31
32 @group Polymer Core Elements 32 @group Polymer Core Elements
33 @element core-component-page 33 @element core-component-page
34 34
35 --> 35 -->
36 36
37 <polymer-element name="core-component-page" attributes="moduleName sources" layo ut="" vertical="" assetpath="../core-component-page-dev/"><template><style>:host {font-family:Arial,sans-serif;height:100vh}h2{display:inline-block;margin:8px 6p x;vertical-align:middle}.choiceB,.choiceC,.choiceD{color:#fff;font-size:12px;fon t-weight:700;text-decoration:none;background-color:#4285F4;box-shadow:0 1px 2px 0 rgba(0,0,0,.1);box-shadow:0 0 1px 0 rgba(0,0,0,.1);border-radius:2px;cursor:po inter;display:inline-block;padding:4px 12px 5px 12px;margin:4px 0}.appbar{backgr ound-color:#E91E63;color:#fff}</style><core-toolbar class="appbar"><span>{{modul eName}}</span><a class="choiceC" target="_blank" href="../{{moduleName}}/demo.ht ml">demo</a></core-toolbar><core-doc-viewer flex="" url="{{url}}" sources="{{sou rces}}"></core-doc-viewer></template><script>Polymer("core-component-page",{modu leName:"",sources:[],ready:function(){this.moduleName=this.moduleName||this.find ModuleName()},moduleNameChanged:function(){document.title=this.moduleName;this.u rl=!this.sources.length&&this.moduleName?this.moduleName+".html":""},findModuleN ame:function(){var path=location.pathname.split("/");var name=path.pop()||path.p op();if(name.indexOf(".html")>=0){name=path.pop()}return name||""}});</script></ polymer-element> 37 <polymer-element name="core-component-page" attributes="moduleName sources" layo ut="" vertical="" assetpath="../core-component-page-dev/"><template><style>:host {font-family:Arial,sans-serif;height:100vh}h2{display:inline-block;margin:8px 6p x;vertical-align:middle}.choiceB,.choiceC,.choiceD{color:#fff;font-size:12px;fon t-weight:700;text-decoration:none;background-color:#4285F4;box-shadow:0 1px 2px 0 rgba(0,0,0,.1);box-shadow:0 0 1px 0 rgba(0,0,0,.1);border-radius:2px;cursor:po inter;display:inline-block;padding:4px 12px 5px 12px;margin:4px 0}.appbar{backgr ound-color:#E91E63;color:#fff}</style><core-toolbar class="appbar"><span>{{modul eName}}</span><a class="choiceC" target="_blank" href="../{{moduleName}}/demo.ht ml">demo</a></core-toolbar><core-doc-viewer flex="" url="{{url}}" sources="{{sou rces}}"></core-doc-viewer></template><script>Polymer("core-component-page",{modu leName:"",sources:[],ready:function(){this.moduleName=this.moduleName||this.find ModuleName()},moduleNameChanged:function(){document.title=this.moduleName;this.u rl=!this.sources.length&&this.moduleName?this.moduleName+".html":""},findModuleN ame:function(){var path=location.pathname.split("/");var name=path.pop()||path.p op();if(name.indexOf(".html")>=0){name=path.pop()}return name||""}});</script></ polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698