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

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

Issue 335943003: merge to trunk all changes from 36817 until 37378 under the packages: polymer, (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
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
« no previous file with comments | « pkg/polymer/lib/src/js/polymer/polymer.js ('k') | pkg/polymer/lib/src/js/polymer/polymer.concat.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/src/js/polymer/polymer-body.html
===================================================================
--- pkg/polymer/lib/src/js/polymer/polymer-body.html (revision 37373)
+++ 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 | « pkg/polymer/lib/src/js/polymer/polymer.js ('k') | pkg/polymer/lib/src/js/polymer/polymer.concat.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698