Merge pull request #780 from basarat/patch-6

the $observe function
This commit is contained in:
Boris Yankov
2013-07-17 08:18:21 -07:00
+1
View File
@@ -119,6 +119,7 @@ declare module ng {
///////////////////////////////////////////////////////////////////////////
interface IAttributes {
$set(name: string, value: any): void;
$observe(name: string, fn:(value?:any)=>any):void;
$attr: any;
}