From a40acfd7ed5a0858f701a124ec4f13481567d785 Mon Sep 17 00:00:00 2001 From: Tariq Date: Sat, 10 Sep 2016 09:33:08 -0500 Subject: [PATCH] :zap: improvement(translate): support hyphenated key (#52) by @tariq86 Allow dashes in identifiers --- src/path.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/path.js b/src/path.js index 5f2206c33..c0052aee6 100644 --- a/src/path.js +++ b/src/path.js @@ -126,6 +126,7 @@ function getPathCharType (ch) { case 0x5F: // _ case 0x24: // $ + case 0x2D: // - return 'ident' case 0x20: // Space