You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sam Ruby <ru...@apache.org> on 2016/03/29 14:11:15 UTC
[whimsy.git] [1/1] Commit f9044ff: fix syntax error
Commit f9044ff4c42d5b316b8e8a8ebdbf33e1d5051595:
fix syntax error
Branch: refs/heads/master
Author: Sam Ruby <ru...@intertwingly.net>
Committer: Sam Ruby <ru...@intertwingly.net>
Pusher: rubys <ru...@apache.org>
------------------------------------------------------------
www/test/icla/views/markdown.js.rb | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------
diff --git a/www/test/icla/views/markdown.js.rb b/www/test/icla/views/markdown.js.rb
index d48bcb6..859e791 100644
--- a/www/test/icla/views/markdown.js.rb
+++ b/www/test/icla/views/markdown.js.rb
@@ -23,7 +23,7 @@ def componentWillReceiveProps()
if indent > 0
spaces = Array.new(indent+1).join(' ')
- text = text.replace("^#{spaces}", 'g'), '')
+ text = text.replace(new Regexp("^#{spaces}", 'g'), '')
end
end