Fix jshint errors

This commit is contained in:
juliandescottes 2015-04-09 18:24:34 +02:00
parent 281103c46e
commit 3d58bcae6c
4 changed files with 6 additions and 5 deletions

View File

@ -91,7 +91,7 @@ module.exports = function(grunt) {
trailing : true,
curly : true,
es3 : true,
globals : {'$':true, 'jQuery' : true, 'pskl':true, 'Events':true, 'Constants':true, 'console' : true, 'module':true, 'require':true}
globals : {'$':true, 'jQuery' : true, 'pskl':true, 'Events':true, 'Constants':true, 'console' : true, 'module':true, 'require':true, 'Q':true}
},
files: [
'Gruntfile.js',

View File

@ -15,4 +15,5 @@ var pskl;
var define;
var jQuery;
var getComputedStyle;
var URL;
var URL;
var Q;

View File

@ -52,5 +52,5 @@
cache[secondCacheKey] = processedFrame;
cache[firstCacheKey] = processedFrame;
deferred.resolve(processedFrame);
}
};
})();

View File

@ -63,9 +63,9 @@
Object.keys(result).forEach(function (color) {
colors[color] = true;
});
})
});
this.updateCurrentColorsReady_(colors);
}.bind(this))
}.bind(this));
};
ns.CurrentColorsService.prototype.updateCurrentColorsReady_ = function (colors) {