rename animationframe to aniamtion-frame

This commit is contained in:
Qinfeng Chen
2015-01-18 22:24:00 -05:00
parent 7dc6f5e566
commit 170c31535d
2 changed files with 1 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
/// <reference path="animation-frame.d.ts"/>
module AnimationFrameTests {
var animation = new AnimationFrame();
function frame() {
animation.request(frame);
}
animation.request(frame);
}
+12
View File
@@ -0,0 +1,12 @@
// Type definitions for animation-frame 0.1.7
// Project: https://github.com/kof/animation-frame
// Definitions by: Qinfeng Chen <https://github.com/qinfchen>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
interface AnimationFrame {
new(): AnimationFrame;
request(callback: () => void): void;
}
declare var AnimationFrame: AnimationFrame;