Commit 48b49a8c authored by Hixie's avatar Hixie

Specs: default exports to {} rather than document, since it makes writing modules saner

Review URL: https://codereview.chromium.org/730223002
parent fe9b9d21
...@@ -21,7 +21,7 @@ SKY MODULE - defines an <element> element ...@@ -21,7 +21,7 @@ SKY MODULE - defines an <element> element
<script> <script>
module.exports.Element = sky.registerElement({ module.exports.Element = sky.registerElement({
tagName: 'element', tagName: 'element',
prototype: class extends Element { constructor: class extends Element {
constructor (module) { constructor (module) {
super(); super();
this.state = 'loading'; this.state = 'loading';
......
SKY MODULE - radio button and radio button group SKY MODULE - radio button and radio button group
<!-- accessibility handling not implemented yet, pending mojo service --> <!-- accessibility handling not implemented yet, pending mojo service -->
<script>
module.exports = {};
</script>
<!-- <radio> --> <!-- <radio> -->
<template id="radio-shadow"> <template id="radio-shadow">
<style> <style>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment