mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-01 12:33:37 +08:00
docs(ngMock): fix minor typo in comment
Change "constroctor" to "constructor".
This commit is contained in:
2
src/ngMock/angular-mocks.js
vendored
2
src/ngMock/angular-mocks.js
vendored
@@ -430,7 +430,7 @@ angular.mock.$LogProvider = function() {
|
||||
*
|
||||
* *NOTE*: this is not an injectable instance, just a globally available mock class of `Date`.
|
||||
*
|
||||
* Mock of the Date type which has its timezone specified via constroctor arg.
|
||||
* Mock of the Date type which has its timezone specified via constructor arg.
|
||||
*
|
||||
* The main purpose is to create Date-like instances with timezone fixed to the specified timezone
|
||||
* offset, so that we can test code that depends on local timezone settings without dependency on
|
||||
|
||||
Reference in New Issue
Block a user