Skip to content

Commit

Permalink
Merge pull request #3 from magnars/fa0dd07728a2fa4c4e1a0f2f84bd82ab3c…
Browse files Browse the repository at this point in the history
…0b45ce

require-snippet changed to use camelCase for vars
  • Loading branch information
drnic committed Aug 26, 2011
2 parents fbebc4a + fa0dd07 commit e8bd4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Snippets/require.tmSnippet
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>content</key>
<string>var ${2/^.*?([\w_]+).*$/\L$1/} = require(${2:'${1:sys}'});</string>
<string>var ${2:${1/(?:_|-)([A-Za-z0-9]+)(?:\.js)?/(?2::\u$1)/g}} = require('${1:sys}')$0;</string>
<key>name</key>
<string>require</string>
<key>scope</key>
Expand Down

0 comments on commit e8bd4ec

Please sign in to comment.