Skip to content

Commit fb1d14f

Browse files
committed
5bdfccd docs(core): fix some grammar
1 parent 1ff8566 commit fb1d14f

749 files changed

Lines changed: 885 additions & 948 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

BUILD_INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Fri Apr 15 21:55:44 UTC 2016
2-
0718603e3e8a88aecda08bc1de48302ce0081ece
1+
Fri Apr 15 23:00:18 UTC 2016
2+
5bdfccdcd26eee7a00fd3c445b1518371ef96302

animate.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

animate/testing.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundles/angular2-all-testing.umd.dev.js

Lines changed: 18 additions & 25 deletions
Large diffs are not rendered by default.

bundles/angular2-all.umd.dev.js

Lines changed: 18 additions & 25 deletions
Large diffs are not rendered by default.

bundles/angular2-all.umd.js

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -764,14 +764,15 @@ return /******/ (function(modules) { // webpackBootstrap
764764
/**
765765
* Declares a list of child element references.
766766
*
767-
* Angular automatically updates the list when the DOM was updated.
767+
* Angular automatically updates the list when the DOM is updated.
768768
*
769769
* `ViewChildren` takes a argument to select elements.
770770
*
771771
* - If the argument is a type, directives or components with the type will be bound.
772772
*
773-
* - If the argument is a string, the string behaviors as comma-separated selectors. For each
774-
* selector, an element matched template variables (e.g. `#child`) will be bound.
773+
* - If the argument is a string, the string is interpreted as a list of comma-separated selectors.
774+
* For each selector, an element containing the matching template variable (e.g. `#child`) will be
775+
* bound.
775776
*
776777
* View children are set before the `ngAfterViewInit` callback is called.
777778
*
@@ -842,17 +843,17 @@ return /******/ (function(modules) { // webpackBootstrap
842843
exports.ViewChildren = decorators_1.makePropDecorator(di_2.ViewChildrenMetadata);
843844
// TODO(alexeagle): remove the duplication of this doc. It is copied from ViewChildMetadata.
844845
/**
845-
* Declares a reference of child element.
846+
* Declares a reference to a child element.
846847
*
847848
* `ViewChildren` takes a argument to select elements.
848849
*
849850
* - If the argument is a type, a directive or a component with the type will be bound.
850851
*
851-
* - If the argument is a string, the string behaviors as a selectors. An element matched template
852-
* variables (e.g. `#child`) will be bound.
852+
* - If the argument is a string, the string is interpreted as a selector. An element containing the
853+
* matching template variable (e.g. `#child`) will be bound.
853854
*
854-
* In either case, `@ViewChild()` assigns the first (looking from above) element if the result is
855-
* multiple.
855+
* In either case, `@ViewChild()` assigns the first (looking from above) element if there are
856+
* multiple matches.
856857
*
857858
* View child is set before the `ngAfterViewInit` callback is called.
858859
*
@@ -1468,14 +1469,15 @@ return /******/ (function(modules) { // webpackBootstrap
14681469
/**
14691470
* Declares a list of child element references.
14701471
*
1471-
* Angular automatically updates the list when the DOM was updated.
1472+
* Angular automatically updates the list when the DOM is updated.
14721473
*
14731474
* `ViewChildren` takes an argument to select elements.
14741475
*
14751476
* - If the argument is a type, directives or components with the type will be bound.
14761477
*
1477-
* - If the argument is a string, the string behaviors as comma-separated selectors. For each
1478-
* selector, an element matched template variables (e.g. `#child`) will be bound.
1478+
* - If the argument is a string, the string is interpreted as a list of comma-separated selectors.
1479+
* For each selector, an element containing the matching template variable (e.g. `#child`) will be
1480+
* bound.
14791481
*
14801482
* View children are set before the `ngAfterViewInit` callback is called.
14811483
*
@@ -1561,11 +1563,11 @@ return /******/ (function(modules) { // webpackBootstrap
15611563
*
15621564
* - If the argument is a type, a directive or a component with the type will be bound.
15631565
*
1564-
* - If the argument is a string, the string behaviors as a selectors. An element matched template
1565-
* variables (e.g. `#child`) will be bound.
1566+
If the argument is a string, the string is interpreted as a selector. An element containing the
1567+
matching template variable (e.g. `#child`) will be bound.
15661568
*
1567-
* In either case, `@ViewChild()` assigns the first (looking from above) element if the result is
1568-
* multiple.
1569+
* In either case, `@ViewChild()` assigns the first (looking from above) element if there are
1570+
multiple matches.
15691571
*
15701572
* View child is set before the `ngAfterViewInit` callback is called.
15711573
*
@@ -33442,14 +33444,6 @@ return /******/ (function(modules) { // webpackBootstrap
3344233444
var lang_1 = __webpack_require__(5);
3344333445
var browser_1 = __webpack_require__(228);
3344433446
var dom_adapter_1 = __webpack_require__(196);
33445-
var ChangeDetectionPerfRecord = (function () {
33446-
function ChangeDetectionPerfRecord(msPerTick, numTicks) {
33447-
this.msPerTick = msPerTick;
33448-
this.numTicks = numTicks;
33449-
}
33450-
return ChangeDetectionPerfRecord;
33451-
}());
33452-
exports.ChangeDetectionPerfRecord = ChangeDetectionPerfRecord;
3345333447
/**
3345433448
* Entry point for all Angular debug tools. This object corresponds to the `ng`
3345533449
* global variable accessible in the dev console.
@@ -33510,7 +33504,6 @@ return /******/ (function(modules) { // webpackBootstrap
3351033504
var msPerTick = (end - start) / numTicks;
3351133505
browser_1.window.console.log("ran " + numTicks + " change detection cycles");
3351233506
browser_1.window.console.log(lang_1.NumberWrapper.toFixed(msPerTick, 2) + " ms per check");
33513-
return new ChangeDetectionPerfRecord(msPerTick, numTicks);
3351433507
};
3351533508
return AngularProfiler;
3351633509
}());

bundles/angular2-all.umd.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bundles/angular2.dev.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20554,14 +20554,6 @@ System.register("angular2/src/platform/browser/tools/common_tools", ["angular2/s
2055420554
var lang_1 = require("angular2/src/facade/lang");
2055520555
var browser_1 = require("angular2/src/facade/browser");
2055620556
var dom_adapter_1 = require("angular2/src/platform/dom/dom_adapter");
20557-
var ChangeDetectionPerfRecord = (function() {
20558-
function ChangeDetectionPerfRecord(msPerTick, numTicks) {
20559-
this.msPerTick = msPerTick;
20560-
this.numTicks = numTicks;
20561-
}
20562-
return ChangeDetectionPerfRecord;
20563-
}());
20564-
exports.ChangeDetectionPerfRecord = ChangeDetectionPerfRecord;
2056520557
var AngularTools = (function() {
2056620558
function AngularTools(ref) {
2056720559
this.profiler = new AngularProfiler(ref);
@@ -20593,7 +20585,6 @@ System.register("angular2/src/platform/browser/tools/common_tools", ["angular2/s
2059320585
var msPerTick = (end - start) / numTicks;
2059420586
browser_1.window.console.log("ran " + numTicks + " change detection cycles");
2059520587
browser_1.window.console.log(lang_1.NumberWrapper.toFixed(msPerTick, 2) + " ms per check");
20596-
return new ChangeDetectionPerfRecord(msPerTick, numTicks);
2059720588
};
2059820589
return AngularProfiler;
2059920590
}());

bundles/angular2.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20554,14 +20554,6 @@ System.register("angular2/src/platform/browser/tools/common_tools", ["angular2/s
2055420554
var lang_1 = require("angular2/src/facade/lang");
2055520555
var browser_1 = require("angular2/src/facade/browser");
2055620556
var dom_adapter_1 = require("angular2/src/platform/dom/dom_adapter");
20557-
var ChangeDetectionPerfRecord = (function() {
20558-
function ChangeDetectionPerfRecord(msPerTick, numTicks) {
20559-
this.msPerTick = msPerTick;
20560-
this.numTicks = numTicks;
20561-
}
20562-
return ChangeDetectionPerfRecord;
20563-
}());
20564-
exports.ChangeDetectionPerfRecord = ChangeDetectionPerfRecord;
2056520557
var AngularTools = (function() {
2056620558
function AngularTools(ref) {
2056720559
this.profiler = new AngularProfiler(ref);
@@ -20593,7 +20585,6 @@ System.register("angular2/src/platform/browser/tools/common_tools", ["angular2/s
2059320585
var msPerTick = (end - start) / numTicks;
2059420586
browser_1.window.console.log("ran " + numTicks + " change detection cycles");
2059520587
browser_1.window.console.log(lang_1.NumberWrapper.toFixed(msPerTick, 2) + " ms per check");
20596-
return new ChangeDetectionPerfRecord(msPerTick, numTicks);
2059720588
};
2059820589
return AngularProfiler;
2059920590
}());

bundles/angular2.min.js

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)