Skip to content

Commit 5e57ebc

Browse files
author
André Fiedler
committed
"preventing JSHint messages"
1 parent 3d7a637 commit 5e57ebc

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

tests/qunit/unit/css.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
// declare vars (preventing JSHint messages)
2+
var test = test || function(){},
3+
QUnit = QUnit || {},
4+
_html2canvas = _html2canvas || {};
5+
6+
17
module("CSS");
28
$(function() {
39

@@ -113,7 +119,7 @@ $(function() {
113119
if ( window.getComputedStyle ) {
114120
split = $(el).css(prop).split(" ");
115121
} else {
116-
split = [$(el).css(prop+"X"),$(el).css(prop+"Y")]
122+
split = [$(el).css(prop+"X"),$(el).css(prop+"Y")];
117123
}
118124

119125
var testEl = $('<div />').css({

0 commit comments

Comments
 (0)