Fix syntax error in isJqueryEventDataTransfer function
This commit resolves a syntax error in the isJqueryEventDataTransfer function. The syntax error occur due to `/` which is remove in this patch. Change-Id: I77299d9f3275e490e0f7e6d2cef91d7f2166dacf
This commit is contained in:
parent
fbbb6e2cb3
commit
c4790f2374
@ -17,7 +17,7 @@ NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar')
|
|||||||
|
|
||||||
VERSION = '1.0.2' # version of the packaged files, please use the upstream
|
VERSION = '1.0.2' # version of the packaged files, please use the upstream
|
||||||
# version number
|
# version number
|
||||||
BUILD = '5' # our package build number, so we can release new builds
|
BUILD = '6' # our package build number, so we can release new builds
|
||||||
# with fixes for xstatic stuff.
|
# with fixes for xstatic stuff.
|
||||||
PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi
|
PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
function isJqueryEventDataTransfer(){
|
function isJqueryEventDataTransfer(){
|
||||||
return window.jQuery && (!window.jQuery.event.special.dataTransfer ||
|
return window.jQuery && (!window.jQuery.event.special.dataTransfer ||
|
||||||
!window.jQuery.event.special.dataTransfer.props || -1 ===
|
!window.jQuery.event.special.dataTransfer.props || -1 ===
|
||||||
window.jQuery.event.special.dataTransfer.props.indexOf('dataTransfer'));/
|
window.jQuery.event.special.dataTransfer.props.indexOf('dataTransfer'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isJqueryEventDataTransfer()) {
|
if (isJqueryEventDataTransfer()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user