mirror of
https://github.com/jlengrand/webcomponentsjs.git
synced 2026-03-10 08:51:22 +00:00
ShadowCss -> ShadowCSS
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"build/boot.js",
|
||||
"build/if-poly.js",
|
||||
"../ShadowDOM/build.json",
|
||||
"../ShadowCss/ShadowCss.js",
|
||||
"../ShadowCSS/ShadowCSS.js",
|
||||
"build/end-if.js",
|
||||
"shadowdom.js",
|
||||
"../HTMLImports/build.json",
|
||||
|
||||
@@ -4,7 +4,7 @@ Copyright 2013 The Polymer Authors. All rights reserved.
|
||||
Use of this source code is governed by a BSD-style
|
||||
license that can be found in the LICENSE file.
|
||||
-->
|
||||
<title>ShadowCss Tests</title>
|
||||
<title>ShadowCSS Tests</title>
|
||||
<meta charset="utf-8">
|
||||
|
||||
<!-- Mocha/Chai -->
|
||||
|
||||
@@ -24,7 +24,7 @@ license that can be found in the LICENSE file.
|
||||
<script src="CustomElements/tests.js"></script>
|
||||
<script src="HTMLImports/tests.js"></script>
|
||||
<script src="ShadowDOM/tests.js"></script>
|
||||
<script src="ShadowCss/tests.js"></script>
|
||||
<script src="ShadowCSS/tests.js"></script>
|
||||
<script src="WebComponents/tests.js"></script>
|
||||
|
||||
<script>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
(function() {
|
||||
|
||||
// Establish scope.
|
||||
window.WebComponents = window.WebComponents || {flags:{}};
|
||||
window.WebComponents = window.WebComponents || {flags:{}};
|
||||
|
||||
// loading script
|
||||
var file = 'webcomponents.js';
|
||||
@@ -44,7 +44,7 @@
|
||||
// Determine default settings.
|
||||
// If any of these flags match 'native', then force native ShadowDOM; any
|
||||
// other truthy value, or failure to detect native
|
||||
// ShadowDOM, results in polyfill
|
||||
// ShadowDOM, results in polyfill
|
||||
flags.shadow = (flags.shadow || flags.shadowdom || flags.polyfill);
|
||||
if (flags.shadow === 'native') {
|
||||
flags.shadow = false;
|
||||
@@ -60,7 +60,7 @@
|
||||
var ShadowDOMPolyfill = [
|
||||
'ShadowDOM/ShadowDOM.js',
|
||||
'WebComponents/shadowdom.js',
|
||||
'ShadowCss/ShadowCSS.js'
|
||||
'ShadowCSS/ShadowCSS.js'
|
||||
];
|
||||
|
||||
// select ShadowDOM impl
|
||||
@@ -83,12 +83,12 @@
|
||||
|
||||
var src = script.getAttribute('src');
|
||||
var path = src.slice(0, src.lastIndexOf(file));
|
||||
|
||||
|
||||
modules.forEach(function(f) {
|
||||
document.write('<script src="' + path + 'src/' + f + '"></script>');
|
||||
});
|
||||
|
||||
// exports
|
||||
// exports
|
||||
WebComponents.flags = flags;
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user