Fixed nullability in qtip2.d.ts. Fixed style tests in qtip2-tests.ts

This commit is contained in:
Nathan Pitman
2015-05-12 17:07:03 +12:00
parent 846a250e0a
commit 9439dc4ab0
2 changed files with 6 additions and 6 deletions

View File

@@ -398,7 +398,7 @@ function testStyleProperty() {
});
$a.qtip({
show: {
style: {
classes: false,
width: 24,
height: 24,
@@ -407,7 +407,7 @@ function testStyleProperty() {
});
$a.qtip({
show: {
style: {
classes: false,
width: false,
height: false,
@@ -423,7 +423,7 @@ function testStyleProperty() {
});
$a.qtip({
show: {
style: {
tip: {
corner: true,
mimic: true,
@@ -433,7 +433,7 @@ function testStyleProperty() {
});
$a.qtip({
show: {
style: {
tip: { }
}
});

4
qtip2/qtip2.d.ts vendored
View File

@@ -98,8 +98,8 @@ declare module QTip2 {
classes?: string | boolean;
def?: boolean;
widget?: boolean;
width: string | number | boolean;
height: string | number | boolean;
width?: string | number | boolean;
height?: string | number | boolean;
tip?: string | boolean | Tip;
}