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

Side by Side Diff: pkg/polymer/lib/elements/polymer-view-source-link/polymer-view-source-link.html

Issue 175443005: [polymer] import all elements (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: updated from bower Created 6 years, 9 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!--
2 Copyright 2013 The Polymer Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style
4 license that can be found in the LICENSE file.
5 -->
6 <link rel="import" href="../polymer/polymer.html">
7 <polymer-element name="polymer-view-source-link" target="_blank" extends="a">
8 <script>
9 Polymer('polymer-view-source-link', {
10 ready: function() {
11 var href = this.getAttribute('href') || window.location;
12 this.setAttribute('href', 'view-source:' + href);
13 }
14 });
15 </script>
16 </polymer-element>
OLDNEW
« no previous file with comments | « pkg/polymer/lib/elements/polymer-view-source-link/index.html ('k') | pkg/polymer/lib/elements/polymer/.bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698