updated docs and dist

This commit is contained in:
vieron
2012-07-24 16:56:37 +02:00
parent 06b53fdc19
commit cdf8e26c64
4 changed files with 3 additions and 7 deletions

View File

@@ -257,7 +257,6 @@
this.el_init_pos = this.get_actual_pos(this.$player);
this.mouse_init_pos = this.get_mouse_pos(e);
this.offsetX = this.mouse_init_pos.left - this.el_init_pos.left;
this.offsetY = this.mouse_init_pos.top - this.el_init_pos.top;
$body.on('mousemove.draggable', function(mme){
@@ -350,7 +349,6 @@
fn.on_dragstop = function(e) {
var offset = this.get_offset(e);
this.drag_start = false;
var ui = {

View File

@@ -494,7 +494,7 @@
drag: throttle(function(event, ui) {
self.on_drag.call(self, event, ui);
self.$el.trigger('gridster:drag');
}, 130)
}, 60)
});
this.drag_api = this.$el.draggable(draggable_options).data('draggable');