This commit is contained in:
Christiaan Rakowski
2013-07-18 15:12:26 +02:00
4 changed files with 8 additions and 2 deletions
+1
View File
@@ -200,3 +200,4 @@ Requested Definitions
* [MooTools](http://mootools.net/)
* [Lo-Dash](http://lodash.com/)
* [java](https://github.com/nearinfinity/node-java)
* [SVG.js](http://www.svgjs.com/)
+3
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;
}
@@ -199,6 +200,8 @@ declare module ng {
$watch(watchExpression: string, listener?: (newValue: any, oldValue: any, scope: IScope) => any, objectEquality?: bool): Function;
$watch(watchExpression: (scope: IScope) => any, listener?: string, objectEquality?: bool): Function;
$watch(watchExpression: (scope: IScope) => any, listener?: (newValue: any, oldValue: any, scope: IScope) => any, objectEquality?: bool): Function;
$parent: IScope;
$id: number;
}
+1 -1
View File
@@ -375,7 +375,7 @@ declare module "durandal/plugins/router" {
*/
interface IRouteInfoParameters {
/** your url pattern. The only required parameter */
url: string;
url: any;
/** if not supplied, router.convertRouteToName derives it */
moduleId?: string;
/** if not supplied, router.convertRouteToModuleId derives it */
+3 -1
View File
@@ -1,4 +1,4 @@
// Type definitions for Knockout 2.2
// Type definitions for Knockout 2.3
// Project: http://knockoutjs.com
// Definitions by: Boris Yankov <https://github.com/borisyankov/>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
@@ -256,6 +256,8 @@ interface KnockoutUtils {
arrayFilter(array: any[], predicate: (item) => boolean): any[];
arrayPushAll(array: any[], valuesToPush: any[]): any[];
arrayPushAll(array: KnockoutObservableArray<any>, valuesToPush: any[]): any[];
extend(target, source);