@webcomponents/webcomponentsjs
Version:
Web Components Polyfills
34 lines (33 loc) • 1.4 kB
HTML
<!--
@license
Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->
<html>
<head>
<title></title>
<meta charset="UTF-8">
<script src="../webcomponents-bundle.js" log="foo,boo" squid="never" spoo></script>
<script src="./wct-config.js"></script>
<script src="../node_modules/wct-browser-legacy/browser.js"></script>
</head>
<body>
<script>
suite('Development Loader', function() {
test('loader', function() {
assert(window.WebComponents, 'WebComponents scope missing');
assert.equal(WebComponents.flags.squid, 'never', '"squid" flag missing');
assert(WebComponents.flags.spoo, '"spoo" flag missing');
assert(WebComponents.flags.log, 'flags.log missing');
assert(WebComponents.flags.log.foo, 'flags.log.foo missing');
assert(WebComponents.flags.log.boo, 'flags.log.foo missing');
});
});
</script>
</body>
</html>