I hereby claim:
- I am elvispt on github.
- I am elvispestana (https://keybase.io/elvispestana) on keybase.
- I have a public key ASC_u8qreJVQO_HuUc8YJUd6ZlbQgBUq-hVfTC9oWuNNXgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
(function (_window) { | |
/** | |
* useful dev snippets | |
* Some of these where created by me, others obtained from: http://bgrins.github.io/devtools-snippets/ | |
*/ | |
var _that = { | |
// will get the list of events associated with the element. uses jQuery | |
elementEvents: function (elem) { |
define(["jquery", | |
"jquery.gridster"], function($) { | |
var gridster = $(".gridster").gridster({ | |
widget_margins: [5, 5], | |
widget_base_dimensions: [200, 200], | |
widget_selector:"section.widget", | |
draggable: { | |
handle: '.ui-sortable-handle, .ui-sortable-handle > h5', | |
stop: function() { |