style(ngMock): add missing whitespace

This commit is contained in:
David 2013-07-13 15:50:29 -07:00 committed by Pawel Kozlowski
parent b53c945bf5
commit d7fde5fcb1

View file

@ -29,7 +29,7 @@ angular.mock = {};
* that there are several helper methods available which can be used in tests. * that there are several helper methods available which can be used in tests.
*/ */
angular.mock.$BrowserProvider = function() { angular.mock.$BrowserProvider = function() {
this.$get = function(){ this.$get = function() {
return new angular.mock.$Browser(); return new angular.mock.$Browser();
}; };
}; };
@ -412,7 +412,7 @@ angular.mock.$LogProvider = function() {
(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)))?$/; 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; var match;
if (match = string.match(R_ISO8061_STR)) { if (match = string.match(R_ISO8061_STR)) {
var date = new Date(0), var date = new Date(0),