mirror of
https://github.com/atom/atom.git
synced 2026-02-07 13:14:55 -05:00
WIP: Use rake to start compiling resources (like require.coffee)
This commit is contained in:
3
src/app/keystroke-pattern.pegjs
Normal file
3
src/app/keystroke-pattern.pegjs
Normal file
@@ -0,0 +1,3 @@
|
||||
keystrokePattern = key:key additionalKeys:additionalKey* { return [key].concat(additionalKeys); }
|
||||
additionalKey = '-' key:key { return key; }
|
||||
key = '-' / chars:[^-]+ { return chars.join('') }
|
||||
Reference in New Issue
Block a user