63 Commits

Author SHA1 Message Date
817c9936ad change homepage url and description 2012-07-27 13:51:10 +02:00
5006689bad add a simple README file 2012-07-27 13:40:56 +02:00
74cc7c49a9 generated dist 2012-07-27 13:29:50 +02:00
d84de52886 update .gitignore 2012-07-27 13:29:42 +02:00
ec60bde4df make the description more descriptive 2012-07-27 13:29:31 +02:00
f4e425ced2 switch to using the MIT license exclusively 2012-07-27 13:29:07 +02:00
9cdd02df41 get rid of jquery-ui, not used anymore 2012-07-27 13:28:15 +02:00
a993008afb removing also demo site from master 2012-07-26 12:37:02 +02:00
c46c348223 removing docs from master 2012-07-26 12:35:39 +02:00
fe1a536a31 modified grunt to generate docs in gh-pages folder 2012-07-26 12:34:48 +02:00
cf4e876a84 updated dist 2012-07-26 10:00:00 +02:00
341e1bbd4c prevent cols/rows from being empty arrays (needed to pass phantom tests) 2012-07-26 09:58:39 +02:00
c6e77dc661 generated dist 2012-07-25 17:59:01 +02:00
e4e06f4cde gridster: passing Math (not null) as first argument in Math.max.apply() 2012-07-25 17:58:18 +02:00
f12cebb33e increased the mouse area that triggers scroll 2012-07-24 17:05:07 +02:00
cdf8e26c64 updated docs and dist 2012-07-24 16:56:37 +02:00
06b53fdc19 throttling to 60ms to prevent overlapping 2012-07-24 16:56:16 +02:00
0016c99a61 offsetX is not needed 2012-07-24 16:55:53 +02:00
bfe21a568d updated docs and dist 2012-07-24 16:25:55 +02:00
3460a436b2 scroll logic based on mouse position, not in items position 2012-07-24 16:25:43 +02:00
5ab5ce95dc updated docs and dist 2012-07-24 15:43:19 +02:00
3456aef408 trottling drag callback 2012-07-24 15:40:49 +02:00
b5a2a2c4cd scroll document when dragging up or down 2012-07-24 15:40:32 +02:00
7e4fa9fcbe updated remove_widget method in doc 2012-07-24 10:51:03 +02:00
62caa4abf7 updated docs and dist 2012-07-24 10:35:07 +02:00
443d0fbc29 jslinting 2012-07-24 10:34:12 +02:00
4eb679fb78 documentation fixes 2012-07-23 22:51:04 +02:00
aa939d8bf7 updated docs and dist 2012-07-23 22:08:09 +02:00
33b8f206cf updated Gridster doc and code style corrections 2012-07-23 22:07:43 +02:00
7e8ce8dd0a Coords constructor documentation 2012-07-23 21:50:15 +02:00
7ae385ea05 some small documentation for draggable class 2012-07-23 21:49:53 +02:00
00e7c46b31 avoid calls to empty functions in defaults object 2012-07-23 21:48:25 +02:00
bf2ee67450 only start drag with right click 2012-07-23 21:46:27 +02:00
981895eab4 default value for css transitions is: "all 0s" not "none" 2012-07-23 21:44:51 +02:00
f650da8586 fixing tab spaces and some documentation 2012-07-23 21:44:03 +02:00
c998cb49b3 updated docs and dist 2012-07-23 15:15:26 +02:00
f0a50649d1 removing playing-revert class when gridster is disabled 2012-07-23 15:14:53 +02:00
d1b7009fc9 improved and more robust css 2012-07-23 11:04:33 +02:00
3e1d005585 don`t recalculate offset if it is passed to the update method 2012-07-23 11:03:06 +02:00
0446186c98 utils: throttle, debounce 2012-07-23 11:02:18 +02:00
288df54e86 basic jQuery draggable plugin 2012-07-23 11:01:48 +02:00
5edfe0a488 new methods, fixes and improvements:
- new disable, enable methods

- don't generate duplicated stylesheets for the same origin config

- new configuration option called avoid_overlapped_widgets. Avoid that widgets loaded from the DOM can be overlapped. It is helpful if the positions were bad stored in the database or if there was any conflict.

- Removed jquery ui dependencie.

- Fix to prevent widgets go out of the grid.

- New methods to get all widgets from a column or row.

- generate_stylesheets method now supports namespaces to generate multiple stylesheets based on a parent class.
2012-07-23 11:01:05 +02:00
1507974e07 collision: don't calculate player coords if we have it 2012-07-23 10:53:57 +02:00
60a873a131 updated dist 2012-07-20 15:48:03 +02:00
18b620f6ce the remove_widget callback must be inside the fadeout callback 2012-07-20 15:47:39 +02:00
0b310de6e7 updated dist 2012-07-20 14:03:32 +02:00
fbeb2ac05c fixed add_widget method 2012-07-20 14:03:24 +02:00
9dbad2b29e remove_widget accepts a callback as second argument 2012-07-20 14:03:03 +02:00
7624182bf4 updated docs and diet 2012-07-20 11:06:26 +02:00
0e03a05435 namespaced gridster events: dragstart, dragstop, drag 2012-07-20 11:04:54 +02:00