From 7eaf3037a993b72d95f630902a2c19d929ada602 Mon Sep 17 00:00:00 2001 From: anekos Date: Tue, 7 Jun 2011 04:07:34 +0900 Subject: RegExp の関数的な呼び出しができなくなったので修正 for Firefox5 --- auto_source.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto_source.js') 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') -- cgit v1.2.3