mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-19 08:00:23 +00:00
style(ngMock): add missing whitespace
This commit is contained in:
parent
b53c945bf5
commit
d7fde5fcb1
1 changed files with 2 additions and 2 deletions
4
src/ngMock/angular-mocks.js
vendored
4
src/ngMock/angular-mocks.js
vendored
|
|
@ -29,7 +29,7 @@ angular.mock = {};
|
|||
* that there are several helper methods available which can be used in tests.
|
||||
*/
|
||||
angular.mock.$BrowserProvider = function() {
|
||||
this.$get = function(){
|
||||
this.$get = function() {
|
||||
return new angular.mock.$Browser();
|
||||
};
|
||||
};
|
||||
|
|
@ -412,7 +412,7 @@ angular.mock.$LogProvider = function() {
|
|||
(function() {
|
||||
var R_ISO8061_STR = /^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?:\:?(\d\d)(?:\:?(\d\d)(?:\.(\d{3}))?)?)?(Z|([+-])(\d\d):?(\d\d)))?$/;
|
||||
|
||||
function jsonStringToDate(string){
|
||||
function jsonStringToDate(string) {
|
||||
var match;
|
||||
if (match = string.match(R_ISO8061_STR)) {
|
||||
var date = new Date(0),
|
||||
|
|
|
|||
Loading…
Reference in a new issue