Separate scripts that modify configuration properties, as their ordering constraints are unusual.

This commit is contained in:
Peter Burns
2017-08-03 12:20:16 -07:00
parent c89155babb
commit 49dbacb62c
2 changed files with 6 additions and 7 deletions
+2 -3
View File
@@ -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;
+4 -4
View File
@@ -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);