mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
"preventing JSHint messages"
This commit is contained in:
parent
3d7a6374ad
commit
5e57ebc0ce
@ -1,3 +1,9 @@
|
||||
// declare vars (preventing JSHint messages)
|
||||
var test = test || function(){},
|
||||
QUnit = QUnit || {},
|
||||
_html2canvas = _html2canvas || {};
|
||||
|
||||
|
||||
module("CSS");
|
||||
$(function() {
|
||||
|
||||
@ -113,7 +119,7 @@ $(function() {
|
||||
if ( window.getComputedStyle ) {
|
||||
split = $(el).css(prop).split(" ");
|
||||
} else {
|
||||
split = [$(el).css(prop+"X"),$(el).css(prop+"Y")]
|
||||
split = [$(el).css(prop+"X"),$(el).css(prop+"Y")];
|
||||
}
|
||||
|
||||
var testEl = $('<div />').css({
|
||||
|
Loading…
Reference in New Issue
Block a user