You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by he...@apache.org on 2016/04/28 22:15:09 UTC

[5/6] allura git commit: [#8040] JS fixes

[#8040] JS fixes


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

Branch: refs/heads/master
Commit: 2c7257621e11b61e3604d26373e74337d7da3022
Parents: fdaaa00
Author: Dave Brondsema <da...@brondsema.net>
Authored: Thu Jan 21 10:30:57 2016 -0500
Committer: Heith Seewald <he...@gmail.com>
Committed: Thu Apr 28 16:08:50 2016 -0400

----------------------------------------------------------------------
 Allura/allura/lib/widgets/resources/js/sf_markitup.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/2c725762/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 b659b08..728f0f3 100644
--- a/Allura/allura/lib/widgets/resources/js/sf_markitup.js
+++ b/Allura/allura/lib/widgets/resources/js/sf_markitup.js
@@ -17,6 +17,7 @@
        under the License.
 */
 
+/*global SimpleMDE, _replaceSelection */
 $(window).load(function() {
     if(!window.markdown_init){
         window.markdown_init = true;
@@ -42,7 +43,7 @@ $(window).load(function() {
               "preview",
               //"side-by-side",
               "fullscreen",
-              tool = {
+              {
                 name: 'guide',
                 action: show_help,
                 className: 'fa fa-question-circle',