aboutsummaryrefslogtreecommitdiffstats
path: root/auto_source.js
diff options
context:
space:
mode:
authoranekos2011-06-07 04:07:34 +0900
committeranekos2011-06-07 04:08:44 +0900
commit7eaf3037a993b72d95f630902a2c19d929ada602 (patch)
tree4433c9251d2289898ae7fa98453fb6128dac1764 /auto_source.js
parent9cfb5d9d53086142ff2d42ae710822f5f2310e5c (diff)
downloadvimperator-plugins-7eaf3037a993b72d95f630902a2c19d929ada602.tar.bz2
RegExp の関数的な呼び出しができなくなったので修正 for Firefox5
Diffstat (limited to 'auto_source.js')
-rw-r--r--auto_source.js2
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')