Commit Graph
17185 Commits
Author SHA1 Message Date
danzel fc9d8953ca Tests for adding an individual marker and having it now show up. 2013-06-14 14:14:41 +12:00
danzel fc39349b3f Add unit test stuff. Current test is just stolen from leaflet, but we'll fix that soon :) 2013-06-14 10:58:48 +12:00
danzel b11665eb83 Replace all build scripts with latest ones from leaflet. Add a package.json 2013-06-14 10:56:53 +12:00
vieron 10ef102e34 bower: merging bower.json into package.json.
Install gridster via bower was broken.
2013-06-13 17:56:03 +02:00
vieron f749c13e4a updated dist 2013-06-13 15:36:40 +02:00
vieron 8239d2e4ce updated dist 2013-06-13 15:22:48 +02:00
vieron 0a3315d3cb max_cols: to disable max_col option set to null instead of '-1'.
Default is null.
2013-06-13 15:22:27 +02:00
vieron 23482b58cd updated diet 2013-06-13 12:14:21 +02:00
vieron b4ac8dc0bd drag/touch: don't prevent default when start dragging in touch device 2013-06-13 12:14:06 +02:00
vieron e1a5b4ed52 gridster/fix: using comparators in sort methods.
Sort method by default orders alphabetically, but we are sorting numbers
and this means that: 40 < 6. And we not expect this result.
2013-06-13 12:01:47 +02:00
vieron bfbcba0ea3 Added watch command to Gruntfile config 2013-06-13 11:44:50 +02:00
vieron 86ab9701c5 Ignore libs folder 2013-06-13 11:43:37 +02:00
vieron fa227ec66e bump up to jQuery 2.0 and start using bower for managing dependencies 2013-06-13 11:43:37 +02:00
vieron d3785c49fc Removed libs folder from the repo. Install dependencies with bower. 2013-06-13 11:43:37 +02:00
vieron 4c02e4c1ed Reverting some changes in commit 6302b98
Check to avoid generation of duplicated stylesheet-tags shouldn't have
been removed from Gridster. It's useful when calling multiple times 
`generate_stylesheet` method once Gridster is initializated. We use it
at ducksboard to generate a TVmode version of the grid with bigger widgets.

Refactored the way stylesheet tags are removed. When created I push them 
to a jQuery collection which is removed when `destroy` method is executed.
2013-06-13 11:43:37 +02:00
vieron 3d755fd793 Pass container width to draggable instance. Relative to 5569caa687 2013-06-13 11:43:37 +02:00
vieron 2aa9b55433 namespaced events instead of caching callbacks 2013-06-13 11:43:37 +02:00
Davide Callegari 213a40c7ea Fixed a couple of errors in the methods definition
Added my own IDE filed in the .gitignore file
2013-06-13 11:43:37 +02:00
vieron 6fdb2a5ead gitignore: added .DS_Store 2013-06-13 11:43:36 +02:00
vieron 70ccff71de Update gruntfile and package.json to compliance with grunt 0.4.x 2013-06-13 11:43:15 +02:00
Dustin Moore 20f98ae383 Updated Dist and Gruntfile 2013-05-15 09:29:59 -07:00
Dustin Moore ef476bcd1e Merge branch 'master' of https://github.com/ducksboard/gridster.js 2013-05-15 09:29:34 -07:00
Dustin Moore c2fcff7276 Updated Dist and Gruntfile 2013-05-15 09:28:48 -07:00
Dustin Moore eca38b6272 Merge pull request #165 from matiangul/master
Fix is_empty method
2013-05-14 08:42:10 -07:00
Dustin Moore 361c751e6e Updated Readme 2013-05-14 08:40:49 -07:00
Dustin Moore bc9859fede Add Gruntfile 2013-05-14 07:54:54 -07:00
Dustin Moore 52dc36ead9 Merge pull request #169 from tuvokki/master
Fix for Issue #158
2013-05-14 07:50:05 -07:00
Wouter Roosendaal 826120bdb1 resize_widget function with callback parameter
Is it possible to add a callback to the resize_widget function, that is
called when the resizing of a widget is finished? This may help to
update the widget content properly.
2013-05-13 16:14:47 +02:00
danzel e0846ced2d Don't break if calling hasLayer with null. Fixes #170. Thanks @l0c0luke 2013-05-10 09:36:15 +12:00
Vladimir Agafonkin c34f507863 update issue links in the changelog 2013-05-08 11:28:09 +03:00
matiangul fca830007a Fixed is_empty method 2013-05-04 11:05:00 +02:00
danzel 6fda9a206f Update build 2013-04-26 09:59:28 +12:00
danzel e7e1d5391f Fix #160
If we are added to the map, then removed, then a marker is removed from us. Previously that marker wouldn't be removed, now it is when we get re-added to the map.
2013-04-26 09:58:40 +12:00
danzel fc3edf2958 Add broken example from @bpavot in #160 2013-04-26 09:52:52 +12:00
Dustin Moore 4c9d502cbe Updated Readme added PSA 2013-04-25 09:16:28 -07:00
Dustin Moore bd63315641 Updated to latest version of Grunt 2013-04-25 08:36:54 -07:00
Dustin Moore d56f6d80a3 Merge pull request #152 from rfink/master
Fix for issue #46
2013-04-24 08:13:30 -07:00
Dustin Moore c0d0cd33ce Merge pull request #154 from tuvokki/master
Add setting for maximum number of columns
2013-04-24 08:08:12 -07:00
danzel 530d9f5189 Update build 2013-04-24 10:48:09 +12:00
danzel dcbaabe234 Remove hasProperty checks from loops. Refs leaflet/leaflet#1606 2013-04-24 10:48:00 +12:00
danzel 890406abd6 Fix clearLayers with spiderfied markers. Refs #162 2013-04-24 10:44:46 +12:00
danzel d387694ce5 Move example to old-bugs dir (not that it is fixed yet) 2013-04-24 10:20:58 +12:00
Dave Leaver 795ef85c01 Merge pull request #162 from skullbooks/master
Add an example that shows some strange error with a disappearing marker.
2013-04-23 15:19:00 -07:00
danzel cdcc23bea4 Update build 2013-04-24 10:08:30 +12:00
danzel ef4227dcd2 Make this work on old leaflet too. Thanks @nkovacs 2013-04-24 10:08:20 +12:00
Jan-Victor Krille 654926aff2 Fix IDs in example data. 2013-04-23 17:16:50 +02:00
Jan-Victor Krille 1fd27f3ca5 Add a real world example that shows a bug. 2013-04-23 17:00:46 +02:00
danzel 0ae31e9164 Update build 2013-04-22 09:31:28 +12:00
danzel 47c147d9a9 Cludge around our hasLayer implementation to make us work with the latest Leaflet master. Fixes #159
Our hasLayer returns true when we contains a marker. FeatureGroup/LayerGroup (which we inherit from) now check hasLayer when addLayer is called. At this stage our hasLayer will return true, stopping the marker from ending up on the map.
2013-04-22 09:31:10 +12:00
danzel 17b6f14416 Update build 2013-04-15 10:12:00 +12:00