Merge pull request #6151 from adidahiya/fix-angular-normalize

Fix angular IAttributes#$normalize() definition
This commit is contained in:
Masahiro Wakame
2015-10-07 02:35:51 +09:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -507,7 +507,7 @@ function test_IAttributes(attributes: ng.IAttributes){
}
test_IAttributes({
$normalize: function (classVal){},
$normalize: function (classVal){ return "foo" },
$addClass: function (classVal){},
$removeClass: function(classVal){},
$set: function(key, value){},
+1 -1
View File
@@ -306,7 +306,7 @@ declare module angular {
*
* For further information check out the guide on @see https://docs.angularjs.org/guide/directive#matching-directives
*/
$normalize(name: string): void;
$normalize(name: string): string;
/**
* Adds the CSS class value specified by the classVal parameter to the