mirror of
https://github.com/Polymer/polymer.git
synced 2026-08-17 16:34:49 -05:00
Separate scripts that modify configuration properties, as their ordering constraints are unusual.
This commit is contained in:
@@ -306,16 +306,15 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
||||
|
||||
<x-compose-lazy-no-dist><span>Child</span></x-compose-lazy-no-dist>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
if (!window.ShadyDOM) {
|
||||
ShadyDOM = {
|
||||
patch: function() {},
|
||||
flush: function() {}
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
<script>
|
||||
function createPatchedDocumentFragment() {
|
||||
var frag = document.createDocumentFragment();
|
||||
return frag;
|
||||
|
||||
@@ -802,17 +802,17 @@ HTMLImports.whenReady(function() {
|
||||
<x-outer>
|
||||
<button>click me</button>
|
||||
</x-outer>
|
||||
|
||||
<script>
|
||||
|
||||
'use strict';
|
||||
|
||||
if (!window.ShadyDOM) {
|
||||
ShadyDOM = {
|
||||
patch: function() {},
|
||||
flush: function() {}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
|
||||
'use strict';
|
||||
|
||||
function createEnabledElement(tag) {
|
||||
var e = document.createElement(tag);
|
||||
|
||||
Reference in New Issue
Block a user