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

Unified Diff: dart/pkg/polymer/lib/src/js/polymer/polymer-body.html

Issue 336013003: Version 1.5.0-dev.4.14 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: dart/pkg/polymer/lib/src/js/polymer/polymer-body.html
===================================================================
--- dart/pkg/polymer/lib/src/js/polymer/polymer-body.html (revision 37358)
+++ dart/pkg/polymer/lib/src/js/polymer/polymer-body.html (working copy)
@@ -1,33 +0,0 @@
-<polymer-element name="polymer-body" extends="body">
-
- <script>
-
- // upgrade polymer-body last so that it can contain other imported elements
- document.addEventListener('polymer-ready', function() {
-
- Polymer('polymer-body', Platform.mixin({
-
- created: function() {
- this.template = document.createElement('template');
- var body = wrap(document).body;
- var c$ = body.childNodes.array();
- for (var i=0, c; (c=c$[i]); i++) {
- if (c.localName !== 'script') {
- this.template.content.appendChild(c);
- }
- }
- // snarf up user defined model
- window.model = this;
- },
-
- parseDeclaration: function(elementElement) {
- this.lightFromTemplate(this.template);
- }
-
- }, window.model));
-
- });
-
- </script>
-
-</polymer-element>
« no previous file with comments | « dart/pkg/polymer/lib/src/js/polymer/polymer.js ('k') | dart/pkg/polymer/lib/src/js/polymer/polymer.concat.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698