allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hei...@apache.org
Subject [05/21] allura git commit: [#7955] update spellChecker comment
Date Thu, 17 Sep 2015 19:23:42 GMT
[#7955] update spellChecker comment


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/94885fd7
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/94885fd7
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/94885fd7

Branch: refs/heads/master
Commit: 94885fd796aaddd459bdd1c3fabc1b8855f16362
Parents: 37544db
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Wed Sep 2 18:27:07 2015 +0000
Committer: Heith Seewald <hseewald@hsmb.local>
Committed: Thu Sep 17 15:22:37 2015 -0400

----------------------------------------------------------------------
 Allura/allura/lib/widgets/resources/js/sf_markitup.js | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/94885fd7/Allura/allura/lib/widgets/resources/js/sf_markitup.js
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/widgets/resources/js/sf_markitup.js b/Allura/allura/lib/widgets/resources/js/sf_markitup.js
index 81d1305..46b4046 100644
--- a/Allura/allura/lib/widgets/resources/js/sf_markitup.js
+++ b/Allura/allura/lib/widgets/resources/js/sf_markitup.js
@@ -58,17 +58,7 @@ $(window).load(function() {
             var editor = new SimpleMDE({
               element: $textarea[0],
               autofocus: false,
-              /*
-               * spellChecker: false is important!
-               * It's enabled by default and consumes a lot of memory and CPU
-               * if you have more than one editor on the page. In Allura we
-               * usually have a lot of (hidden) editors on the page (e.g.
-               * comments). On my machine it consumes ~1G of memory for a page
-               * with ~10 comments.
-               * We're using bleeding age 1.4.0, we might want to
-               * re-check when more stable version will be available.
-               */
-              spellChecker: false,
+              spellChecker: false, // https://forge-allura.apache.org/p/allura/tickets/7954/
               indentWithTabs: false,
               tabSize: 4,
               toolbar: toolbar


Mime
View raw message