Sebastian Roth
b399504cd4
Create a Ruby on Rails gem
2015-05-27 21:48:50 -06:00
David Morse
aa2053b6c6
install bower & grunt globally for travis
2015-05-27 15:55:56 -06:00
David Morse
589864ce36
travis config for bower
2015-05-27 15:47:32 -06:00
David Morse
818321958c
enable travis
2015-05-27 15:42:56 -06:00
dsmorse
34b08eb282
Merge pull request #11 from zeroedin-bill/master
...
for traditional bower users like myself, its just one more thing to 'preen', but if it helps you lets make it happen
2015-05-27 08:26:38 -06:00
David Morse
4cc6915101
Remove if statement from register_widgets that cause them to be dropped from the DOM if they don't have a specific class on them. Fixes bug report #9
2015-05-26 22:15:51 -06:00
Bill Schaller
8d3da5c7b3
Fix invalid require('./jquery-gridster.js')
2015-05-26 16:56:48 -04:00
Bill Schaller
ff73959514
Don't ignore src, I need it to build with webpack.
2015-05-26 16:54:00 -04:00
David Morse
b0ead24af1
add unit test to build process
2015-05-20 22:00:17 -06:00
David Morse
d23aa41757
Various bug fixes for moving widgets around
2015-05-20 01:14:03 -06:00
David Morse
0c65f0ab5d
JS Doc changes
2015-05-19 20:06:17 -06:00
David Morse
610a143239
Fix expanding widget issue (allow it to collapse again)
2015-05-18 21:46:46 -06:00
David Morse
3cc6192577
Merge branch 'master' of git://github.com/zeroedin-bill/gridster.js into zeroedin-bill-master
2015-05-18 21:30:58 -06:00
David Morse
08da4a4d74
fix unit tests
2015-05-18 21:17:13 -06:00
Bill Schaller
c92df6087e
Fix undefined exception in update_widgets_dimensions
2015-05-18 16:51:58 -04:00
Bill Schaller
a2097cc426
Fix undefined var reference to this.shift_widgets_up - should ref option
2015-05-18 15:05:48 -04:00
Bill Schaller
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
David Morse
de59d89933
Merge branch 'zeroedin-bill-master'
2015-05-18 12:25:46 -06:00
David Morse
af979faaf5
fix initialization of sticky layout.
2015-05-18 12:20:36 -06:00
Bill Schaller
d60dbd1e3e
lint fix, generated dist
2015-05-18 13:47:29 -04:00
Bill Schaller
79fc444e39
Fix grid calculations when wrapper/gridster element is not centered
2015-05-18 13:32:43 -04:00
Bill Schaller
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
David Morse
fa6de00e3a
Remove debug code
2015-05-18 02:37:53 -06:00
Eric Johnson
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
David Morse
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
dsmorse
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
ericop
d220fd912f
typo on "the" in "inactivity over the last year"
2015-05-12 13:39:50 -04:00
David Morse
699fad9d06
Release v0.6.8
2015-04-28 21:25:41 -06:00
David Morse
9732b017eb
Merge commit 'e69c3e8f64aa4557ef032e4d0d8185e83b1aed21'
...
fix(gridster): responsive width now resizes based off wrapper not window
2015-04-28 21:18:55 -06:00
David Morse
8473bd6d9d
update dependencies and jshint
2015-04-28 21:00:24 -06:00
Floyd Hawkes
e69c3e8f64
fix(gridster): responsive width now resizes based off wrapper not window
2015-04-22 16:23:13 -04:00
David Morse
3a696ad732
0.6.7 release
2015-04-16 15:05:15 -06:00
David Morse
57a2604365
rev jquery version
2015-04-16 15:01:31 -06:00
Javi Sánchez-Marín
9863656b5c
style(jshint): adapt code to pass jshint
2015-04-16 20:26:19 +02:00
Javi Sánchez-Marín
3006d4f393
style(jshint): add jshint config and setup grunt task
2015-04-16 20:26:19 +02:00
Javi Sánchez-Marín
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
Javi Sánchez-Marín
cda560f4f3
fix(gridster): resize_widget also accepts HTMLElements
...
for consistency with the `remove_widget`
2015-04-16 20:26:18 +02:00
Javi Sánchez-Marín
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
Javi Sánchez-Marín
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
Javi Sánchez-Marín
2002c45595
feat(gridster.css): remove possible default pading
2015-04-16 20:26:18 +02:00
Javi Sánchez-Marín
93cd01ecc3
chore(gridster): remove unused code
2015-04-16 20:26:18 +02:00
Ashley Whetter
8080daccd1
docs(gridster): fixed a typo in Gridster class documentation
2015-04-16 20:26:18 +02:00
aegisrunestone
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
Stijn Verrept
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
Javi Sánchez-Marín
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
Javi Sánchez-Marín
43148b87e5
feat(gridster): browserify compatibility
2015-04-16 20:26:18 +02:00
floyd_hawkes
65f43a529f
Release v0.6.6
2015-04-14 13:18:54 -04:00
fhawkes
0286676e16
Merge pull request #6 from DecksterTeam/dadams
...
Resize handles
2015-04-14 13:17:59 -04:00
Donald Adams
6c5ef28853
preventing gridster from creating extra resize handles while centering
2015-04-14 12:59:41 -04:00
Donald Adams
12f4ab181d
Revert "fix(gridster): preventing gridster from adding extra resize handles"
...
This reverts commit 9d077da676 .
2015-04-14 12:55:49 -04:00