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

Unified Diff: sky/specs/modules.md

Issue 689763002: Specs: Pass the module last so that if we add other values later we don't shift things in the argum… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 months 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/specs/modules.md
diff --git a/sky/specs/modules.md b/sky/specs/modules.md
index bb337383430545c727e0b40f94962a556c153e75..0de65eb0c53589367bd0b59a322fbf5494086e17 100644
--- a/sky/specs/modules.md
+++ b/sky/specs/modules.md
@@ -61,8 +61,8 @@ The parser executes the contents of script elements inside a module as
if they were executed as follow:
```javascript
-(new Function(module, name_1, ..., name_n, source_code)).call(
- source_module, value_1, ..., value_n);
+(new Function(name_1, ..., name_n, module, source_code)).call(
+ value_1, ..., value_n, source_module);
```
Where ```name_1``` through ```name_n``` are the names bound to the
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698