Upgrade to node 12
This commit is contained in:
@@ -63,6 +63,10 @@ function ImageDataHandler(img) {
|
||||
var frameHandler = img.canvas.getViewport().getFrameHandler();
|
||||
returnValue.edge = frameHandler.getFrameType();
|
||||
returnValue.framed = returnValue.edge !== 'none';
|
||||
} else if (img.canvas.__type === 'wallpaper') {
|
||||
// repeating wallpapers should not have any cropping
|
||||
returnValue.x = 0;
|
||||
returnValue.y = 0;
|
||||
}
|
||||
|
||||
return returnValue;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
'use strict';
|
||||
/* globals window */
|
||||
|
||||
(function() {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
'use strict';
|
||||
/* globals $, window */
|
||||
/* globals $ */
|
||||
|
||||
function isMobile() {
|
||||
return $(window).width() < 768;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
*/
|
||||
function setProperties(obj, properties) {
|
||||
for (var o in properties) {
|
||||
if (properties.hasOwnProperty(o)) {
|
||||
if (Object.prototype.hasOwnProperty.call(properties, o) ) {
|
||||
Object.defineProperty(obj, o, properties[o]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user