mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-24 03:55:49 +08:00
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:
committed by
Caitlin Potter
parent
922162853b
commit
7f65f97919
@@ -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'}});
|
||||
});
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user