Rename wordSeparators to nonWordCharacters

This commit is contained in:
Corey Johnson
2013-01-29 17:06:39 -08:00
parent 46aefc75ab
commit 167b9c28fa
2 changed files with 6 additions and 7 deletions

View File

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