lib/opulent/tokens.rb in opulent-1.7.3 vs lib/opulent/tokens.rb in opulent-1.7.4
- old
+ new
@@ -86,13 +86,13 @@
angular_bracket: /\A(\<)/,
# Receive matching brackets for allowing multiple bracket types for
# element attributes
brackets: /\A([\(\[\{])/,
- '(': /\A(\))/,
- '[': /\A(\])/,
- '{': /\A(\})/,
- '<': /\A(\>)/,
+ :'(' => /\A(\))/,
+ :'[' => /\A(\])/,
+ :'{' => /\A(\})/,
+ :'<' => /\A(\>)/,
# Terminators
comma: /\A(\s*\,\s*)/,
colon: /\A(\s*\:\s*)/,
semicolon: /\A(\s*\;\s*)/,