diff options
author | Gael Pasgrimaud | 2011-06-25 10:15:32 +0200 |
---|---|---|
committer | Gael Pasgrimaud | 2011-06-25 10:15:32 +0200 |
commit | b5269a892b3a7dcb89c9c1913797b3d74ff1c476 (patch) | |
tree | b3e06d958238cd3c8f2cb0922e588c64c40e54a3 /auto_source.js | |
parent | 95f5752645a1948a3f3d29471fbb7eeb98a4ecaa (diff) | |
parent | d4e2c5327d707808086d3c1f020e884972698b21 (diff) | |
download | vimperator-plugins-b5269a892b3a7dcb89c9c1913797b3d74ff1c476.tar.bz2 |
Merge branch 'master' of git://github.com/vimpr/vimperator-plugins
Diffstat (limited to 'auto_source.js')
-rw-r--r-- | auto_source.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_source.js b/auto_source.js index b1ff95f..5b979fd 100644 --- a/auto_source.js +++ b/auto_source.js @@ -135,7 +135,7 @@ let INFO = function source (filepath) { io.source(filepath); - if (/\.js$/(filepath)) { + if (/\.js$/.test(filepath)) { let ctx = liberator.plugins.contexts[filepath]; if (ctx) { if (typeof liberator.plugins[ctx.NAME] === 'undefined') |