Merge Updates to Knockout and Mocha

This commit is contained in:
Boris Yankov
2013-08-07 18:52:06 +03:00
parent c2407a5474
commit ffe87ddf41
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -394,6 +394,7 @@ interface KnockoutStatic {
toJSON(viewModel: any, replacer?: Function, space?: any): string;
toJS(viewModel: any): any;
isObservable(instance: any): boolean;
isWriteableObservable(instance: any): boolean;
isComputed(instance: any): boolean;
dataFor(node: any): any;
removeNode(node: Element);
+3 -3
View File
@@ -12,11 +12,11 @@ declare var describe : {
declare var it: {
(expectation: string, assertion?: () => void): void;
(expectation: string, assertion?: (done: (failReason?) => void) => void): void;
(expectation: string, assertion?: (done: (error?: Error) => void) => void): void;
only(expectation: string, assertion?: () => void): void;
only(expectation: string, assertion?: (done: (failReason?) => void) => void): void;
only(expectation: string, assertion?: (done: (error?: Error) => void) => void): void;
skip(expectation: string, assertion?: () => void): void;
skip(expectation: string, assertion?: (done: (failReason?) => void) => void): void;
skip(expectation: string, assertion?: (done: (error?: Error) => void) => void): void;
timeout(ms: number);
};