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
<script>
module.exports.Element = sky.registerElement({
tagName: 'element',
prototype: class extends Element {
constructor: class extends Element {
constructor (module) {
super();
this.state = 'loading';
......
SKY MODULE - radio button and radio button group
<!-- accessibility handling not implemented yet, pending mojo service -->
<script>
module.exports = {};
</script>
<!-- <radio> -->
<template id="radio-shadow">
<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