style(*): add rule disallowSpacesInAnonymousFunctionExpression beforeOpeningRoundBrace, including i18n generator

This commit is contained in:
Henry Zhu
2014-10-22 17:31:27 -04:00
committed by Caitlin Potter
parent 94f5a285bf
commit d3b1f502e3
798 changed files with 1139 additions and 1529 deletions

View File

@@ -59,7 +59,7 @@ describe('$controller', function() {
});
it('should throw an exception if a controller is called "hasOwnProperty"', function () {
it('should throw an exception if a controller is called "hasOwnProperty"', function() {
expect(function() {
$controllerProvider.register('hasOwnProperty', function($scope) {});
}).toThrowMinErr('ng', 'badname', "hasOwnProperty is not a valid controller name");
@@ -118,7 +118,7 @@ describe('$controller', function() {
$window.a = {Foo: Foo};
expect(function () {
expect(function() {
$controller('a.Foo', {$scope: scope});
}).toThrow();
}));