ShadowCss -> ShadowCSS

This commit is contained in:
Ian MacLeod
2014-10-31 17:12:52 -07:00
parent ff9300cb7f
commit a9441a29c6
5 changed files with 8 additions and 8 deletions

View File

@@ -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",

View File

@@ -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 -->

View File

@@ -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>

View File

@@ -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;
})();