Return-Path: X-Original-To: apmail-allura-commits-archive@www.apache.org Delivered-To: apmail-allura-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1710817621 for ; Thu, 17 Sep 2015 19:23:39 +0000 (UTC) Received: (qmail 55526 invoked by uid 500); 17 Sep 2015 19:23:39 -0000 Delivered-To: apmail-allura-commits-archive@allura.apache.org Received: (qmail 55497 invoked by uid 500); 17 Sep 2015 19:23:39 -0000 Mailing-List: contact commits-help@allura.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@allura.apache.org Delivered-To: mailing list commits@allura.apache.org Received: (qmail 55370 invoked by uid 99); 17 Sep 2015 19:23:38 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2015 19:23:38 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 977C3E10AB; Thu, 17 Sep 2015 19:23:38 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: heiths@apache.org To: commits@allura.apache.org Date: Thu, 17 Sep 2015 19:23:42 -0000 Message-Id: In-Reply-To: <6e2c720d332b465986196f8e516fb3cb@git.apache.org> References: <6e2c720d332b465986196f8e516fb3cb@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [05/21] allura git commit: [#7955] update spellChecker comment [#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 Authored: Wed Sep 2 18:27:07 2015 +0000 Committer: Heith Seewald 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