We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b53c945 commit d7fde5fCopy full SHA for d7fde5f
src/ngMock/angular-mocks.js
@@ -29,7 +29,7 @@ angular.mock = {};
29
* that there are several helper methods available which can be used in tests.
30
*/
31
angular.mock.$BrowserProvider = function() {
32
- this.$get = function(){
+ this.$get = function() {
33
return new angular.mock.$Browser();
34
};
35
@@ -412,7 +412,7 @@ angular.mock.$LogProvider = function() {
412
(function() {
413
var R_ISO8061_STR = /^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?:\:?(\d\d)(?:\:?(\d\d)(?:\.(\d{3}))?)?)?(Z|([+-])(\d\d):?(\d\d)))?$/;
414
415
- function jsonStringToDate(string){
+ function jsonStringToDate(string) {
416
var match;
417
if (match = string.match(R_ISO8061_STR)) {
418
var date = new Date(0),
0 commit comments