Skip to content

Commit a7fd507

Browse files
authored
Merge pull request #634 from radiolips/feature/remove-ui-update-deps
Update dev-dependencies. Remove checks for $.ui (unnecessary with new…
2 parents 21080f1 + 36fea94 commit a7fd507

File tree

9 files changed

+21
-67
lines changed

9 files changed

+21
-67
lines changed

dist/gridstack-extra.min.css

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.all.js

Lines changed: 3 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/gridstack.jQueryUI.min.js

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

dist/gridstack.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,9 +1042,6 @@
10421042
};
10431043

10441044
GridStack.prototype._prepareElementsByNode = function(el, node) {
1045-
if (typeof $.ui === 'undefined') {
1046-
return;
1047-
}
10481045
var self = this;
10491046

10501047
var cellWidth;
@@ -1337,7 +1334,7 @@
13371334
el.each(function(index, el) {
13381335
el = $(el);
13391336
var node = el.data('_gridstack_node');
1340-
if (typeof node == 'undefined' || node === null || typeof $.ui === 'undefined') {
1337+
if (typeof node == 'undefined' || node === null) {
13411338
return;
13421339
}
13431340

@@ -1357,7 +1354,7 @@
13571354
el.each(function(index, el) {
13581355
el = $(el);
13591356
var node = el.data('_gridstack_node');
1360-
if (typeof node == 'undefined' || node === null || typeof $.ui === 'undefined') {
1357+
if (typeof node == 'undefined' || node === null) {
13611358
return;
13621359
}
13631360

dist/gridstack.min.css

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.js

Lines changed: 2 additions & 18 deletions
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.

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@
3535
"doctoc": "^1.0.0",
3636
"grunt": "^0.4.5",
3737
"grunt-cli": "^1.2.0",
38-
"grunt-contrib-connect": "^0.11.2",
39-
"grunt-contrib-copy": "^0.8.2",
40-
"grunt-contrib-cssmin": "^0.14.0",
38+
"grunt-contrib-connect": "^1.0.2",
39+
"grunt-contrib-copy": "^1.0.0",
40+
"grunt-contrib-cssmin": "^2.1.0",
4141
"grunt-contrib-jshint": "^1.0.0",
42-
"grunt-contrib-uglify": "^0.11.1",
43-
"grunt-contrib-watch": "^0.6.1",
42+
"grunt-contrib-uglify": "^2.3.0",
43+
"grunt-contrib-watch": "^1.0.0",
4444
"grunt-doctoc": "^0.1.1",
45-
"grunt-jscs": "^2.8.0",
46-
"grunt-protractor-runner": "^3.2.0",
45+
"grunt-jscs": "^3.0.1",
46+
"grunt-protractor-runner": "^5.0.0",
4747
"grunt-protractor-webdriver": "^0.2.5",
48-
"grunt-sass": "^1.1.0",
48+
"grunt-sass": "^2.0.0",
4949
"jasmine-core": "^2.4.1",
5050
"karma": "^1.1.2",
5151
"karma-coverage": "^1.1.1",

src/gridstack.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,9 +1042,6 @@
10421042
};
10431043

10441044
GridStack.prototype._prepareElementsByNode = function(el, node) {
1045-
if (typeof $.ui === 'undefined') {
1046-
return;
1047-
}
10481045
var self = this;
10491046

10501047
var cellWidth;
@@ -1337,7 +1334,7 @@
13371334
el.each(function(index, el) {
13381335
el = $(el);
13391336
var node = el.data('_gridstack_node');
1340-
if (typeof node == 'undefined' || node === null || typeof $.ui === 'undefined') {
1337+
if (typeof node == 'undefined' || node === null) {
13411338
return;
13421339
}
13431340

@@ -1357,7 +1354,7 @@
13571354
el.each(function(index, el) {
13581355
el = $(el);
13591356
var node = el.data('_gridstack_node');
1360-
if (typeof node == 'undefined' || node === null || typeof $.ui === 'undefined') {
1357+
if (typeof node == 'undefined' || node === null) {
13611358
return;
13621359
}
13631360

0 commit comments

Comments
 (0)