mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Update reference paths
This commit is contained in:
Vendored
+29
-29
@@ -1,30 +1,30 @@
|
||||
/// <reference path="knockout-2.2.d.ts" />
|
||||
|
||||
// build: ko.editables 0.9
|
||||
// http://romanych.github.com/ko.editables/
|
||||
|
||||
// bestowed by ko.editable(target)
|
||||
interface KnockoutEditable {
|
||||
addEditable(target: any): any;
|
||||
beginEdit(): void;
|
||||
commit(): void;
|
||||
rollback(): void;
|
||||
hasChanges(): bool;
|
||||
}
|
||||
|
||||
interface KnockoutEditableStatic {
|
||||
(viewModel: any, autoInit?: bool): void;
|
||||
beginEdit(scope: string): void;
|
||||
commit(scope: string): void;
|
||||
rollback(scope: string): void;
|
||||
hasChanges(scope: string): bool;
|
||||
|
||||
// INTERNAL
|
||||
//getHasChangesFlag(scope: string): any;
|
||||
//enable(object: any, scope: string); void;
|
||||
}
|
||||
|
||||
// extend ko global
|
||||
interface KnockoutStatic {
|
||||
editable: KnockoutEditableStatic;
|
||||
/// <reference path="../knockout/knockout.d.ts" />
|
||||
|
||||
// build: ko.editables 0.9
|
||||
// http://romanych.github.com/ko.editables/
|
||||
|
||||
// bestowed by ko.editable(target)
|
||||
interface KnockoutEditable {
|
||||
addEditable(target: any): any;
|
||||
beginEdit(): void;
|
||||
commit(): void;
|
||||
rollback(): void;
|
||||
hasChanges(): bool;
|
||||
}
|
||||
|
||||
interface KnockoutEditableStatic {
|
||||
(viewModel: any, autoInit?: bool): void;
|
||||
beginEdit(scope: string): void;
|
||||
commit(scope: string): void;
|
||||
rollback(scope: string): void;
|
||||
hasChanges(scope: string): bool;
|
||||
|
||||
// INTERNAL
|
||||
//getHasChangesFlag(scope: string): any;
|
||||
//enable(object: any, scope: string); void;
|
||||
}
|
||||
|
||||
// extend ko global
|
||||
interface KnockoutStatic {
|
||||
editable: KnockoutEditableStatic;
|
||||
}
|
||||
Reference in New Issue
Block a user