mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Fix jshint errors
This commit is contained in:
parent
281103c46e
commit
3d58bcae6c
@ -91,7 +91,7 @@ module.exports = function(grunt) {
|
|||||||
trailing : true,
|
trailing : true,
|
||||||
curly : true,
|
curly : true,
|
||||||
es3 : 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: [
|
files: [
|
||||||
'Gruntfile.js',
|
'Gruntfile.js',
|
||||||
|
@ -15,4 +15,5 @@ var pskl;
|
|||||||
var define;
|
var define;
|
||||||
var jQuery;
|
var jQuery;
|
||||||
var getComputedStyle;
|
var getComputedStyle;
|
||||||
var URL;
|
var URL;
|
||||||
|
var Q;
|
@ -52,5 +52,5 @@
|
|||||||
cache[secondCacheKey] = processedFrame;
|
cache[secondCacheKey] = processedFrame;
|
||||||
cache[firstCacheKey] = processedFrame;
|
cache[firstCacheKey] = processedFrame;
|
||||||
deferred.resolve(processedFrame);
|
deferred.resolve(processedFrame);
|
||||||
}
|
};
|
||||||
})();
|
})();
|
@ -63,9 +63,9 @@
|
|||||||
Object.keys(result).forEach(function (color) {
|
Object.keys(result).forEach(function (color) {
|
||||||
colors[color] = true;
|
colors[color] = true;
|
||||||
});
|
});
|
||||||
})
|
});
|
||||||
this.updateCurrentColorsReady_(colors);
|
this.updateCurrentColorsReady_(colors);
|
||||||
}.bind(this))
|
}.bind(this));
|
||||||
};
|
};
|
||||||
|
|
||||||
ns.CurrentColorsService.prototype.updateCurrentColorsReady_ = function (colors) {
|
ns.CurrentColorsService.prototype.updateCurrentColorsReady_ = function (colors) {
|
||||||
|
Loading…
Reference in New Issue
Block a user