Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(346)

Unified Diff: sky/specs/apis.md

Issue 730223002: Specs: default exports to {} rather than document, since it makes writing modules saner (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/examples/radio.sky ('k') | sky/specs/modules.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/specs/apis.md
diff --git a/sky/specs/apis.md b/sky/specs/apis.md
index b75b5aae73982bbb496342b0ea00ff8e540ff89b..82ce195e528fc6495b57f110c10b68de4bff25d0 100644
--- a/sky/specs/apis.md
+++ b/sky/specs/apis.md
@@ -311,7 +311,7 @@ module 'sky:core' {
constructor (Application application, Document document, String url); // O(1)
readonly attribute Application application; // O(1)
- attribute any exports; // O(1) // defaults to the module's document
+ attribute any exports; // O(1) // defaults to {}
}
class Application : AbstractModule {
« no previous file with comments | « sky/examples/radio.sky ('k') | sky/specs/modules.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698