Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to leave DOM in place when destroy() is called, add proper cleanup of generated_stylesheets. #296

Open
wants to merge 170 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
170 commits
Select commit Hold shift + click to select a range
898b77d
Added grid-swap behavior
dustmoo Nov 20, 2012
6746587
Added property to prevent larger widget shifting
dustmoo Nov 20, 2012
95ce88c
Updated Readme
dustmoo Nov 20, 2012
7738287
More predictable default behavior
dustmoo Nov 20, 2012
98204f1
Added swaping queue, better handling of large to small swaps
dustmoo Nov 26, 2012
262d115
Added swaping queue, better handling of large to small swaps
dustmoo Nov 26, 2012
136923e
working on map grid functionality
dustmoo Nov 27, 2012
32e5f54
Fix row issue
dustmoo Nov 27, 2012
24cd3be
Swap queue awesomeness
dustmoo Nov 27, 2012
a3d2b09
Swap queue awesomeness
dustmoo Nov 27, 2012
6786984
Good enough swap logic for now
dustmoo Nov 28, 2012
ea77853
Removed console.logs
dustmoo Nov 28, 2012
179b706
Removed console.logs
dustmoo Nov 28, 2012
44019ca
Added max_rows and drag restriction - ready for integration :)
dustmoo Nov 28, 2012
3ebf5fa
Serialize bug fix
dustmoo Dec 10, 2012
54099ec
Version Updates
dustmoo Feb 27, 2013
953fa81
Merge branch 'mapapp'
dustmoo Feb 27, 2013
0badd03
Updated Readme
dustmoo Feb 27, 2013
8f431a4
Updated Readme
dustmoo Feb 27, 2013
ac8894d
Working on Static widgets
dustmoo Feb 28, 2013
1d5883b
Added disabled dragging init feature gridster.js
sbehrends Apr 1, 2013
1748e6f
Merge pull request #7 from sbehrends/patch-1
dustmoo Apr 1, 2013
8b2f748
Added Swap Demo
dustmoo Apr 2, 2013
cb98d7d
Merge branch 'master' of https://github.com/dustmoo/gridster.js
dustmoo Apr 2, 2013
51ba8f9
rebuilt dist
dustmoo Apr 2, 2013
762dd44
update readme
dustmoo Apr 2, 2013
3cc9485
Better handling of widgets slideing down
dustmoo Apr 3, 2013
412ee61
Updated sample
dustmoo Apr 3, 2013
6eb5210
Update Readme
dustmoo Apr 3, 2013
7f1d1fe
fix(destroy): Added bool param to destroy method to leave original DO…
Jan 9, 2014
7d5b435
fix(destroy): Added better cleanup for style tag cache when destroy()…
Jan 9, 2014
0c5ad5f
fix(destroy) fixed styles removal in ie
Jan 10, 2014
7fe912f
add resize_widget_dimension()
hrosenbauer Apr 1, 2014
cabf37b
Prevent multi <style> generation
andreas-trad Apr 2, 2014
0e28203
fix add_widget to use correct size_y when adding rows
kwak27 Apr 3, 2014
6554499
fix min-width and min-height after resize
hrosenbauer Apr 8, 2014
72669b0
fixes-add-widget-overlapping-issue-#340
Apr 9, 2014
1c3659c
Removing previously added style tags before adding new one.
dasmall Apr 10, 2014
89bce45
Fixed issue where existing widget position would be overwritten on gr…
Apr 30, 2014
4a1ef10
Fixed typeof comparison to match against string.
May 14, 2014
c0bc1b9
add resize_widget_dimension()
hrosenbauer Apr 1, 2014
c9ecfdb
fix min-width and min-height after resize
hrosenbauer Apr 8, 2014
97cc8b3
Merge branch 'resize-widget-dimensions' of https://github.com/rebugge…
hrosenbauer Jun 26, 2014
8940d6f
Fixed a typo in Gridster class documentation
AWhetter Jul 10, 2014
274dee3
add_resize_handle: multiple span (resizeable) entries in widgets
dragonier Jul 30, 2014
a027c6c
Create bower.json
Aug 24, 2014
cdb0f5c
Changed "instanceof jQuery" to "instanceof $"
Sep 2, 2014
8b6a48b
Wrong addition solved in add_faux_rows by adding parseInt
rept Sep 8, 2014
4525aa1
Also added parseInt to the add_faux_cols method
rept Sep 10, 2014
9099da8
Also added parseInt to the add_faux_cols method
rept Sep 10, 2014
ddf8bbd
support UMD
joaoafrmartins Sep 16, 2014
17b1013
commonjs
joaoafrmartins Sep 16, 2014
a14669e
Merge pull request #1 from ducksboard/master
yfix Oct 15, 2014
821264d
Fix gridster destroy
Nov 17, 2014
7dbd7a6
Update jquery.gridster.js
Nov 17, 2014
41ad5c9
Added ability to specify scroll container for drag/resize
Nov 18, 2014
d09dea2
fix issue #469
Nov 21, 2014
0fe7f23
fix (Gridster.js): destroy resize_api
Dec 1, 2014
bd8dbf8
Added destroy of widget coords and resize api
Dec 2, 2014
975e389
rename test files.
sogawa Dec 17, 2014
913462f
add element "#qunit-testresult"
sogawa Dec 17, 2014
7026f0f
Accepting Resize API pull request. @props tormoalto
ericmann Dec 17, 2014
0ad0b3b
Convert to integer type of property value when sorting.
sogawa Dec 17, 2014
4d6abc8
Cache $(window) and $(this) selectors for performance
ericmann Dec 17, 2014
4fe62c9
Fix the memory leak that was incorrectly iterating rows and columns
ericmann Dec 17, 2014
e773e9d
add model_id parameter to add_widget method in order to create a rela…
Dec 31, 2014
34b5372
re-name model_id parameter
Dec 31, 2014
b0bedc6
delete jquery dependency
veeamGMBH Jan 15, 2015
d91ddd7
Fix spelling mistake
Feb 4, 2015
4287b56
Fix Widget Right Edge Collission Detection
ericmann Feb 17, 2015
da5e223
Grunt
ericmann Feb 17, 2015
c9b9757
Bumping to v0.5.7
ericmann Feb 17, 2015
a391304
fix(gridster): changed the way widgets were getting positioned so tha…
Feb 18, 2015
754b313
Release v0.6.0
Feb 18, 2015
afd83fe
fix(gridster): fixing drag limit issues when using autogrow_cols
Feb 21, 2015
dbc226d
fix(gridster): fixed expand_widget bug not expanding full width of wi…
Feb 21, 2015
9ead8c0
Release v0.6.1
Feb 21, 2015
749f37a
fix(gridster): forcing height of gridster container to auto when in c…
Feb 24, 2015
d669045
Release v0.6.2
Feb 24, 2015
61572cd
fix(gridster): fixes bug where widgets would overlay other widgets af…
Feb 24, 2015
04e2cf7
Merge pull request #2 from DecksterTeam/resize-overlap
fhawkes Feb 24, 2015
fa29663
fix(gridster): adding bower.json file
Feb 25, 2015
5f86f98
Merge branch 'master' of github.com:DecksterTeam/gridster.js
Feb 25, 2015
7654437
fix(gridster): adding bower.json file
Feb 25, 2015
c0a2bde
Fix for bug #493 including unit tests to prove.
Mar 3, 2015
14e08d9
refactor(gridster): adding callback to add_widget function
Mar 4, 2015
6bb47dc
fix(gridster): fixing resize limits when in fixed width mode
Mar 6, 2015
fc75ce5
Release v0.6.3
Mar 6, 2015
41a183b
Add an optional final parameter to add_widget.
ericmann Mar 6, 2015
7db7add
Grunt changes
ericmann Mar 6, 2015
ee7b5be
Merge in fade changes
ericmann Mar 6, 2015
ec253ac
Change jQuery reference for $.
diogobenica Mar 16, 2015
02a1580
Include move_widget function (Move a widget to a specific row and col…
Mar 17, 2015
c261a4e
add function move_widget in dist/jquery.gridster.js
Mar 17, 2015
8a5a723
#3 Adds ability to automatically center widgets in the grid.
Mar 19, 2015
e40a393
Release v0.6.4
Mar 19, 2015
16a7a65
#3 Adds ability to automatically center widgets in the grid.
Mar 19, 2015
aa8f4bf
Move the check for responsive width above the calculations of width. …
Apr 5, 2015
3ec0c6f
Move the check for responsive width above the calculations of width. …
Apr 5, 2015
86053f8
fix(gridster): fixed bugs in centering_widgets (widgets were getting …
Apr 6, 2015
bbd9cd4
Release v0.6.5
Apr 6, 2015
f8d3d2d
Release v0.6.5
Apr 6, 2015
d5bf56c
chore(grunt): fixing versioning system
Apr 6, 2015
ec430f8
Merge branch 'master' of https://github.com/DecksterTeam/gridster.js
Apr 7, 2015
4783e6e
fix a NAN error that could occur if using center_widget if the grid w…
Apr 7, 2015
37d8e0e
Merge from abril/gridster.js
Apr 7, 2015
cec85c5
Merge remote-tracking branch 'eric/master'
Apr 7, 2015
5b1dfbe
Merge remote-tracking branch 'ducksboard/bug-493-jquery-no-global-fail'
Apr 8, 2015
acd80b4
Merge remote-tracking branch 'Roger-Waters/gridster.js'
Apr 8, 2015
7200713
Merge remote-tracking branch 'sogawa/gridster.js/strict-sort'
Apr 8, 2015
e7509f0
Merge remote-tracking branch 'bfarka/gridster.js/fix-trailing-comma'
Apr 8, 2015
84598f6
Merge remote-tracking branch 'mooglemoogle/gridster.js/master'
Apr 8, 2015
3810dae
Merge remote-tracking branch 'Toosick/gridster.js/patch-1'
Apr 8, 2015
6d5e8ed
Merge remote-tracking branch 'joaoafrmartins/gridster.js/master'
Apr 8, 2015
85bc2f4
Merge remote-tracking branch 'rept/gridster.js/addition_problem_add_f…
Apr 8, 2015
0b08e1f
Merge remote-tracking branch 'aegisrunestone/gridster.js/master'
Apr 8, 2015
35ba767
Merge remote-tracking branch 'Tropicalista/gridster.js/master'
Apr 8, 2015
0d9d5c2
Merge remote-tracking branch 'dragonier/gridster.js/master'
Apr 8, 2015
56e9f62
Merge remote-tracking branch 'AWhetter/gridster.js/fix_doc_typo'
Apr 8, 2015
7ee8824
Merge remote-tracking branch 'cpascu/gridster.js/faux-rows-patch'
Apr 8, 2015
524ed2b
Merge remote-tracking branch 'dasmall/gridster.js.git/master'
Apr 8, 2015
2acdff1
Merge remote-tracking branch 'AdrianTeh/gridster.js.git/master'
Apr 8, 2015
b87c011
Merge remote-tracking branch 'kwak27/gridster.js/fix_add_widget'
Apr 8, 2015
e77e8d7
Merge remote-tracking branch 'andreas-trad/gridster.js.git/patch-1'
Apr 8, 2015
c220ecf
Merge remote-tracking branch 'rebugger/gridster.js.git/resize-widget-…
Apr 8, 2015
4e2697e
Merge remote-tracking branch 'yfix/gridster.js.git/master'
Apr 8, 2015
a908eae
Merge remote-tracking branch 'Laboratory/gridster.js.git/master'
Apr 8, 2015
853e1fc
Update Readme
Apr 8, 2015
8f6d18e
Release v0.6.6
Apr 8, 2015
0862812
Fix my merge error from the merge from remote-tracking branch 'cpascu…
Apr 9, 2015
0cd0af9
Merge from dustmoo/gridster.js
Apr 9, 2015
f29ab73
Merge from dustmoo/gridster.js
Apr 9, 2015
59b475d
Merge commit '6eb521015cda5212f6fa92492dbe4050bd92e00c'
Apr 9, 2015
69f9c81
Update Samples
Apr 9, 2015
385cc75
bring the Demo's into master for testing & Automate the updates to g…
Apr 10, 2015
7af6bf7
Add unit testing for core API, ensure all demos work, and add unit te…
Apr 13, 2015
595a94f
fix(gridster): ensure widget dimensions and coords are always ints
vieron Apr 13, 2015
b162932
fix(gridster): destroy resize_api
Dec 1, 2014
ccbac1f
chore: bump up jquery version to 2.1.3
vieron Apr 14, 2015
446852a
feat(gridster): Common.js support
joaoafrmartins Sep 16, 2014
9d077da
fix(gridster): preventing gridster from adding extra resize handles
Apr 14, 2015
12f4ab1
Revert "fix(gridster): preventing gridster from adding extra resize h…
Apr 14, 2015
6c5ef28
preventing gridster from creating extra resize handles while centering
Apr 14, 2015
0286676
Merge pull request #6 from DecksterTeam/dadams
fhawkes Apr 14, 2015
65f43a5
Release v0.6.6
Apr 14, 2015
43148b8
feat(gridster): browserify compatibility
vieron Apr 14, 2015
d3f25f3
feat(draggable): autoscrolling
vieron Apr 13, 2015
d947175
fix(gridster): wrong addition solved in add_faux_rows/cols by adding …
rept Sep 8, 2014
c622630
fix(gridster): changed "instanceof jQuery" to "instanceof $"
Sep 2, 2014
8080dac
docs(gridster): fixed a typo in Gridster class documentation
AWhetter Jul 10, 2014
93cd01e
chore(gridster): remove unused code
vieron Apr 16, 2015
2002c45
feat(gridster.css): remove possible default pading
vieron Apr 16, 2015
e258d59
tests(gridster): add basic test suite for gridster
vieron Apr 16, 2015
7de5bba
feat(gridster): add config to set custom show/hide widget methods
vieron Apr 16, 2015
cda560f
fix(gridster): `resize_widget` also accepts HTMLElements
vieron Apr 16, 2015
576b5ae
fix(gridster): ensure coords instances are destroyed on widgets
vieron Apr 16, 2015
3006d4f
style(jshint): add jshint config and setup grunt task
vieron Apr 16, 2015
9863656
style(jshint): adapt code to pass jshint
vieron Apr 16, 2015
57a2604
rev jquery version
Apr 16, 2015
3a696ad
0.6.7 release
Apr 16, 2015
e69c3e8
fix(gridster): responsive width now resizes based off wrapper not window
fhawkes Apr 22, 2015
8473bd6
update dependencies and jshint
Apr 29, 2015
9732b01
Merge commit 'e69c3e8f64aa4557ef032e4d0d8185e83b1aed21'
Apr 29, 2015
699fad9
Release v0.6.8
Apr 29, 2015
d220fd9
typo on "the" in "inactivity over the last year"
ericop May 12, 2015
244089c
Merge pull request #4 from ericop/patch-1
May 12, 2015
4d946ea
Fix bug with responsive layout if grid in wrapped in a container whic…
May 13, 2015
0a7ae2e
Add new demo page and allow two new features based on Issue #6:
May 15, 2015
fa6de00
Remove debug code
May 18, 2015
efaeba1
Merge remote-tracking branch 'remotes/dsmorse/master'
May 18, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ gh-pages/
demo/
.idea
.DS_Store
.idea
*.iml
103 changes: 103 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
{
// http://www.jshint.com/docs/
// Based on [email protected]

// ENFORCING OPTIONS
// These options tell JSHint to be more strict towards your code. Use them if
// you want to allow only a safe subset of JavaScript—very useful when your
// codebase is shared with a big number of developers with different skill
// levels.

"bitwise": true, //prohibits the use of bitwise operators such as ^ (XOR), | (OR) and others
"camelcase": false, //force all variable names to use either camelCase style or UPPER_CASE with underscores
"curly": true, //requires you to always put curly braces around blocks in loops and conditionals
"eqeqeq": true, //prohibits the use of == and != in favor of === and !==
"es3": false, //tells JSHint that your code needs to adhere to ECMAScript 3 specification
"forin": false, //requires all `for in` loops to filter object's items with `hasOwnProperty()`
"immed": true, //prohibits the use of immediate function invocations without wrapping them in parentheses
"indent": 2, //enforces specific tab width
"latedef": true, //prohibits the use of a variable before it was defined
"newcap": true, //requires you to capitalize names of constructor functions
"noarg": true, //prohibits the use of `arguments.caller` and `arguments.callee`
"noempty": true, //warns when you have an empty block in your code
"nonew": true, //prohibits the use of constructor functions for side-effects
"plusplus": false, //prohibits the use of unary increment and decrement operators
"quotmark": true, //enforces the consistency of quotation marks used throughout your code
"undef": true, //prohibits the use of explicitly undeclared variables
"unused": "vars", //warns when you define and never use your variables
"strict": true, //requires all functions to run in ECMAScript 5's strict mode
"trailing": true, //makes it an error to leave a trailing whitespace in your code
"maxparams": false, //set the max number of formal parameters allowed per function
"maxdepth": 6, //control how nested do you want your blocks to be
"maxstatements": false, //set the max number of statements allowed per function
"maxcomplexity": false, //control cyclomatic complexity throughout your code

// RELAXING OPTIONS
// These options allow you to suppress certain types of warnings. Use them
// only if you are absolutely positive that you know what you are doing.

"asi": false, //suppresses warnings about missing semicolons
"boss": false, //suppresses warnings about the use of assignments in cases where comparisons are expected
"debug": false, //suppresses warnings about the debugger statements in your code
"eqnull": false, //suppresses warnings about == null comparisons
"esnext": false, //your code uses ES.next specific features such as const
"evil": false, //suppresses warnings about the use of eval
"expr": true, //suppresses warnings about the use of expressions where normally you would expect to see assignments or function calls
"funcscope": false, //suppresses warnings about declaring variables inside of control structures while accessing them later from the outside
"globalstrict": false, //suppresses warnings about the use of global strict mode
"iterator": false, //suppresses warnings about the `__iterator__` property
"lastsemic": false, //suppresses warnings about missing semicolons, but only when the semicolon is omitted for the last statement in a one-line block
"laxbreak": false, //suppresses most of the warnings about possibly unsafe line breakings in your code
"laxcomma": false, //suppresses warnings about comma-first coding style
"loopfunc": false, //suppresses warnings about functions inside of loops
"moz": false, //tells JSHint that your code uses Mozilla JavaScript extensions
"multistr": false, //suppresses warnings about multi-line strings
"proto": false, //suppresses warnings about the `__proto__` property
"scripturl": false, //suppresses warnings about the use of script-targeted URLs—such as `javascript:...`
"smarttabs": false, //suppresses warnings about mixed tabs and spaces when the latter are used for alignmnent only
"shadow": false, //suppresses warnings about variable shadowing
"sub": false, //suppresses warnings about using `[]` notation when it can be expressed in dot notation
"supernew": false, //suppresses warnings about "weird" constructions like `new function () { ... }` and `new Object;`
"validthis": false, //suppresses warnings about possible strict violations when the code is running in strict mode and you use `this` in a non-constructor function

// ENVIRONMENTS
// These options pre-define global variables that are exposed by popular
// JavaScript libraries and runtime environments—such as browser or node.js.
// Essentially they are shortcuts for explicit declarations like
// /*global $:false, jQuery:false */

"browser": true, //defines globals exposed by modern browsers
"couch": false, //defines globals exposed by CouchDB
"devel": true, //defines globals that are usually used for logging poor-man's debugging: `console`, `alert`, etc.
"dojo": false, //defines globals exposed by the Dojo Toolkit
"jquery": true, //defines globals exposed by the jQuery JavaScript library
"mootools": false, //defines globals exposed by the MooTools JavaScript framework
"node": true, //defines globals available when your code is running inside of the Node runtime environment
"nonstandard": false, //defines non-standard but widely adopted globals such as `escape` and `unescape`
"phantom": false, //defines globals available when your core is running inside of the PhantomJS runtime environment
"qunit": true, //defines globals available when your core is running inside of the Qqunit runtime environment
"prototypejs": false, //defines globals exposed by the Prototype JavaScript framework
"rhino": false, //defines globals available when your code is running inside of the Rhino runtime environment
"worker": true, //defines globals available when your code is running inside of a Web Worker
"wsh": false, //defines globals available when your code is running as a script for the Windows Script Host
"yui": false, //defines globals exposed by the YUI JavaScript framework

"globals": {
"define": false,
"throttle": false,
"delay": false,
"debounce": false,
"jQuery": true,
"require": false,
"Gridster": false
},

// LEGACY
// These options are legacy from JSLint. Aside from bug fixes they will not
// be improved in any way and might be removed at any point.

"nomen": false, //disallows the use of dangling `_` in variables
"onevar": false, //allows only one `var` statement per function
"passfail": false, //makes JSHint stop on the first error or warning
"white": false //make JSHint check your source code against Douglas Crockford's JavaScript coding style
}
149 changes: 149 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,95 @@
<a name="v0.6.8"></a>
### v0.6.8 (2015-04-28)


#### Bug Fixes

* **gridster:**
* responsive width now resizes based off wrapper not window ([e69c3e8f](http://github.com/dsmorse/gridster.js/commit/e69c3e8f64aa4557ef032e4d0d8185e83b1aed21))
* ensure coords instances are destroyed on widgets ([576b5ae3](http://github.com/dsmorse/gridster.js/commit/576b5ae3f0461b048d8ff9463509b860ffa8b194))
* `resize_widget` also accepts HTMLElements ([cda560f4](http://github.com/dsmorse/gridster.js/commit/cda560f4f3ca616d03d1e3230cd2ef4e69876d9c))
* changed "instanceof jQuery" to "instanceof $" ([c6226306](http://github.com/dsmorse/gridster.js/commit/c6226306c2ce9aa7d45d774d7de19088acba0c66))
* wrong addition solved in add_faux_rows/cols by adding parseInt ([d9471752](http://github.com/dsmorse/gridster.js/commit/d947175257d686801154a403016fd2ec7e6d40c2), closes [#426](http://github.com/dsmorse/gridster.js/issues/426), [#425](http://github.com/dsmorse/gridster.js/issues/425))
* preventing gridster from adding extra resize handles ([9d077da6](http://github.com/dsmorse/gridster.js/commit/9d077da676826606243c2552dc9997c492687203))
* destroy resize_api ([b1629326](http://github.com/dsmorse/gridster.js/commit/b16293268c6aa4be2ba0c8fb1b9806e590227606), closes [#473](http://github.com/dsmorse/gridster.js/issues/473))
* ensure widget dimensions and coords are always ints ([595a94f1](http://github.com/dsmorse/gridster.js/commit/595a94f1bdfaa4905ff51d9044e74105c81e6ff3))


#### Features

* **draggable:** autoscrolling ([d3f25f3f](http://github.com/dsmorse/gridster.js/commit/d3f25f3fbbcc738d8b3702d122533e64f37acd29))
* **gridster:**
* add config to set custom show/hide widget methods ([7de5bbab](http://github.com/dsmorse/gridster.js/commit/7de5bbabc0a01e8188a56881782dc74d6bf111d3))
* browserify compatibility ([43148b87](http://github.com/dsmorse/gridster.js/commit/43148b87e523352a7f9d01479c6fed3e87f46ba0))
* Common.js support ([446852a2](http://github.com/dsmorse/gridster.js/commit/446852a260aab2e7caf772a62fbde8b518c38816), closes [#434](http://github.com/dsmorse/gridster.js/issues/434))
* **gridster.css:** remove possible default pading ([2002c455](http://github.com/dsmorse/gridster.js/commit/2002c455957016cb441a317dbbb6e5f6662cb35a))

<a name="v0.6.7"></a>
### v0.6.7 (2015-04-16)

<a name="v0.6.6"></a>
### v0.6.6 (2015-04-08)

<a name="v0.6.5"></a>
### v0.6.5 (2015-04-06)


#### Bug Fixes

* **gridster:** fixed bugs in centering_widgets (widgets were getting smushed when being resized ([86053f8b](http://github.com/DecksterTeam/gridster.js/commit/86053f8be3d73a9db3d7eabc595324123dbcff13))

<a name="v0.6.4"></a>
### v0.6.4 (2015-03-19)


#### Bug Fixes

* **gridster:**
* added ability to center widgets in grid

<a name="v0.6.3"></a>
### v0.6.3 (2015-03-06)


#### Bug Fixes

* **gridster:**
* fixing resize limits when in fixed width mode feature(gridster): added fix_to_co ([6bb47dc1](http://github.com/DecksterTeam/gridster.js/commit/6bb47dc1ce36aef670b2acb7c244ec5f4ea440e0))

<a name="v0.6.2"></a>
### v0.6.2 (2015-02-23)


#### Bug Fixes

* **gridster:** forcing height of gridster container to auto when in collapsed mode ([749f37a5](http://github.com/DecksterTeam/gridster.js/commit/749f37a52074bd16362528f94ab28ec314379ee3))

<a name="v0.6.1"></a>
### v0.6.1 (2015-02-21)


#### Bug Fixes

* **gridster:**
* fixed expand_widget bug not expanding full width of window fix(gridster): user c ([dbc226d4](http://github.com/DecksterTeam/gridster.js/commit/dbc226d46c8224f753c07af6aff259785c60425f))
* fixing drag limit issues when using autogrow_cols ([afd83fea](http://github.com/DecksterTeam/gridster.js/commit/afd83fead8c719615ae01ef7b5d3863701ff2243))
* changed the way widgets were getting positioned so that margins are actually the ([a3913043](http://github.com/DecksterTeam/gridster.js/commit/a3913043579bae9f5ef28e34524ad7a8ae7dcafd))

<a name="v0.6.0"></a>
## v0.6.0 (2015-02-18)


#### Bug Fixes

* **gridster:** changed the way widgets were getting positioned so that margins are actually the ([a3913043](http://github.com/DecksterTeam/gridster.js/commit/a3913043579bae9f5ef28e34524ad7a8ae7dcafd))

#### Features

* **gridster:** make grid responsive ([a3913043](http://github.com/DecksterTeam/gridster.js/commit/a3913043579bae9f5ef28e34524ad7a8ae7dcafd))

<a name="v0.5.7"></a>
### v0.5.7 (2015-02-17)

<a name="v0.5.6"></a>
### v0.5.6 (2014-09-25)

Expand Down Expand Up @@ -183,3 +275,60 @@
* **gridster:** drag-and-drop widget resizing ([e1924053](http://github.com/ducksboard/gridster.js/commit/e19240532de0bad35ffe6e5fc63934819390adc5))
* **utils:** add delay helper to utils ([faa6c5db](http://github.com/ducksboard/gridster.js/commit/faa6c5db0002feccf681e9f919ed583eef152773))

dustmoo Modifications
===========
Changelog 2013-04-3

Fork now handles standard behavior properly with swap allowing larger widgets to shift down.

Changelog 2013-04-2

Added Demo to Repository.

Changelog 2013-02-27

Added "Static widget support" Static Items default to the "static" class.

You can customize this class by using the code below:

$.gridster({
static_class: 'custom_class',
draggable: {
items: ".gs_w:not(.custom_class)"
}
});

I have also added functions creating a much more thourough check of whether the player can occupy the space you are moving it too.
This version is much more reliable in swapping space with widgets.

There are also new options for Maximum Rows and Maximum Columns:

$.gridster({
max_rows: map_rows,
max_cols: map_cols,
shift_larger_widgets_down: false
});

Setting the maximum amount of rows only completely works if you disable shifting larger widgets down at the moment.


Changelog 11-26-2012

Reworked swapping functionality to better handle large to small widget handling.

---

Widgets of smaller or equal size to the dragged widget (player)
will swap places with the original widget.

This causes tiles to swap left and right as well as up and down.

By default smaller players will shift larger widgets down.

I have added an option to prevent this behavior:

$.gridster({
shift_larger_widgets_down: false
});

By setting shift_larger_widgets_down to false, smaller widgets will not displace larger ones.
Loading