Created
February 26, 2014 15:25
-
-
Save Naatan/9231532 to your computer and use it in GitHub Desktop.
Komodo IDE - Open Files Pattern for DocPad
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ko.openfiles.groupers.byPattern.patterns = [ | |
{ | |
name: 'Databases', | |
pattern: /\/databases(?:\/|$)/i | |
}, | |
{ | |
name: 'Scripts', | |
pattern: /\/scripts(?:\/|$)/i | |
}, | |
{ | |
name: 'Styles', | |
pattern: /\/styles(?:\/|$)/i | |
}, | |
{ | |
name: 'Pages', | |
pattern: /\/pages(?:\/|$)/i | |
}, | |
{ | |
name: 'Documents', | |
pattern: /\/documents(?:\/|$)/i | |
}, | |
{ | |
name: 'Layouts', | |
pattern: /\/layouts(?:\/|$)/i | |
}, | |
{ | |
name: 'Partials', | |
pattern: /\/partials(?:\/|$)/i | |
}, | |
{ | |
name: 'Public', | |
pattern: /\/public(?:\/|$)/i | |
}, | |
{ | |
name: 'All Other', | |
pattern: /./ | |
} | |
]; | |
ko.openfiles.reload(true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment