forked from discourse/discourse
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
code cleanup. cached calculations in Markdown.Editor.js. Added option…
… to set preview to manual. removed double timout application on refresh call. added timeout to init to refresh preview because loading the sanitizer is async. added .wait handler to sanitizer script Markdown.Editor cleanup. cached setScrollPanelTops calculations. Added option to set preview to manual, won't bind input events. removed double timeout call in refresh (applyTimeout + debounce). added wait callback in pagedown_editor to sanitizer script to refresh preview on load.
- Loading branch information
Austin Bergstrom
authored and
Austin Bergstrom
committed
Mar 16, 2013
1 parent
19860bd
commit f4bc529
Showing
3 changed files
with
44 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters