610a143239
Fix expanding widget issue (allow it to collapse again)
2015-05-18 21:46:46 -06:00
3cc6192577
Merge branch 'master' of git://github.com/zeroedin-bill/gridster.js into zeroedin-bill-master
2015-05-18 21:30:58 -06:00
08da4a4d74
fix unit tests
2015-05-18 21:17:13 -06:00
c92df6087e
Fix undefined exception in update_widgets_dimensions
2015-05-18 16:51:58 -04:00
a2097cc426
Fix undefined var reference to this.shift_widgets_up - should ref option
2015-05-18 15:05:48 -04:00
453cfaab5a
Fix issue where dragging a small widget up onto a bottom corner of another widget led to persistent overlap
2015-05-18 15:05:08 -04:00
de59d89933
Merge branch 'zeroedin-bill-master'
2015-05-18 12:25:46 -06:00
af979faaf5
fix initialization of sticky layout.
2015-05-18 12:20:36 -06:00
d60dbd1e3e
lint fix, generated dist
2015-05-18 13:47:29 -04:00
79fc444e39
Fix grid calculations when wrapper/gridster element is not centered
2015-05-18 13:32:43 -04:00
31aad418af
Fix gridster width setting in responsive mode
...
* needs to use 100% instead of 100vw because the container may be smaller than the viewport width
2015-05-18 13:31:19 -04:00
fa6de00e3a
Remove debug code
2015-05-18 02:37:53 -06:00
0a7ae2ee99
Add new demo page and allow two new features based on Issue #6 :
...
- delay moving components until drag is complete
- allow exact position of grid components (do not move up)
2015-05-18 02:28:57 -06:00
4d946ead88
Fix bug with responsive layout if grid in wrapped in a container which has padding. It now limits the width of the widget to the containing element (also helps with scrollbars)
2015-05-13 12:15:05 -06:00
244089c01f
Merge pull request #4 from ericop/patch-1
...
typo on "the" in "inactivity over the last year"
2015-05-12 17:55:07 -06:00
d220fd912f
typo on "the" in "inactivity over the last year"
2015-05-12 13:39:50 -04:00
699fad9d06
Release v0.6.8
2015-04-28 21:25:41 -06:00
9732b017eb
Merge commit 'e69c3e8f64aa4557ef032e4d0d8185e83b1aed21'
...
fix(gridster): responsive width now resizes based off wrapper not window
2015-04-28 21:18:55 -06:00
8473bd6d9d
update dependencies and jshint
2015-04-28 21:00:24 -06:00
e69c3e8f64
fix(gridster): responsive width now resizes based off wrapper not window
2015-04-22 16:23:13 -04:00
3a696ad732
0.6.7 release
2015-04-16 15:05:15 -06:00
57a2604365
rev jquery version
2015-04-16 15:01:31 -06:00
9863656b5c
style(jshint): adapt code to pass jshint
2015-04-16 20:26:19 +02:00
3006d4f393
style(jshint): add jshint config and setup grunt task
2015-04-16 20:26:19 +02:00
576b5ae3f0
fix(gridster): ensure coords instances are destroyed on widgets
...
…when removing a widget, or when destroying the gridster instance.
Before this change, if you called destroy without `remove` set to true,
coords instances was leaking jQuery data objects.
Also nullified the gridmap, and faux_grid arrays.
2015-04-16 20:26:19 +02:00
cda560f4f3
fix(gridster): resize_widget
also accepts HTMLElements
...
for consistency with the `remove_widget`
2015-04-16 20:26:18 +02:00
7de5bbabc0
feat(gridster): add config to set custom show/hide widget methods
...
by default jQuery’s `hide` and `show` methods are used. You could also
use fadeIn/fadeOut or write your own kind of jQuery plugin like
`$.fn.showInAFancyWay` and use `showInAFancyWay` as the value in the
show_method config option.
If you want to keep the previos behaviour, you need to set
`hide_method` option to `’fadeOut’`
Breaking Changes
`remove_widget` and `remove_all_widgets` methods not return a promise
instead of the gridster instance
2015-04-16 20:26:18 +02:00
e258d595b0
tests(gridster): add basic test suite for gridster
...
Tests are build with mocha + chai, and you can run them from the command line with `grunt karma` or opening `test/index.html` in your browser.
This is a first approach, there are hundreds of tests more that should be added.
I’ve ported some tests on PRs but more needs to be done.
2015-04-16 20:26:18 +02:00
2002c45595
feat(gridster.css): remove possible default pading
2015-04-16 20:26:18 +02:00
93cd01ecc3
chore(gridster): remove unused code
2015-04-16 20:26:18 +02:00
8080daccd1
docs(gridster): fixed a typo in Gridster class documentation
2015-04-16 20:26:18 +02:00
c6226306c2
fix(gridster): changed "instanceof jQuery" to "instanceof $"
...
Original code will break if jquery noconflict is applied, where $ and jQuery produces jQuery instance of different versions.
2015-04-16 20:26:18 +02:00
d947175257
fix(gridster): wrong addition solved in add_faux_rows/cols by adding parseInt
...
Closes #426 , #425
2015-04-16 20:26:18 +02:00
d3f25f3fbb
feat(draggable): autoscrolling
...
If the element being dragged is inside a scrollable container, keeping the
mouse in one of the sides of the container will trigger scroll.
2015-04-16 20:26:18 +02:00
43148b87e5
feat(gridster): browserify compatibility
2015-04-16 20:26:18 +02:00
65f43a529f
Release v0.6.6
2015-04-14 13:18:54 -04:00
0286676e16
Merge pull request #6 from DecksterTeam/dadams
...
Resize handles
2015-04-14 13:17:59 -04:00
6c5ef28853
preventing gridster from creating extra resize handles while centering
2015-04-14 12:59:41 -04:00
12f4ab181d
Revert "fix(gridster): preventing gridster from adding extra resize handles"
...
This reverts commit 9d077da676826606243c2552dc9997c492687203.
2015-04-14 12:55:49 -04:00
9d077da676
fix(gridster): preventing gridster from adding extra resize handles
2015-04-14 12:33:04 -04:00
446852a260
feat(gridster): Common.js support
...
Closes #434
2015-04-14 11:43:35 +02:00
ccbac1fcc3
chore: bump up jquery version to 2.1.3
2015-04-14 11:43:35 +02:00
b16293268c
fix(gridster): destroy resize_api
...
Call `resize_api.destroy()` to fix memory leak.
Closes #473
2015-04-14 11:43:23 +02:00
595a94f1bd
fix(gridster): ensure widget dimensions and coords are always ints
...
Thanks to @sogawa for reporting
2015-04-14 11:39:55 +02:00
7af6bf7a98
Add unit testing for core API, ensure all demos work, and add unit testing to ensure they stay working.
2015-04-12 23:26:19 -06:00
385cc757ac
bring the Demo's into master for testing & Automate the updates to gh-pages branch
2015-04-10 12:26:54 -06:00
69f9c81d48
Update Samples
2015-04-09 08:37:29 -06:00
59b475d0d1
Merge commit '6eb521015cda5212f6fa92492dbe4050bd92e00c'
...
* commit '6eb521015cda5212f6fa92492dbe4050bd92e00c':
Update Readme
Updated sample
Better handling of widgets slideing down
update readme
rebuilt dist
Added Swap Demo
Added disabled dragging init feature gridster.js
Working on Static widgets
2015-04-09 00:25:16 -06:00
f29ab737ed
Merge from dustmoo/gridster.js
...
* commit '8f431a423302c7c58f511d5ede9270077993f9b3':
Updated Readme
Updated Readme
Version Updates
Serialize bug fix
Added max_rows and drag restriction - ready for integration :)
Removed console.logs
Removed console.logs
Good enough swap logic for now
Swap queue awesomeness
Swap queue awesomeness
Fix row issue
working on map grid functionality
2015-04-08 23:48:53 -06:00
0cd0af947b
Merge from dustmoo/gridster.js
...
* commit '262d115cf8b5bdaed40a7e5b6aaa6df6e71b6a07':
Added swaping queue, better handling of large to small swaps
Added swaping queue, better handling of large to small swaps
More predictable default behavior
Updated Readme
Added property to prevent larger widget shifting
Added grid-swap behavior
2015-04-08 23:22:58 -06:00