Escape \ in editor.nonWordCharachters

This commit is contained in:
Corey Johnson
2013-01-29 17:14:10 -08:00
parent c32836ad2c
commit a34b9296e9

View File

@@ -19,7 +19,7 @@ class Editor extends View
autosave: false
autoIndent: true
autoIndentOnPaste: false
nonWordCharacters: "./\()\"-_:,.;<>~!@#$%^&*|+=[]{}`~?"
nonWordCharacters: "./\\()\"-_:,.;<>~!@#$%^&*|+=[]{}`~?"
@content: (params) ->
@div class: @classes(params), tabindex: -1, =>