docs: fix some typos in comments and strings

Couple of typos fixed:
- occuring -> occurring
- imlement -> implement
- idenitifer -> identifer
etc...

Closes #5943
This commit is contained in:
flyyang
2015-12-16 15:47:48 +08:00
committed by Pengfei Yang
parent 2a2f9a9a19
commit 9276dad42c
23 changed files with 29 additions and 29 deletions

View File

@ -22,7 +22,7 @@ import {isPresent} from 'angular2/src/facade/lang';
encapsulation: ViewEncapsulation.None,
})
export class MdButton {
/** Whether a mousedown has occured on this element in the last 100ms. */
/** Whether a mousedown has occurred on this element in the last 100ms. */
isMouseDown: boolean = false;
/** Whether the button has focus from the keyboard (not the mouse). Used for class binding. */

View File

@ -19,7 +19,7 @@ import {Math} from 'angular2/src/facade/math';
// TODO(jelbourn): Re-layout on window resize / media change (debounced).
// TODO(jelbourn): gridTileHeader and gridTileFooter.
/** Row hieght mode options. Use a static class b/c TypeScript enums are strictly number-based. */
/** Row height mode options. Use a static class b/c TypeScript enums are strictly number-based. */
class RowHeightMode {
static FIT = 'fit';
static FIXED = 'fixed';
@ -128,7 +128,7 @@ export class MdGridList implements AfterContentChecked {
getBaseTileSize(sizePercent: number, gutterFraction: number): string {
// Take the base size percent (as would be if evenly dividing the size between cells),
// and then subtracting the size of one gutter. However, since there are no gutters on the
// edges, each tile only uses a fration (gutterShare = numGutters / numCells) of the gutter
// edges, each tile only uses a fraction (gutterShare = numGutters / numCells) of the gutter
// size. (Imagine having one gutter per tile, and then breaking up the extra gutter on the
// edge evenly among the cells).
return `(${sizePercent}% - ( ${this.gutterSize} * ${gutterFraction} ))`;

View File

@ -13,7 +13,7 @@ export class MdRadioDispatcher {
this.listeners_ = [];
}
/** Notify other nadio buttons that selection for the given name has been set. */
/** Notify other radio buttons that selection for the given name has been set. */
notify(name: string) {
this.listeners_.forEach(listener => listener(name));
}