Skip to content

Commit d3ea15f

Browse files
authored
Merge pull request #130 from kbroderick/master
Address #129 -- README instructions for Gemfile
2 parents 7cf095d + 41fa954 commit d3ea15f

14 files changed

+28
-24
lines changed

Diff for: README.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,19 @@ and run bundle install.
5959
Add this line to app/assets/stylesheets/application.css
6060

6161
``` css
62-
*= require jquery.gridster
62+
*= require jquery.dsmorse-gridster.min
6363
```
64+
Note that the non-minified versions is `jquery.gridster`, should that be preferred.
65+
6466

6567
Add this line to app/assets/javascripts/application.js
6668

6769
``` javascript
68-
//= require jquery.gridster
70+
//= require jquery.dsmorse-gridster.min
6971
```
7072

73+
Note that `jquery.dsmorse-gridster`, `jquery.dsmorse-gridster.with-extras`, and `jquery.dsmorse-gridster.with-extras.min` are also available if you want a non-minified version or gridster with extras.
74+
7175
## Contributing to this project
7276

7377
Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing.
@@ -84,4 +88,4 @@ Distributed under the MIT license.
8488
## Whodunit
8589

8690
Gridster is built by [Ducksboard](http://ducksboard.com/) with the help of all
87-
these [wonderful people](https://github.com/ducksboard/gridster.js/graphs/contributors).
91+
these [wonderful people](https://github.com/dsmorse/gridster.js/graphs/contributors).

Diff for: dist/jquery.collision.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/jquery.coords.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/jquery.draggable.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/jquery.gridster.js renamed to dist/jquery.dsmorse-gridster.js

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/*! gridster.js - v0.7.0 - 2017-03-27
1+
/*! gridster.js - v0.8.0 - 2019-01-10
22
* https://dsmorse.github.io/gridster.js/
3-
* Copyright (c) 2017 ducksboard; Licensed MIT */
3+
* Copyright (c) 2019 ducksboard; Licensed MIT */
44

55
;(function(root, factory) {
66
'use strict';
@@ -2275,7 +2275,7 @@
22752275
container_width: this.container_width,
22762276
move_element: false,
22772277
resize: true,
2278-
limit: { width: this.options.max_cols !== Infinity || this.limit.width, height: this.options.max_rows !== Infinity || this.limit.height },
2278+
limit: { width: this.options.max_cols !== Infinity || this.options.limit.width, height: this.options.max_rows !== Infinity || this.options.limit.height },
22792279
scroll_container: this.options.scroll_container,
22802280
start: $.proxy(this.on_start_resize, this),
22812281
stop: $.proxy(function (event, ui) {
@@ -3265,9 +3265,7 @@
32653265
*/
32663266
fn.is_empty = function (col, row) {
32673267
if (typeof this.gridmap[col] !== 'undefined') {
3268-
if (typeof this.gridmap[col][row] !== 'undefined' &&
3269-
this.gridmap[col][row] === false
3270-
) {
3268+
if (!this.gridmap[col][row]) {
32713269
return true;
32723270
}
32733271
return false;
@@ -5031,7 +5029,7 @@
50315029
};
50325030

50335031
fn.get_num_widgets = function () {
5034-
return this.$widgets.size();
5032+
return this.$widgets.length;
50355033
};
50365034

50375035
/**

Diff for: dist/jquery.gridster.min.css renamed to dist/jquery.dsmorse-gridster.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/jquery.dsmorse-gridster.min.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/jquery.gridster.with-extras.js renamed to dist/jquery.dsmorse-gridster.with-extras.js

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/*! gridster.js - v0.7.0 - 2017-03-27
1+
/*! gridster.js - v0.8.0 - 2019-01-10
22
* https://dsmorse.github.io/gridster.js/
3-
* Copyright (c) 2017 ducksboard; Licensed MIT */
3+
* Copyright (c) 2019 ducksboard; Licensed MIT */
44

55
;(function(root, factory) {
66
'use strict';
@@ -2275,7 +2275,7 @@
22752275
container_width: this.container_width,
22762276
move_element: false,
22772277
resize: true,
2278-
limit: { width: this.options.max_cols !== Infinity || this.limit.width, height: this.options.max_rows !== Infinity || this.limit.height },
2278+
limit: { width: this.options.max_cols !== Infinity || this.options.limit.width, height: this.options.max_rows !== Infinity || this.options.limit.height },
22792279
scroll_container: this.options.scroll_container,
22802280
start: $.proxy(this.on_start_resize, this),
22812281
stop: $.proxy(function (event, ui) {
@@ -3265,9 +3265,7 @@
32653265
*/
32663266
fn.is_empty = function (col, row) {
32673267
if (typeof this.gridmap[col] !== 'undefined') {
3268-
if (typeof this.gridmap[col][row] !== 'undefined' &&
3269-
this.gridmap[col][row] === false
3270-
) {
3268+
if (!this.gridmap[col][row]) {
32713269
return true;
32723270
}
32733271
return false;
@@ -5031,7 +5029,7 @@
50315029
};
50325030

50335031
fn.get_num_widgets = function () {
5034-
return this.$widgets.size();
5032+
return this.$widgets.length;
50355033
};
50365034

50375035
/**

Diff for: dist/jquery.dsmorse-gridster.with-extras.min.js

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/jquery.gridster.min.js

-2
This file was deleted.

Diff for: dist/jquery.gridster.with-extras.min.js

-2
This file was deleted.

Diff for: dist/utils.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: lib/gridster.js-rails/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Gridster
22
module Rails
3-
VERSION = "0.7.0"
3+
VERSION = "0.8.0"
44
end
55
end

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "dsmorse-gridster",
33
"title": "gridster.js",
44
"description": "a drag-and-drop multi-column jQuery grid plugin",
5-
"version": "0.7.0",
5+
"version": "0.8.0",
66
"homepage": "https://dsmorse.github.io/gridster.js/",
77
"author": {
88
"name": "ducksboard"

0 commit comments

Comments
 (0)