From a9a8ad6c9df9ad65e6b197b2170d5f5f39fbd323 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 6 Aug 2013 13:02:09 +0200 Subject: Morphic: mouseEnterDragging fix and a few cosmetic changes due to JSLint's latest nitpickings --- morphic.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'morphic.js') diff --git a/morphic.js b/morphic.js index 1a20946..aae17fd 100644 --- a/morphic.js +++ b/morphic.js @@ -1035,7 +1035,7 @@ /*global window, HTMLCanvasElement, getMinimumFontHeight, FileReader, Audio, FileList, getBlurredShadowSupport*/ -var morphicVersion = '2013-June-28'; +var morphicVersion = '2013-August-06'; var modules = {}; // keep track of additional loaded modules var useBlurredShadows = getBlurredShadowSupport(); // check for Chrome-bug @@ -9635,7 +9635,7 @@ HandMorph.prototype.processMouseMove = function (event) { if (old.mouseLeave) { old.mouseLeave(); } - if (old.mouseLeaveDragging && this.mouseButton) { + if (old.mouseLeaveDragging && myself.mouseButton) { old.mouseLeaveDragging(); } } @@ -9645,7 +9645,7 @@ HandMorph.prototype.processMouseMove = function (event) { if (newMorph.mouseEnter) { newMorph.mouseEnter(); } - if (newMorph.mouseEnterDragging && this.mouseButton) { + if (newMorph.mouseEnterDragging && myself.mouseButton) { newMorph.mouseEnterDragging(); } } @@ -9788,18 +9788,18 @@ HandMorph.prototype.processDrop = function (event) { } function parseImgURL(html) { - var url = '', - i, + var iurl = '', + idx, c, start = html.indexOf('