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

Side by Side Diff: sky/specs/script.md

Issue 878453003: Specs: dartification of script.md (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 unified diff | Download patch
« no previous file with comments | « sky/specs/modules.md ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Sky Script Language 1 Sky Script Language
2 =================== 2 ===================
3 3
4 The Sky script language is JavaScript, with strict mode enabled. 4 The Sky script language is based on Dart.
5 5
6 The global object is as specified by the JavaScript specification, 6 It has the following differences from Dart:
7 with the following changes:
8 7
9 - An additional property, with the "global", whose value is the 8 - the 'library', 'part', 'import', 'export', and 'part of' directives
10 global object itself. 9 are not supported in sky (sky has its own module system)
11 10
12 The getOwnPropertyKeys() method is removed. 11 - ``<script>`` elements parse ``topLevelDefinition``s (there is no
12 ``libraryDefinition`` construct in the Sky Script Language).
13
14 The way that Sky integrates the module system with its script language
15 is described in (modules.md)[modules.md].
OLDNEW
« no previous file with comments | « sky/specs/modules.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698