Skip to content

Commit

Permalink
⚡ improvement(translate): support hyphenated key (#52) by @tariq86
Browse files Browse the repository at this point in the history
Allow dashes in identifiers
  • Loading branch information
tariq86 authored and kazupon committed Sep 10, 2016
1 parent f216de4 commit a40acfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/path.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ function getPathCharType (ch) {

case 0x5F: // _
case 0x24: // $
case 0x2D: // -
return 'ident'

case 0x20: // Space
Expand Down

0 comments on commit a40acfd

Please sign in to comment.