style(*): add rule requireSpacesInFunction beforeOpeningCurlyBrace

This rule enforces a space after the curly brace
for function declarations, anonymous function expressions,
and named function expressions.
This commit is contained in:
Henry Zhu
2014-10-20 21:59:40 -04:00
committed by Caitlin Potter
parent 922162853b
commit 7f65f97919
72 changed files with 324 additions and 321 deletions

View File

@@ -2,7 +2,7 @@
describe('$cookies', function() {
beforeEach(module('ngCookies', function($provide) {
$provide.factory('$browser', function(){
$provide.factory('$browser', function() {
return angular.extend(new angular.mock.$Browser(), {cookieHash: {preexisting:'oldCookie'}});
});
}));