|
|
@ -390,19 +390,17 @@ |
|
|
|
callback = callback || function(){}; |
|
|
|
callback = callback || function(){}; |
|
|
|
callback.call( $elems ); |
|
|
|
callback.call( $elems ); |
|
|
|
|
|
|
|
|
|
|
|
// set all data so we can retrieve it for appended appendedContent
|
|
|
|
|
|
|
|
// or anyone else's crazy jquery fun
|
|
|
|
|
|
|
|
this.data( 'molequul', props ); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return this; |
|
|
|
return this; |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
resize : function() { |
|
|
|
resize : function() { |
|
|
|
var props = this.data('molequul'); |
|
|
|
var props = this.data('molequul'); |
|
|
|
|
|
|
|
|
|
|
|
return this.molequul( props.opts.layoutMode + 'Resize', props ); |
|
|
|
return this.molequul( props.opts.layoutMode + 'Resize', props ); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reLayout : function( props ) { |
|
|
|
reLayout : function( props ) { |
|
|
|
props = props || this.data('molequul'); |
|
|
|
props = props || this.data('molequul'); |
|
|
|
props.initialized = true; |
|
|
|
props.initialized = true; |
|
|
@ -527,6 +525,11 @@ |
|
|
|
$(window).unbind('smartresize.molequul'); |
|
|
|
$(window).unbind('smartresize.molequul'); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// set all data so we can retrieve it for appended appendedContent
|
|
|
|
|
|
|
|
// or anyone else's crazy jquery fun
|
|
|
|
|
|
|
|
$this.data( 'molequul', props ); |
|
|
|
|
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|