This repository was archived by the owner on Sep 20, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +8
-4
lines changed
Expand file tree Collapse file tree 5 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ var file = 'CustomElements.js';
2828
2929var modules = [
3030 '../WeakMap/WeakMap.js' ,
31+ '../MutationObserver/MutationObserver.js' ,
3132 'base.js' ,
3233 'traverse.js' ,
3334 'observe.js' ,
Original file line number Diff line number Diff line change 11[
22 " ../WeakMap/WeakMap.js" ,
3+ " ../MutationObserver/MutationObserver.js" ,
34 " base.js" ,
45 " traverse.js" ,
56 " observe.js" ,
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ var file = 'HTMLImports.js';
2727
2828var modules = [
2929 '../WeakMap/WeakMap.js' ,
30+ '../MutationObserver/MutationObserver.js' ,
3031 'base.js' ,
3132 'module.js' ,
3233 'path.js' ,
Original file line number Diff line number Diff line change 11[
22 " ../WeakMap/WeakMap.js" ,
3+ " ../MutationObserver/MutationObserver.js" ,
34 " base.js" ,
45 " module.js" ,
56 " path.js" ,
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ window.WebComponents = window.WebComponents || {};
1111
1212// process flags
1313( function ( scope ) {
14-
14+
1515 // import
1616 var flags = scope . flags || { } ;
17-
17+
1818 var file = 'webcomponents.js' ;
1919 var script = document . querySelector ( 'script[src*="' + file + '"]' ) ;
2020
@@ -34,7 +34,7 @@ window.WebComponents = window.WebComponents || {};
3434 }
3535 }
3636 // log flags
37- if ( flags . log ) {
37+ if ( flags . log && flags . log . split ) {
3838 var parts = flags . log . split ( ',' ) ;
3939 flags . log = { } ;
4040 parts . forEach ( function ( f ) {
@@ -48,7 +48,7 @@ window.WebComponents = window.WebComponents || {};
4848 // Determine default settings.
4949 // If any of these flags match 'native', then force native ShadowDOM; any
5050 // other truthy value, or failure to detect native
51- // ShadowDOM, results in polyfill
51+ // ShadowDOM, results in polyfill
5252 flags . shadow = ( flags . shadow || flags . shadowdom || flags . polyfill ) ;
5353 if ( flags . shadow === 'native' ) {
5454 flags . shadow = false ;
You can’t perform that action at this time.
0 commit comments