Commit Graph
298 Commits
Author SHA1 Message Date
David Morse cec85c59a7 Merge remote-tracking branch 'eric/master'
Grunt changes
  Add an optional final parameter to add_widget.
  Bumping to v0.5.7
  Grunt
  Fix Widget Right Edge Collission Detection
  re-name model_id parameter
  add model_id parameter to add_widget method in order to create a relationship between widget and backbone model
  Fix the memory leak that was incorrectly iterating rows and columns
  Cache $(window) and $(this) selectors for performance
  fix (Gridster.js):  destroy  resize_api
2015-04-07 13:50:05 -06:00
David Morse 37d8e0ec25 Merge from abril/gridster.js
* merging:
  add function move_widget in dist/jquery.gridster.js
  Include move_widget function (Move a widget to a specific row and column.).
  Change jQuery reference for $.
2015-04-07 11:55:30 -06:00
David Morse 4783e6e726 fix a NAN error that could occur if using center_widget if the grid was in responsive mode.
Error check the shift cols, to ensure they can't move left past col 1
make a change from 100% to 100VW for better browser support of min-width
2015-04-06 22:49:51 -06:00
David Morse ec430f816f Merge branch 'master' of https://github.com/DecksterTeam/gridster.js 2015-04-06 22:33:20 -06:00
floyd_hawkes d5bf56c39d chore(grunt): fixing versioning system 2015-04-06 16:19:38 -04:00
floyd_hawkes f8d3d2d223 Release v0.6.5 2015-04-06 16:17:12 -04:00
floyd_hawkes bbd9cd4803 Release v0.6.5 2015-04-06 16:09:08 -04:00
floyd_hawkes 86053f8be3 fix(gridster): fixed bugs in centering_widgets (widgets were getting smushed when being resized) and fixed bug with min_width 2015-04-06 16:05:40 -04:00
David Morse 3ec0c6fa6e Move the check for responsive width above the calculations of width. This will prevent the calculated values changing the width for browsers which don't respect min-width 2015-04-04 22:38:23 -06:00
David Morse aa8f4bf3d0 Move the check for responsive width above the calculations of width. This will prevent the calculated values changing the width for browsers which don't respect min-width 2015-04-04 22:11:16 -06:00
floyd_hawkes 16a7a65953 #3 Adds ability to automatically center widgets in the grid. 2015-03-19 10:56:54 -04:00
floyd_hawkes e40a393aec Release v0.6.4 2015-03-19 10:46:18 -04:00
floyd_hawkes 8a5a723a2d #3 Adds ability to automatically center widgets in the grid. 2015-03-19 10:43:15 -04:00
Thiago Moura c261a4ebef add function move_widget in dist/jquery.gridster.js 2015-03-17 17:35:26 -03:00
Thiago Moura 02a1580422 Include move_widget function (Move a widget to a specific row and column.). 2015-03-17 17:02:00 -03:00
Diogo Benicá ec253acf83 Change jQuery reference for $. 2015-03-16 17:22:29 -03:00
Eric Mann ee7b5be322 Merge in fade changes 2015-03-06 14:15:21 -08:00
Eric Mann 7db7addfde Grunt changes 2015-03-06 14:15:07 -08:00
Eric Mann 41a183b22d Add an optional final parameter to add_widget. 2015-03-06 12:22:29 -08:00
floyd_hawkes fc75ce5d46 Release v0.6.3 2015-03-06 14:41:24 -05:00
floyd_hawkes 6bb47dc1ce fix(gridster): fixing resize limits when in fixed width mode
feature(gridster): added fix_to_content function to fit widget dimensions to a given width and height
feature(gridster): added resize_widget_dimensions function
refactor(gridster): moved code to set number of columns in grid to helper function
2015-03-06 14:36:05 -05:00
floyd_hawkes 14e08d9fe0 refactor(gridster): adding callback to add_widget function 2015-03-04 10:18:48 -05:00
floyd_hawkes 76544370d5 fix(gridster): adding bower.json file 2015-02-25 09:51:56 -05:00
floyd_hawkes 5f86f9852d Merge branch 'master' of github.com:DecksterTeam/gridster.js 2015-02-25 09:48:46 -05:00
floyd_hawkes fa296634eb fix(gridster): adding bower.json file 2015-02-25 09:47:43 -05:00
fhawkes 04e2cf7c99 Merge pull request #2 from DecksterTeam/resize-overlap
fix(gridster): fixes bug where widgets would overlay other widgets after...
2015-02-23 21:31:32 -05:00
floyd_hawkes 61572cd881 fix(gridster): fixes bug where widgets would overlay other widgets after a resize 2015-02-23 21:29:20 -05:00
floyd_hawkes d669045dec Release v0.6.2 2015-02-23 20:28:53 -05:00
floyd_hawkes 749f37a520 fix(gridster): forcing height of gridster container to auto when in collapsed mode 2015-02-23 20:25:24 -05:00
floyd_hawkes 9ead8c04c1 Release v0.6.1 2015-02-21 12:26:58 -05:00
floyd_hawkes dbc226d46c fix(gridster): fixed expand_widget bug not expanding full width of window
fix(gridster): user can specify size_x when expanding widget
2015-02-21 12:25:05 -05:00
floyd_hawkes afd83fead8 fix(gridster): fixing drag limit issues when using autogrow_cols 2015-02-21 11:51:17 -05:00
floyd_hawkes 754b313378 Release v0.6.0 2015-02-18 13:37:14 -05:00
floyd_hawkes a391304357 fix(gridster): changed the way widgets were getting positioned so that margins are actually the same size that the user specified all the way around the grid
feat(gridster): added responsive nature to grid
2015-02-18 13:34:20 -05:00
Eric Mann c9b97572ab Bumping to v0.5.7 2015-02-17 13:50:45 -08:00
Eric Mann da5e223c59 Grunt 2015-02-17 13:26:57 -08:00
Eric Mann 4287b56cbd Fix Widget Right Edge Collission Detection
Apply the fix from duckboard's issue tracker. Fixes #2.
2015-02-17 13:24:50 -08:00
Ivan Lopez 34b537230d re-name model_id parameter 2014-12-31 10:43:01 -05:00
Ivan Lopez e773e9db78 add model_id parameter to add_widget method in order to create a relationship between widget and backbone model 2014-12-31 10:25:40 -05:00
Eric Mann 4fe62c9be9 Fix the memory leak that was incorrectly iterating rows and columns 2014-12-17 13:56:45 -08:00
Eric Mann 4d6abc862a Cache $(window) and $(this) selectors for performance 2014-12-17 10:29:57 -08:00
Eric Mann 7026f0f608 Accepting Resize API pull request. @props tormoalto 2014-12-17 09:44:24 -08:00
jcp 0fe7f23c98 fix (Gridster.js): destroy resize_api
Call  resize_api.destroy()  to fix  memory leak.
2014-12-01 21:12:42 +01:00
vieron 314037471f Release v0.5.6 2014-09-25 12:27:05 +02:00
vieron 79aff38c60 fix(draggable): namespace events with unique ids
Until now if you had multiple instances of Draggable in the same page,
when destroying one of them, all of the events binded to other
instances were also destroyed.

So, we are namespacing event names with unique id’s per instance to ensure
only that only the corresponding events are unbinded.

The other solution is to cache references to the event handlers, but most
of them are proxied or throttled which makes more mess...
2014-09-25 12:26:15 +02:00
vieron 1d06af1d5c Release v0.5.5 2014-07-25 15:50:59 +02:00
vieron 9926ceff59 fix(gridster): fire positionschanged when widget orig position changes
Until now `gridster:positionschanged` was being fired only if the widget
was moved up, but we also need to know if position is different when
`avoid_overlapped_widgets` is set to true (by default).
2014-07-25 15:49:14 +02:00
vieron 7640971905 Release v0.5.4 2014-07-16 20:29:47 +02:00
vieron 93df6cf690 fix(gridster): serialize returns an Array object, not a jQuery object
Fixes #394
2014-07-16 20:28:54 +02:00
vieron e837ded844 Release v0.5.3 2014-07-04 19:04:54 +02:00