Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9cc4396

Browse files
authored
Merge pull request gridstack#496 from radiolips/feature/update-jquery-ui-amd
Feature/update jquery ui amd
2 parents f29236a + d909458 commit 9cc4396

File tree

5 files changed

+27
-6
lines changed

5 files changed

+27
-6
lines changed

.bithoundrc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"ignore": [
3+
"dist/**",
4+
"**/node_modules/**",
5+
"**/bower_components/**",
6+
"**/demo/**",
7+
"**/coverage/**"
8+
],
9+
"test": [
10+
"**/spec/**"
11+
],
12+
"critics": {
13+
"lint": "jshint"
14+
}
15+
}

dist/gridstack.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@
77
*/
88
(function(factory) {
99
if (typeof define === 'function' && define.amd) {
10-
define(['jquery', 'lodash', 'jquery-ui/core', 'jquery-ui/widget', 'jquery-ui/mouse', 'jquery-ui/draggable',
11-
'jquery-ui/resizable'], factory);
10+
define(['jquery', 'lodash', 'jquery-ui/data', 'jquery-ui/disable-selection', 'jquery-ui/focusable',
11+
'jquery-ui/form', 'jquery-ui/ie', 'jquery-ui/keycode', 'jquery-ui/labels', 'jquery-ui/jquery-1-7',
12+
'jquery-ui/plugin', 'jquery-ui/safe-active-element', 'jquery-ui/safe-blur', 'jquery-ui/scroll-parent',
13+
'jquery-ui/tabbable', 'jquery-ui/unique-id', 'jquery-ui/version', 'jquery-ui/widget',
14+
'jquery-ui/widgets/mouse', 'jquery-ui/widgets/draggable', 'jquery-ui/widgets/resizable'], factory);
1215
} else if (typeof exports !== 'undefined') {
1316
try { jQuery = require('jquery'); } catch (e) {}
1417
try { _ = require('lodash'); } catch (e) {}

dist/gridstack.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/gridstack.min.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/gridstack.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@
77
*/
88
(function(factory) {
99
if (typeof define === 'function' && define.amd) {
10-
define(['jquery', 'lodash', 'jquery-ui/core', 'jquery-ui/widget', 'jquery-ui/mouse', 'jquery-ui/draggable',
11-
'jquery-ui/resizable'], factory);
10+
define(['jquery', 'lodash', 'jquery-ui/data', 'jquery-ui/disable-selection', 'jquery-ui/focusable',
11+
'jquery-ui/form', 'jquery-ui/ie', 'jquery-ui/keycode', 'jquery-ui/labels', 'jquery-ui/jquery-1-7',
12+
'jquery-ui/plugin', 'jquery-ui/safe-active-element', 'jquery-ui/safe-blur', 'jquery-ui/scroll-parent',
13+
'jquery-ui/tabbable', 'jquery-ui/unique-id', 'jquery-ui/version', 'jquery-ui/widget',
14+
'jquery-ui/widgets/mouse', 'jquery-ui/widgets/draggable', 'jquery-ui/widgets/resizable'], factory);
1215
} else if (typeof exports !== 'undefined') {
1316
try { jQuery = require('jquery'); } catch (e) {}
1417
try { _ = require('lodash'); } catch (e) {}

0 commit comments

Comments
 (0)