Permalink
Browse files

split up markupEditor

  • Loading branch information...
johnny committed Nov 24, 2011
1 parent 3a3512f commit 0c62624f86dee1359e10debeac10cb21052a1b0e
Showing with 6,617 additions and 4,464 deletions.
  1. +9 −5 TODO
  2. +4 −0 config.rb
  3. +2 −1 doc.sh
  4. +4 −1 join
  5. +105 −9 source/doc/files.html
  6. +41 −20 source/doc/index.html
  7. +150 −27 source/doc/symbols/Builder.html
  8. +136 −0 source/doc/symbols/Error.html
  9. +302 −50 source/doc/symbols/{Editor.html → ME.Editor.html}
  10. +278 −89 source/doc/symbols/{Mode.html → ME.Mode.html}
  11. +39 −20 source/doc/symbols/{Toolbar.html → ME.Toolbar.html}
  12. +27 −21 source/doc/symbols/{ToolbarButton.html → ME.ToolbarButton.html}
  13. +33 −21 source/doc/symbols/{ToolbarSelect.html → ME.ToolbarSelect.html}
  14. +26 −127 source/doc/symbols/ME.html
  15. +21 −15 source/doc/symbols/ME.options.html
  16. +191 −0 source/doc/symbols/Validator.html
  17. +15 −9 source/doc/symbols/_global_.html
  18. +35 −73 source/doc/symbols/{jQuery.html → jQuery.isValid.html}
  19. +393 −0 source/doc/symbols/jQuery.markupEditor.html
  20. +322 −0 source/doc/symbols/src/source_javascripts_core_editor.js.html
  21. +138 −0 source/doc/symbols/src/source_javascripts_core_jqueryHook.js.html
  22. +385 −0 source/doc/symbols/src/source_javascripts_core_mode.js.html
  23. +328 −0 source/doc/symbols/src/source_javascripts_core_toolbar.js.html
  24. +191 −139 source/doc/symbols/src/source_javascripts_dialog.js.html
  25. +72 −916 source/doc/symbols/src/source_javascripts_markupEditor.js.html
  26. +36 −0 source/doc/symbols/src/source_javascripts_modes_hamlMode.js.html
  27. +1 −1 source/doc/symbols/src/source_javascripts_modes_htmlMode.js.html
  28. +592 −543 source/doc/symbols/src/source_javascripts_modes_textile_bruteForceCompiler.js.html
  29. +543 −526 source/doc/symbols/src/source_javascripts_modes_textile_textileMode.js.html
  30. +668 −533 source/doc/symbols/src/source_javascripts_modes_wysiwygMode.js.html
  31. +32 −33 source/doc/symbols/src/source_javascripts_plugins_combobox.js.html
  32. +6 −10 source/doc/symbols/src/source_javascripts_plugins_enhanceTextfield.js.html
  33. +176 −72 source/doc/symbols/src/source_javascripts_plugins_isValid.js.html
  34. +20 −0 source/doc/symbols/src/source_javascripts_plugins_t10n.js.html
  35. +15 −9 source/doc/symbols/textileCompiler.html
  36. +64 −31 source/doc/symbols/textileMode.html
  37. +34 −22 source/doc/symbols/wysiwygMode.html
  38. +314 −0 source/javascripts/core/editor.js
  39. +130 −0 source/javascripts/core/jqueryHook.js
  40. +377 −0 source/javascripts/core/mode.js
  41. +320 −0 source/javascripts/core/toolbar.js
  42. +0 −1 source/javascripts/init.js
  43. +12 −1,128 source/javascripts/markupEditor.js
  44. +2 −2 source/javascripts/modes/textile/bruteForceCompiler.js
  45. +3 −3 source/javascripts/modes/textile/textileMode.js
  46. +3 −3 source/javascripts/modes/wysiwygMode.js
  47. +15 −1 source/javascripts/plugins/isValid.js
  48. +1 −1 source/javascripts/test/textileCompiler.js
  49. +3 −2 source/layout.haml
  50. +1 −0 source/releaseLayout.haml
  51. +1 −0 source/test_joined.html.haml
  52. +1 −0 source/test_runner.html.haml
