Rewrote setup function, more explicit var names
Code cleanup
* more explicit var names
* jQuery -> $
* simplify typeof * === undefined
* remove dead code
* remove fade[In|Out], because slide[Down|Up] was in jQuery since 1.0
Fix update not working
Fix preview toggle
User can manage preview height
Add option: previewInitHeight
Convert code to OOP.
* Allows to call methods like: elem.meltdown("update")
Add option autoOpenPreview
Only parse if text really changed
Debounce preview updates while typing
Fullscreen: preliminary support
Fullscreen + resizable editor and preview
* Fullscreen fully working
* Add support for a resize handle
* Re-implemented dynamic resize for wrap, editor and preview
* Toggling preview automatically resizes the editor
* Rename option previewInitHeight to previewHeight
* Add min-height of 15px to editor and preview
* Replace wrap's paddings with margins for better margin collapsing
Allow custom parser in options
This change requires that the parser be loaded before meltdown.js !
Add function to get/set options after creation
Add option to configure controls order in bar.
* Simplified most of the code to creates the controls
* Controls can be customized at $.meltdown.controlDefs
* Moved most properties from $.fn.meltdown to $.meltdown
* Added comments, renamed vars and funcs to be more explicit
Reorder code
* Putting all configurations at beginning
Add fullscreen button
Add heightsManaged mode
In this mode, meltdown manages the editor and the preview heights to prevent them from resizing the wrap.
This is useful when the wrap size is restricted like in fullscreen.
Rename: previewTimeout => previewDuration, autoOpenPreview => openPreview
Add isHeightManaged()
Simplify TECH PREVIEW tooltip, fix update of hidden preview.
Instead of a tooltip, the warning is displayed directly in the preview.