Add jQuery UI Touch Punch for mobile drag and drop support.

This commit is contained in:
FelisCatus 2017-08-03 21:53:37 -04:00
parent 227e189a73
commit b40ff3d36c
2 changed files with 8 additions and 2 deletions

View File

@ -38,7 +38,8 @@
"angular-ui-utils": "bower-validate",
"angular-ladda": "~0.2.1",
"angular-sanitize": "~1.6.5",
"shepherd.js": "~0.5.1"
"shepherd.js": "~0.5.1",
"jqueryui-touch-punch": "*"
},
"exportsOverride": {
"script.js": {
@ -50,6 +51,9 @@
"jquery-ui": {
"": []
},
"jqueryui-touch-punch": {
"": "jquery.ui.touch-punch.min.js"
},
"angular": {
"": "angular.min.js"
},

View File

@ -47,8 +47,10 @@ $script.ready ['angular-loader'], ->
'lib/angular-spectrum-colorpicker/angular-spectrum-colorpicker.min.js'
], 'omega-deps')
$script.ready ['jquery'], ->
$script 'lib/jquery-ui-1.10.4.custom.min.js', 'jquery-ui'
$script 'lib/jquery-ui-1.10.4.custom.min.js', 'jquery-ui-base'
$script 'lib/spectrum/spectrum.js', 'spectrum'
$script.ready ['jquery-ui-base'], ->
$script 'lib/jqueryui-touch-punch/jquery.ui.touch-punch.min.js', 'jquery-ui'
$script.ready ['angular-loader', 'jquery'], ->
$script 'lib/angular/angular.min.js', 'angular'