| Index: sky/specs/script.md
|
| diff --git a/sky/specs/script.md b/sky/specs/script.md
|
| index 27b45ba7634589a18035e76da51dcbbbc615ab7d..d6033ff37311ec97718ca88a5dcebee987d0e978 100644
|
| --- a/sky/specs/script.md
|
| +++ b/sky/specs/script.md
|
| @@ -1,12 +1,15 @@
|
| Sky Script Language
|
| ===================
|
|
|
| -The Sky script language is JavaScript, with strict mode enabled.
|
| +The Sky script language is based on Dart.
|
|
|
| -The global object is as specified by the JavaScript specification,
|
| -with the following changes:
|
| +It has the following differences from Dart:
|
|
|
| - - An additional property, with the "global", whose value is the
|
| - global object itself.
|
| +- the 'library', 'part', 'import', 'export', and 'part of' directives
|
| + are not supported in sky (sky has its own module system)
|
|
|
| -The getOwnPropertyKeys() method is removed.
|
| +- ``<script>`` elements parse ``topLevelDefinition``s (there is no
|
| + ``libraryDefinition`` construct in the Sky Script Language).
|
| +
|
| +The way that Sky integrates the module system with its script language
|
| + is described in (modules.md)[modules.md].
|
|
|