Use module.exports rather than this.exports

R=esprehn@chromium.org

Review URL: https://codereview.chromium.org/687263005
This commit is contained in:
Adam Barth 2014-10-29 15:21:28 -07:00
parent aa58f474f5
commit 681ec14ced
3 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ function register(name, options)
} catch (e) { console.log(e); }
}
this.exports = {
module.exports = {
setupObjectHooks: setupObjectHooks,
exerciseDocumentRegister: exerciseDocumentRegister,
register: register,

View File

@ -1,7 +1,7 @@
<link rel="import" href="../../resources/dump-as-text.sky" />
<link rel="import" href="pass.sky" as="banana" />
<script>
this.exports = {
module.exports = {
message: banana,
};
</script>

View File

@ -1,3 +1,3 @@
<script>
this.exports = "PASS: pass.sky succesfully exported this string."
module.exports = "PASS: pass.sky succesfully exported this string."
</script>