satisfy lint task

This commit is contained in:
Andy Edinborough
2012-12-28 12:12:47 -06:00
parent 8fe61a43b0
commit 3171390f80
2 changed files with 4 additions and 4 deletions

View File

@ -156,7 +156,7 @@ _html2canvas.Preload = function( options ) {
function parseBackgroundImage(value) {
var rxBackgroundImage = /([a-z\-]+)\((("[^"]+)|([^)]+))\)/i,
match, results = [], n = 0;
if(!value) return results;
if(!value) { return results; }
while(n++ < 100 && !!(match = value.match(rxBackgroundImage))) {
var def = match[2];
if(def.substr(0,1) === '"') {