View
14 TODO
@@ -1,8 +1,4 @@
-* [34/42] Further improvements
- - [-] split up markupEditor.js
- - [X] look how ender handles the extensability
- perhaps (... ME.Mode = Mode;})(ME, jQuery) is an option
- - [ ] split it up
+* [35/42] Further improvements
- [ ] spec closing of editors
- [ ] should work with external select
- [ ] better editor loading
@@ -32,11 +28,19 @@
- [ ] between blocks
- [ ] spec double click
- [ ] double click on bold word should select just the bold tag
+ - [ ] spec checkIfDeleteAll
+ - [ ] normal keys
+ - [ ] keycombos
- [ ] show window in different awesome tab
- [ ] use existing window (not supported in ruby bindings)
- [ ] fire native events (not supported in awesome, try in kde or windows)
- [ ] clean and parse pasted html
- [ ] handle blocktags within lists
+ - [X] split up markupEditor.js
+ - [X] look how ender handles the extensability
+ perhaps (... ME.Mode = Mode;})(ME, jQuery) is an option
+ - [X] split it up
+ - [X] update docs
- [X] wysiwyg
- [X] Firefox: fix checkState for one bold word
- [X] Firefox: keycombos delete selection
View
@@ -11,6 +11,7 @@ def text_field(name, options = {})
with_layout :releaseLayout do
page "/index.html"
+ page "/test_joined.html"
end
# Change the JS directory
@@ -23,6 +24,9 @@ def text_field(name, options = {})
# Build-specific configuration
configure :build do
+ with_layout :releaseLayout do
+ page "/*"
+ end
`./join`
# For example, change the Compass output style for deployment
View
3 doc.sh
@@ -7,4 +7,5 @@ rm -R source/doc/
#jsrun.sh -t=$JSDOCDIR/templates/jsdoc -d=source/doc/ \
# source/javascripts/modes/ source/javascripts/plugins/ source/javascripts/markupEditor.js source/javascripts/util.js source/javascripts/dialog.js
$JSDOCDIR/jsrun.sh -p -r -t=template/codeview/ -d=source/doc/ \
- source/javascripts/modes/ source/javascripts/plugins/ source/javascripts/markupEditor.js source/javascripts/util.js source/javascripts/dialog.js
+ source/javascripts/markupEditor.js source/javascripts/util.js source/javascripts/dialog.js \
+ source/javascripts/core/ source/javascripts/modes/ source/javascripts/plugins/
View
5 join
@@ -1,6 +1,9 @@
#!/usr/bin/ruby
-files = %w{vendor/jquery.tipsy init plugins/t10n locale/en plugins/isValid markupEditor util plugins/enhanceTextfield plugins/combobox dialog modes/textile/textileMode modes/textile/bruteForceCompiler modes/wysiwygMode modes/hamlMode}
+files = %w{markupEditor plugins/t10n locale/en plugins/isValid util
+plugins/enhanceTextfield plugins/combobox dialog
+core/jqueryHook core/mode core/toolbar core/editor
+modes/textile/textileMode modes/textile/bruteForceCompiler modes/wysiwygMode modes/hamlMode}
File.open('source/javascripts/joined.js','w') do |file|
files.each do |filename|
View
@@ -40,25 +40,31 @@ <h2 class="heading1">Classes</h2>
<li><a href="symbols/Builder.html">Builder</a></li>
- <li><a href="symbols/Editor.html">Editor</a></li>
+ <li><a href="symbols/Error.html">Error</a></li>
- <li><a href="symbols/jQuery.html">jQuery</a></li>
+ <li><a href="symbols/jQuery.isValid.html">jQuery<span class='break'> </span>.<span class='break'> </span>isValid</a></li>
+
+ <li><a href="symbols/jQuery.markupEditor.html">jQuery<span class='break'> </span>.<span class='break'> </span>markupEditor</a></li>
<li><a href="symbols/ME.html">ME</a></li>
+ <li><a href="symbols/ME.Editor.html">ME<span class='break'> </span>.<span class='break'> </span>Editor</a></li>
+
+ <li><a href="symbols/ME.Mode.html">ME<span class='break'> </span>.<span class='break'> </span>Mode</a></li>
+
<li><a href="symbols/ME.options.html">ME<span class='break'> </span>.<span class='break'> </span>options</a></li>
- <li><a href="symbols/Mode.html">Mode</a></li>
+ <li><a href="symbols/ME.Toolbar.html">ME<span class='break'> </span>.<span class='break'> </span>Toolbar</a></li>
- <li><a href="symbols/textileCompiler.html">textileCompiler</a></li>
+ <li><a href="symbols/ME.ToolbarButton.html">ME<span class='break'> </span>.<span class='break'> </span>ToolbarButton</a></li>
- <li><a href="symbols/textileMode.html">textileMode</a></li>
+ <li><a href="symbols/ME.ToolbarSelect.html">ME<span class='break'> </span>.<span class='break'> </span>ToolbarSelect</a></li>
- <li><a href="symbols/Toolbar.html">Toolbar</a></li>
+ <li><a href="symbols/textileCompiler.html">textileCompiler</a></li>
- <li><a href="symbols/ToolbarButton.html">ToolbarButton</a></li>
+ <li><a href="symbols/textileMode.html">textileMode</a></li>
- <li><a href="symbols/ToolbarSelect.html">ToolbarSelect</a></li>
+ <li><a href="symbols/Validator.html">Validator</a></li>
<li><a href="symbols/wysiwygMode.html">wysiwygMode</a></li>
@@ -69,7 +75,7 @@ <h2 class="heading1">Classes</h2>
Documentation generator: <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0<br />
Template: <a href="http://www.thebrightlines.com/2010/05/06/new-template-for-jsdoctoolkit-codeview/" target="_blank">Codeview</a> 1.2<br />
- Generated on: 2011-9-22 13:19
+ Generated on: 2011-10-25 1:19
</div>
</div>
@@ -81,6 +87,66 @@ <h1 class="classTitle"><span>File Index</span></h1>
<ul class="fileList" id="FileList">
+ <li>
+ <h2 class="filename"><a href="symbols/src/source_javascripts_core_editor.js.html">source/javascripts/core/editor.js</a></h2>
+
+
+
+ <dl class="detailList">
+
+
+
+
+
+
+ </dl>
+ </li>
+
+ <li>
+ <h2 class="filename"><a href="symbols/src/source_javascripts_core_jqueryHook.js.html">source/javascripts/core/jqueryHook.js</a></h2>
+
+
+
+ <dl class="detailList">
+
+
+
+
+
+
+ </dl>
+ </li>
+
+ <li>
+ <h2 class="filename"><a href="symbols/src/source_javascripts_core_mode.js.html">source/javascripts/core/mode.js</a></h2>
+
+
+
+ <dl class="detailList">
+
+
+
+
+
+
+ </dl>
+ </li>
+
+ <li>
+ <h2 class="filename"><a href="symbols/src/source_javascripts_core_toolbar.js.html">source/javascripts/core/toolbar.js</a></h2>
+
+
+
+ <dl class="detailList">
+
+
+
+
+
+
+ </dl>
+ </li>
+
<li>
<h2 class="filename"><a href="symbols/src/source_javascripts_dialog.js.html">source/javascripts/dialog.js</a></h2>
@@ -108,6 +174,21 @@ <h2 class="filename"><a href="symbols/src/source_javascripts_markupEditor.js.htm
+ </dl>
+ </li>
+
+ <li>
+ <h2 class="filename"><a href="symbols/src/source_javascripts_modes_hamlMode.js.html">source/javascripts/modes/hamlMode.js</a></h2>
+
+
+
+ <dl class="detailList">
+
+
+
+
+
+
</dl>
</li>
@@ -213,6 +294,21 @@ <h2 class="filename"><a href="symbols/src/source_javascripts_plugins_isValid.js.
+ </dl>
+ </li>
+
+ <li>
+ <h2 class="filename"><a href="symbols/src/source_javascripts_plugins_t10n.js.html">source/javascripts/plugins/t10n.js</a></h2>
+
+
+
+ <dl class="detailList">
+
+
+
+
+
+
</dl>
</li>
View
@@ -40,25 +40,31 @@ <h2 class="heading1">Classes</h2>
<li><a href="symbols/Builder.html">Builder</a></li>
- <li><a href="symbols/Editor.html">Editor</a></li>
+ <li><a href="symbols/Error.html">Error</a></li>
- <li><a href="symbols/jQuery.html">jQuery</a></li>
+ <li><a href="symbols/jQuery.isValid.html">jQuery<span class='break'> </span>.<span class='break'> </span>isValid</a></li>
+
+ <li><a href="symbols/jQuery.markupEditor.html">jQuery<span class='break'> </span>.<span class='break'> </span>markupEditor</a></li>
<li><a href="symbols/ME.html">ME</a></li>
+ <li><a href="symbols/ME.Editor.html">ME<span class='break'> </span>.<span class='break'> </span>Editor</a></li>
+
+ <li><a href="symbols/ME.Mode.html">ME<span class='break'> </span>.<span class='break'> </span>Mode</a></li>
+
<li><a href="symbols/ME.options.html">ME<span class='break'> </span>.<span class='break'> </span>options</a></li>
- <li><a href="symbols/Mode.html">Mode</a></li>
+ <li><a href="symbols/ME.Toolbar.html">ME<span class='break'> </span>.<span class='break'> </span>Toolbar</a></li>
- <li><a href="symbols/textileCompiler.html">textileCompiler</a></li>
+ <li><a href="symbols/ME.ToolbarButton.html">ME<span class='break'> </span>.<span class='break'> </span>ToolbarButton</a></li>
- <li><a href="symbols/textileMode.html">textileMode</a></li>
+ <li><a href="symbols/ME.ToolbarSelect.html">ME<span class='break'> </span>.<span class='break'> </span>ToolbarSelect</a></li>
- <li><a href="symbols/Toolbar.html">Toolbar</a></li>
+ <li><a href="symbols/textileCompiler.html">textileCompiler</a></li>
- <li><a href="symbols/ToolbarButton.html">ToolbarButton</a></li>
+ <li><a href="symbols/textileMode.html">textileMode</a></li>
- <li><a href="symbols/ToolbarSelect.html">ToolbarSelect</a></li>
+ <li><a href="symbols/Validator.html">Validator</a></li>
<li><a href="symbols/wysiwygMode.html">wysiwygMode</a></li>
@@ -69,7 +75,7 @@ <h2 class="heading1">Classes</h2>
Documentation generator: <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0<br />
Template: <a href="http://www.thebrightlines.com/2010/05/06/new-template-for-jsdoctoolkit-codeview/" target="_blank">Codeview</a> 1.2<br />
- Generated on: 2011-9-22 13:19
+ Generated on: 2011-10-25 1:19
</div>
</div>
@@ -92,13 +98,18 @@ <h2 class="classname"><a href="symbols/Builder.html">Builder</a></h2>
</li>
<li>
- <h2 class="classname"><a href="symbols/Editor.html">Editor</a></h2>
+ <h2 class="classname"><a href="symbols/Error.html">Error</a></h2>
<p></p>
</li>
<li>
- <h2 class="classname"><a href="symbols/jQuery.html">jQuery</a></h2>
- <p>The popular DOM utility</p>
+ <h2 class="classname"><a href="symbols/jQuery.isValid.html">jQuery.isValid</a></h2>
+ <p>a simple validation plugin</p>
+ </li>
+
+ <li>
+ <h2 class="classname"><a href="symbols/jQuery.markupEditor.html">jQuery.markupEditor</a></h2>
+ <p>jQuery hooks for markup editor</p>
</li>
<li>
@@ -107,37 +118,47 @@ <h2 class="classname"><a href="symbols/ME.html">ME</a></h2>
</li>
<li>
- <h2 class="classname"><a href="symbols/ME.options.html">ME.options</a></h2>
+ <h2 class="classname"><a href="symbols/ME.Editor.html">ME.Editor</a></h2>
<p></p>
</li>
<li>
- <h2 class="classname"><a href="symbols/Mode.html">Mode</a></h2>
+ <h2 class="classname"><a href="symbols/ME.Mode.html">ME.Mode</a></h2>
<p></p>
</li>
<li>
- <h2 class="classname"><a href="symbols/textileCompiler.html">textileCompiler</a></h2>
+ <h2 class="classname"><a href="symbols/ME.options.html">ME.options</a></h2>
<p></p>
</li>
<li>
- <h2 class="classname"><a href="symbols/textileMode.html">textileMode</a></h2>
- <p>holds the methods from the textile mode</p>
+ <h2 class="classname"><a href="symbols/ME.Toolbar.html">ME.Toolbar</a></h2>
+ <p></p>
</li>
<li>
- <h2 class="classname"><a href="symbols/Toolbar.html">Toolbar</a></h2>
+ <h2 class="classname"><a href="symbols/ME.ToolbarButton.html">ME.ToolbarButton</a></h2>
<p></p>
</li>
<li>
- <h2 class="classname"><a href="symbols/ToolbarButton.html">ToolbarButton</a></h2>
+ <h2 class="classname"><a href="symbols/ME.ToolbarSelect.html">ME.ToolbarSelect</a></h2>
<p></p>
</li>
<li>
- <h2 class="classname"><a href="symbols/ToolbarSelect.html">ToolbarSelect</a></h2>
+ <h2 class="classname"><a href="symbols/textileCompiler.html">textileCompiler</a></h2>
+ <p></p>
+ </li>
+
+ <li>
+ <h2 class="classname"><a href="symbols/textileMode.html">textileMode</a></h2>
+ <p>holds the methods from the textile mode</p>
+ </li>
+
+ <li>
+ <h2 class="classname"><a href="symbols/Validator.html">Validator</a></h2>
<p></p>
</li>
Oops, something went wrong.

0 comments on commit 0c62624

Please sign in to comment.