Browse Source

Tweak search separator characters

Thibaut 12 năm trước cách đây
mục cha
commit
dd2229eda0
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      assets/javascripts/models/entry.coffee

+ 1 - 1
assets/javascripts/models/entry.coffee

@@ -1,7 +1,7 @@
 class app.models.Entry extends app.Model
   # Attributes: name, type, path
 
-  SEPARATORS_REGEXP = /\ |#|::/g
+  SEPARATORS_REGEXP = /\:?\ |#|::/g
   PARANTHESES_REGEXP = /\(.*?\)$/
 
   constructor: ->