This commit is contained in:
Aleksandr Filatov
2015-06-12 13:53:42 +03:00
parent 939fb46dfa
commit dee1325471
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
/// <reference path="/mocha/mocha.d.ts" />
/// <reference path="../mocha/mocha.d.ts" />
/// <reference path="quixote.d.ts" />
function test_createFrame() {
+6 -6
View File
@@ -158,13 +158,13 @@ interface PositionDescriptor {
plus(amount: SizeDescriptor): PositionDescriptor;
// Create a new descriptor that is further down the page or to the right.
plus(amount: nubmer): PositionDescriptor;
plus(amount: number): PositionDescriptor;
// Create a new descriptor that is further down the page or to the right.
minus(amount: SizeDescriptor): PositionDescriptor;
// Create a new descriptor that is further down the page or to the right.
minus(amount: nubmer): PositionDescriptor;
minus(amount: number): PositionDescriptor;
}
// Size descriptors represent width or height.
@@ -173,16 +173,16 @@ interface SizeDescriptor {
plus(amount: SizeDescriptor): SizeDescriptor;
// Create a descriptor that's bigger than this one.
plus(amount: nubmer): SizeDescriptor;
plus(amount: number): SizeDescriptor;
// Create a descriptor that's smaller than this one.
minus(amount: SizeDescriptor): SizeDescriptor;
// Create a descriptor that's smaller than this one.
minus(amount: nubmer): SizeDescriptor;
minus(amount: number): SizeDescriptor;
// Create a new descriptor that's a multiple or fraction of the size of this one.
times(multiple: nubmer): SizeDescriptor;
times(multiple: number): SizeDescriptor;
}
interface QuixoteFrameOptions {
@@ -226,7 +226,7 @@ declare module "quixote" {
class Quixote {
constructor();
createFrame(options, callback: (err: Error, frame: QFrame) => void): QFrame;
createFrame(options: QuixoteFrameOptions, callback: (err: Error, loadedFrame: QFrame) => void): QFrame;
}
export = Quixote;