Merge pull request #4194 from stephenlautier/master

Added knockout.punches
This commit is contained in:
Masahiro Wakame
2015-04-26 18:57:07 +09:00
2 changed files with 28 additions and 0 deletions
@@ -0,0 +1,8 @@
/// <reference path="../knockout.punches/knockout.punches.d.ts" />
function test_enable() {
ko.punches.enableAll();
}
+20
View File
@@ -0,0 +1,20 @@
// Type definitions for knockout.punches 0.5.1
// Project: https://github.com/mbest/knockout.punches
// Definitions by: Stephen Lautier <https://github.com/johnnyreilly>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../knockout/knockout.d.ts" />
interface KnockoutPunchesStatic {
enableAll(): void;
}
interface KnockoutStatic {
punches: KnockoutPunchesStatic;
}
declare module "knockout.punches" {
export = punches;
}
declare var punches: KnockoutPunchesStatic;