allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hei...@apache.org
Subject [5/6] allura git commit: [#8040] JS fixes
Date Thu, 28 Apr 2016 20:15:09 GMT
[#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 <dave@brondsema.net>
Authored: Thu Jan 21 10:30:57 2016 -0500
Committer: Heith Seewald <heiths@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',


Mime
View raw message