提交 9f28d58d 编写于 作者: H Hixie

Specs: rename sky:core to dart:sky

Review URL: https://codereview.chromium.org/925923004
上级 1d3f70fc
......@@ -31,9 +31,7 @@ Notes
```
magical imports:
the core mojo fabric JS API sky:mojo:fabric:core
the asyncWait/cancelWait mojo fabric JS API (interface to IPC thread) sky:mojo:fabric:ipc
the mojom for the shell, proxying through C++ so that the shell pipe isn't exposed sky:mojo:shell
the sky API sky:core
the sky debug symbols for private APIs sky:debug
the mojo fabric API dart:mojo
the mojom for the shell, proxying through C++ so that the shell pipe isn't exposed dart:mojo-shell
the Sky API dart:sky
```
......@@ -32,7 +32,7 @@ Easing Functions
----------------
```dart
// part of the framework, not sky:core
// part of the framework, not dart:sky
typedef void AnimationCallback();
......
......@@ -3,7 +3,7 @@ Sky DOM APIs
```dart
SKY MODULE
<!-- part of sky:core -->
<!-- part of dart:sky -->
<script>
// ELEMENT TREE API
......
......@@ -3,7 +3,7 @@ Sky Event Model
```dart
SKY MODULE
<!-- part of sky:core -->
<!-- part of dart:sky -->
<script>
import 'dart:collection';
......
......@@ -3,7 +3,7 @@ Gestures
```dart
SKY MODULE
<!-- part of sky:core -->
<!-- part of dart:sky -->
<script>
abstract class GestureEvent extends Event {
......@@ -261,7 +261,7 @@ Gestures defined in the framework
```dart
SKY MODULE
<!-- not in sky:core -->
<!-- not in dart:sky -->
<!-- note: this hasn't been dartified yet -->
<script>
......
......@@ -149,7 +149,7 @@ that everything of note would be provided by frameworks.
The following elements are implicitly registered by default, even if
you haven't imported anything. You can get to their constructors if
you import sky:core (basically, sky:core is always imported by defaul;
you import dart:sky (basically, dart:sky is always imported by defaul;
it's the runtime library). None of these elements have shadow trees.
``<import src="foo.sky">``
......
......@@ -36,7 +36,7 @@ Module API
----------
Each module consists of one or more libraries. The first library in a
module is the *element tree library*, which imports the sky:core
module is the *element tree library*, which imports the dart:sky
module and then consists of the following code for a Sky module:
```dart
......@@ -51,7 +51,7 @@ final Module module = new Application();
The ``<script>`` elements found in the document create the subsequent
libraries. Each one first imports the ``dart:mirror`` library, then
the ``sky:core`` module, then the first library described above, then
the ``dart:sky`` module, then the first library described above, then
all the modules referenced by ``<import>`` element up to that
``<script>`` element and all the libraries defined by ``<script>``
elements up to that point, interleaved so as to maintain the same
......@@ -83,7 +83,7 @@ Then, that ``main()`` function is called.
TODO(ianh): decide what URL and name we should give the libraries, as
exposed in MirrorSystem.getName(libraryMirror.qualifiedName) etc
The ``Module`` class is defined in ``sky:core`` as follows:
The ``Module`` class is defined in ``dart:sky`` as follows:
```dart
abstract class AbstractModule extends EventTarget {
......
......@@ -803,7 +803,7 @@ _document_ (this is implemented in JS):
_imported modules_ contains no entries with unresolved
promises.
2. If the tag name is not registered, then let the ErrorElement
constructor from sky:core be the element constructor.
constructor from dart:sky be the element constructor.
Otherwise, let the element constructor be the registered
element's constructor for that tag name in this module.
3. Create an element _node_ with the attributes given by the
......
......@@ -31,7 +31,7 @@ The ``@nonnull`` annotation does nothing in code not marked
purposes. It indicates places where providing a null is a contract
violation and that results are therefore likely to be poor.
The following definitions are exposed in ``sky:core``:
The following definitions are exposed in ``dart:sky``:
```dart
abstract class AutomaticMetadata {
......
......@@ -269,7 +269,7 @@ StyleNode
*/
```
The types marked with * in the list above are not part of sky:core,
The types marked with * in the list above are not part of dart:sky,
and are only shown here to illustrate what kinds of extensions are
possible and where they would fit.
......@@ -454,7 +454,7 @@ PropertyHandle registerProperty(PropertySettings propertySettings);
// registers a property with the given settings, and returns an integer >= 0
// that can be used to refer to this property
// sky:core exports a bunch of style grammars so that people can extend them
// dart:sky exports a bunch of style grammars so that people can extend them
attribute StyleGrammar PositiveLengthOrInfinityStyleGrammar; // resolves to LengthStyleValue
attribute StyleGrammar PositiveLengthOrAutoStyleGrammar; // resolves to LengthStyleValue or IdentifierStyleValue (with value 'auto')
attribute StyleGrammar PositiveLengthStyleGrammar; // resolves to LengthStyleValue
......@@ -564,7 +564,7 @@ class Rule {
Each frame, at some defined point relative to requestAnimationFrame(),
if a Rule has started applying, or a Rule stopped applying, to an
element, sky:core calls thatElement.style.clearFrameStyles() and then,
element, dart:sky calls thatElement.style.clearFrameStyles() and then,
for each Rule that now applies, calls
thatElement.style.addFrameStyles() with the relevant StyleDeclaration
and pseudoElement from each such Rule.
......@@ -760,7 +760,7 @@ the Node inherited everything inheritable from its parent.
Layout
------
sky:core registers 'display' as follows:
dart:sky registers 'display' as follows:
```javascript
{
......@@ -778,7 +778,7 @@ The following API is then used to add new layout manager types to 'display':
void registerLayoutManager(String displayValue, LayoutManagerConstructor? layoutManager);
```
sky:core by default registers:
dart:sky by default registers:
- 'block': sky.BlockLayoutManager
- 'paragraph': sky.ParagraphLayoutManager
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册