From 79d0a5022e38c6d7cd9d06dd17f694a12f99a2b6 Mon Sep 17 00:00:00 2001 From: Alex Wolfe Date: Mon, 20 Apr 2015 13:57:43 -0700 Subject: [PATCH] added updated api content --- public/_includes/_docs-nav.jade | 2 +- public/docs/js/latest/api/_data.json | 14 +- public/docs/js/latest/api/angular2/_data.json | 1 + .../js/latest/api/angular2_sfx/_data.json | 1 + .../api/annotations/Ancestor-class.jade | 3 +- .../api/annotations/Attribute-class.jade | 3 +- .../api/annotations/Decorator-class.jade | 9 +- .../annotations/DynamicComponent-class.jade | 7 +- .../latest/api/annotations/Parent-class.jade | 3 +- .../api/annotations/PropertySetter-class.jade | 3 +- .../latest/api/annotations/Query-class.jade | 7 +- .../js/latest/api/annotations/View-class.jade | 13 +- .../api/annotations/Viewport-class.jade | 15 +- .../api/annotations/component-class.jade | 17 +- .../api/annotations/directive-class.jade | 76 +++--- .../latest/api/annotations/onDestroy-var.jade | 2 +- .../ChangeDetection-class.jade | 15 +- .../ChangeDetectorRef-class.jade | 14 +- .../DynamicChangeDetection-class.jade | 8 +- .../JitChangeDetection-class.jade | 8 +- .../api/change_detection/LifeCycle-class.jade | 13 +- .../api/core/ExceptionHandler-class.jade | 3 +- .../js/latest/api/core/NgElement-class.jade | 6 +- .../js/latest/api/core/VmTurnZone-class.jade | 107 +++++++++ public/docs/js/latest/api/core/_data.json | 4 + .../latest/api/core/bootstrap-function.jade | 22 +- .../docs/js/latest/api/di/Binding-class.jade | 41 ++-- .../latest/api/di/BindingBuilder-class.jade | 44 ++-- .../docs/js/latest/api/di/Injector-class.jade | 65 +++--- public/docs/js/latest/api/di/Key-class.jade | 20 +- .../latest/api/di/ResolvedBinding-class.jade | 75 ++++++ public/docs/js/latest/api/di/_data.json | 4 + .../docs/js/latest/api/di/bind-function.jade | 11 +- .../DependencyAnnotation-class.jade | 8 +- .../api/di_annotations/Inject-class.jade | 5 +- .../api/di_annotations/InjectLazy-class.jade | 3 +- .../di_annotations/InjectPromise-class.jade | 5 +- .../api/di_annotations/Injectable-class.jade | 9 +- .../api/di_annotations/Optional-class.jade | 9 +- .../di_errors/AbstractBindingError-class.jade | 92 ++++++++ .../di_errors/AsyncBindingError-class.jade | 9 +- .../CyclicDependencyError-class.jade | 7 +- .../di_errors/InstantiationError-class.jade | 7 +- .../di_errors/InvalidBindingError-class.jade | 8 +- .../di_errors/NoAnnotationError-class.jade | 12 +- .../api/di_errors/NoBindingError-class.jade | 25 ++ .../docs/js/latest/api/di_errors/_data.json | 8 +- .../js/latest/api/directives/For-class.jade | 15 +- .../js/latest/api/directives/If-class.jade | 6 +- .../latest/api/directives/Switch-class.jade | 6 +- .../api/directives/SwitchDefault-class.jade | 3 +- .../api/directives/SwitchWhen-class.jade | 6 +- .../CheckboxControlValueAccessor-class.jade | 6 +- .../js/latest/api/forms/Control-class.jade | 10 +- .../latest/api/forms/ControlArray-class.jade | 28 +-- .../api/forms/ControlDirective-class.jade | 8 +- .../latest/api/forms/ControlGroup-class.jade | 25 +- .../forms/ControlGroupDirective-class.jade | 14 +- .../api/forms/DefaultValueAccessor-class.jade | 8 +- .../latest/api/forms/FormBuilder-class.jade | 13 +- .../js/latest/api/forms/Validators-class.jade | 15 +- .../pipes/CollectionChangeRecord-class.jade | 6 +- .../api/pipes/IterableChanges-class.jade | 33 +-- .../api/pipes/KVChangeRecord-class.jade | 6 +- .../api/pipes/KeyValueChanges-class.jade | 33 +-- .../pipes/KeyValueChangesFactory-class.jade | 6 +- .../js/latest/api/pipes/NullPipe-class.jade | 12 +- .../api/pipes/NullPipeFactory-class.jade | 6 +- .../docs/js/latest/api/pipes/Pipe-class.jade | 11 +- public/docs/js/latest/api/pipes/_data.json | 8 + .../js/latest/api/pipes/iterableDiff-var.jade | 9 + .../js/latest/api/pipes/keyValDiff-var.jade | 9 + .../change_detection/_data.json | 8 + .../change_detection_jit_generator/_data.json | 5 + .../core/compiler/base_query_list/_data.json | 5 + .../testability/get_testability/_data.json | 5 + .../api/src/core/zone/vm_turn_zone/_data.json | 5 + .../latest/api/src/di/exceptions/_data.json | 8 +- .../api/src/dom/browser_adapter/_data.json | 5 + .../js/latest/api/src/facade/async/_data.json | 21 ++ .../latest/api/src/facade/browser/_data.json | 13 ++ .../api/src/facade/collection/_data.json | 41 ++++ .../js/latest/api/src/facade/lang/_data.json | 113 +++++++++ .../js/latest/api/src/facade/math/_data.json | 9 + .../api/src/reflection/reflection/_data.json | 5 + .../reflection_capabilities/_data.json | 5 + .../api/src/reflection/types/_data.json | 13 ++ .../dom/events/hammer_gestures/_data.json | 5 + .../api/src/services/xhr_impl/_data.json | 5 + .../api/src/test_lib/e2e_util/_data.json | 1 + .../api/src/test_lib/lang_utils/_data.json | 9 + .../api/src/test_lib/perf_util/_data.json | 1 + .../api/src/test_lib/test_lib/_data.json | 53 +++++ .../js/latest/api/test/TestBed-class.jade | 25 +- .../latest/api/view/BaseQueryList-class.jade | 124 ++++++++++ .../js/latest/api/view/Compiler-class.jade | 71 ++++++ .../latest/api/view/ComponentRef-class.jade | 3 +- .../view/DynamicComponentLoader-class.jade | 9 +- .../js/latest/api/view/ElementRef-class.jade | 17 +- .../js/latest/api/view/QueryList-class.jade | 6 +- .../latest/api/view/ViewContainer-class.jade | 216 ++++++++++++++++++ public/docs/js/latest/api/view/_data.json | 12 + 102 files changed, 1463 insertions(+), 500 deletions(-) create mode 100644 public/docs/js/latest/api/angular2/_data.json create mode 100644 public/docs/js/latest/api/angular2_sfx/_data.json create mode 100644 public/docs/js/latest/api/core/VmTurnZone-class.jade create mode 100644 public/docs/js/latest/api/di/ResolvedBinding-class.jade create mode 100644 public/docs/js/latest/api/di_errors/AbstractBindingError-class.jade create mode 100644 public/docs/js/latest/api/di_errors/NoBindingError-class.jade create mode 100644 public/docs/js/latest/api/pipes/iterableDiff-var.jade create mode 100644 public/docs/js/latest/api/pipes/keyValDiff-var.jade create mode 100644 public/docs/js/latest/api/src/change_detection/change_detection_jit_generator/_data.json create mode 100644 public/docs/js/latest/api/src/core/compiler/base_query_list/_data.json create mode 100644 public/docs/js/latest/api/src/core/testability/get_testability/_data.json create mode 100644 public/docs/js/latest/api/src/core/zone/vm_turn_zone/_data.json create mode 100644 public/docs/js/latest/api/src/dom/browser_adapter/_data.json create mode 100644 public/docs/js/latest/api/src/facade/async/_data.json create mode 100644 public/docs/js/latest/api/src/facade/browser/_data.json create mode 100644 public/docs/js/latest/api/src/facade/collection/_data.json create mode 100644 public/docs/js/latest/api/src/facade/lang/_data.json create mode 100644 public/docs/js/latest/api/src/facade/math/_data.json create mode 100644 public/docs/js/latest/api/src/reflection/reflection/_data.json create mode 100644 public/docs/js/latest/api/src/reflection/reflection_capabilities/_data.json create mode 100644 public/docs/js/latest/api/src/reflection/types/_data.json create mode 100644 public/docs/js/latest/api/src/render/dom/events/hammer_gestures/_data.json create mode 100644 public/docs/js/latest/api/src/services/xhr_impl/_data.json create mode 100644 public/docs/js/latest/api/src/test_lib/e2e_util/_data.json create mode 100644 public/docs/js/latest/api/src/test_lib/lang_utils/_data.json create mode 100644 public/docs/js/latest/api/src/test_lib/perf_util/_data.json create mode 100644 public/docs/js/latest/api/src/test_lib/test_lib/_data.json create mode 100644 public/docs/js/latest/api/view/BaseQueryList-class.jade create mode 100644 public/docs/js/latest/api/view/Compiler-class.jade create mode 100644 public/docs/js/latest/api/view/ViewContainer-class.jade diff --git a/public/_includes/_docs-nav.jade b/public/_includes/_docs-nav.jade index db05c08f99..5246f85785 100644 --- a/public/_includes/_docs-nav.jade +++ b/public/_includes/_docs-nav.jade @@ -37,7 +37,7 @@ nav.side-nav.l-pinned-left.l-layer-4.l-offset-nav li(class="#{selected}") #{num}. #{page.title} else - li(class="#{selected}") #{slug} + li(class="#{selected}") #{page.title} // TERTIARY NAVIGATION diff --git a/public/docs/js/latest/api/_data.json b/public/docs/js/latest/api/_data.json index 2ec5318304..03e67ad3b1 100644 --- a/public/docs/js/latest/api/_data.json +++ b/public/docs/js/latest/api/_data.json @@ -12,15 +12,15 @@ }, "di" : { - "title" : "Di" + "title" : "Dependency Injection (DI)" }, "di_annotations" : { - "title" : "Di Annotations" + "title" : "DI Annotations" }, "di_errors" : { - "title" : "Di Errors" + "title" : "DI Errors" }, "directives" : { @@ -35,18 +35,10 @@ "title" : "Pipes" }, - "template" : { - "title" : "Template" - }, - "test" : { "title" : "Test" }, - "test_lib" : { - "title" : "Test Lib" - }, - "view" : { "title" : "View" } diff --git a/public/docs/js/latest/api/angular2/_data.json b/public/docs/js/latest/api/angular2/_data.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/public/docs/js/latest/api/angular2/_data.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/public/docs/js/latest/api/angular2_sfx/_data.json b/public/docs/js/latest/api/angular2_sfx/_data.json new file mode 100644 index 0000000000..9e26dfeeb6 --- /dev/null +++ b/public/docs/js/latest/api/angular2_sfx/_data.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/public/docs/js/latest/api/annotations/Ancestor-class.jade b/public/docs/js/latest/api/annotations/Ancestor-class.jade index cde8712e22..b93dfb912d 100644 --- a/public/docs/js/latest/api/annotations/Ancestor-class.jade +++ b/public/docs/js/latest/api/annotations/Ancestor-class.jade @@ -63,8 +63,7 @@ p. pre.prettyprint code. - () - + constructor() :markdown diff --git a/public/docs/js/latest/api/annotations/Attribute-class.jade b/public/docs/js/latest/api/annotations/Attribute-class.jade index 38e5211bdd..e969806d25 100644 --- a/public/docs/js/latest/api/annotations/Attribute-class.jade +++ b/public/docs/js/latest/api/annotations/Attribute-class.jade @@ -37,8 +37,7 @@ p. pre.prettyprint code. - (attributeName) - + constructor(attributeName) :markdown diff --git a/public/docs/js/latest/api/annotations/Decorator-class.jade b/public/docs/js/latest/api/annotations/Decorator-class.jade index c3826ebfac..2be128b974 100644 --- a/public/docs/js/latest/api/annotations/Decorator-class.jade +++ b/public/docs/js/latest/api/annotations/Decorator-class.jade @@ -1,7 +1,7 @@ p. exported from angular2/annotations - defined in angular2/src/core/annotations/annotations.js (line 750) + defined in angular2/src/core/annotations/annotations.js (line 756) :markdown Directive that attaches behavior to DOM elements. @@ -10,10 +10,10 @@ p. (see: http://en.wikipedia.org/wiki/Composition_over_inheritance) Decorators: - - are simplest form of [Directive]s. + - are simplest form of Directives. - are best used as a composition pattern () - Decorators differ from [Component]s in that they: + Decorators differ from Components in that they: - can have multiple decorators per element - do not create their own evaluation context - do not have a template (and therefor do not create Shadow DOM) @@ -69,7 +69,7 @@ p. pre.prettyprint code. - ({ + constructor({ selector, properties, events, @@ -84,7 +84,6 @@ p. lifecycle:List, compileChildren:boolean }={}) - :markdown diff --git a/public/docs/js/latest/api/annotations/DynamicComponent-class.jade b/public/docs/js/latest/api/annotations/DynamicComponent-class.jade index 64f2c8be4e..b5b728dd4c 100644 --- a/public/docs/js/latest/api/annotations/DynamicComponent-class.jade +++ b/public/docs/js/latest/api/annotations/DynamicComponent-class.jade @@ -1,7 +1,7 @@ p. exported from angular2/annotations - defined in angular2/src/core/annotations/annotations.js (line 655) + defined in angular2/src/core/annotations/annotations.js (line 661) :markdown Directive used for dynamically loading components. @@ -56,7 +56,7 @@ p. pre.prettyprint code. - ({ + constructor({ selector, properties, events, @@ -71,7 +71,6 @@ p. injectables:List, lifecycle:List }={}) - :markdown @@ -86,7 +85,7 @@ p. :markdown - Same as [Component.injectables]. + Same as `injectables` in the Component. diff --git a/public/docs/js/latest/api/annotations/Parent-class.jade b/public/docs/js/latest/api/annotations/Parent-class.jade index 2eaad1cac8..fcbe4992d8 100644 --- a/public/docs/js/latest/api/annotations/Parent-class.jade +++ b/public/docs/js/latest/api/annotations/Parent-class.jade @@ -50,8 +50,7 @@ p. pre.prettyprint code. - () - + constructor() :markdown diff --git a/public/docs/js/latest/api/annotations/PropertySetter-class.jade b/public/docs/js/latest/api/annotations/PropertySetter-class.jade index cc3812d055..6b8119c159 100644 --- a/public/docs/js/latest/api/annotations/PropertySetter-class.jade +++ b/public/docs/js/latest/api/annotations/PropertySetter-class.jade @@ -18,8 +18,7 @@ p. pre.prettyprint code. - (propName) - + constructor(propName) :markdown diff --git a/public/docs/js/latest/api/annotations/Query-class.jade b/public/docs/js/latest/api/annotations/Query-class.jade index a80a868aeb..7b0c4d94b8 100644 --- a/public/docs/js/latest/api/annotations/Query-class.jade +++ b/public/docs/js/latest/api/annotations/Query-class.jade @@ -4,9 +4,9 @@ p. defined in angular2/src/core/annotations/di.js (line 77) :markdown - Specifies that a [QueryList] should be injected. + Specifies that a QueryList should be injected. - See: [QueryList] for usage and example. + See QueryList for usage and example. .l-main-section h2 Members @@ -16,8 +16,7 @@ p. pre.prettyprint code. - (directive) - + constructor(directive) :markdown diff --git a/public/docs/js/latest/api/annotations/View-class.jade b/public/docs/js/latest/api/annotations/View-class.jade index d901a2faf7..268bc504a4 100644 --- a/public/docs/js/latest/api/annotations/View-class.jade +++ b/public/docs/js/latest/api/annotations/View-class.jade @@ -4,7 +4,7 @@ p. defined in angular2/src/core/annotations/view.js (line 34) :markdown - Declare the available HTML templates for an application. + Declares the available HTML templates for an application. Each angular component requires a single `@Component` and at least one `@View` annotation. The @View annotation specifies the HTML template to use, and lists the directives that are active within the template. @@ -12,7 +12,7 @@ p. When a component is instantiated, the template is loaded into the component's shadow root, and the expressions and statements in the template are evaluated against the component. - For details on the `@Component` annotation, see [Component]. + For details on the `@Component` annotation, see Component. ## Example @@ -41,7 +41,7 @@ p. pre.prettyprint code. - ({ + constructor({ templateUrl, template, directives @@ -50,7 +50,6 @@ p. template: string, directives: List<Type> }) - :markdown @@ -65,7 +64,7 @@ p. :markdown - Specify a list of directives that are active within a template. [TODO: true?] + Specifies a list of directives that can be used within a template. Directives must be listed explicitly to provide proper component encapsulation. @@ -96,7 +95,7 @@ p. :markdown - Specify an inline template for an angular component. + Specifies an inline template for an angular component. NOTE: either `templateURL` or `template` should be used, but not both. @@ -110,7 +109,7 @@ p. :markdown - Specify a template URL for an angular component. + Specifies a template URL for an angular component. NOTE: either `templateURL` or `template` should be used, but not both. diff --git a/public/docs/js/latest/api/annotations/Viewport-class.jade b/public/docs/js/latest/api/annotations/Viewport-class.jade index b5062fb744..f87ef1256b 100644 --- a/public/docs/js/latest/api/annotations/Viewport-class.jade +++ b/public/docs/js/latest/api/annotations/Viewport-class.jade @@ -1,16 +1,16 @@ p. exported from angular2/annotations - defined in angular2/src/core/annotations/annotations.js (line 879) + defined in angular2/src/core/annotations/annotations.js (line 885) :markdown Directive that controls the instantiation, destruction, and positioning of inline template elements. - A viewport directive uses a [ViewContainer] to instantiate, insert, move, and destroy views at runtime. - The [ViewContainer] is created as a result of `