From ce9337575b6e849c5bbcb5cc368d5d86f9812427 Mon Sep 17 00:00:00 2001 From: anekos Date: Tue, 7 Oct 2008 17:36:29 +0000 Subject: * trivial fixes. git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@20938 d0d07461-0603-4401-acd4-de1884942a52 --- plugin_loader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin_loader.js') diff --git a/plugin_loader.js b/plugin_loader.js index af50912..253db22 100644 --- a/plugin_loader.js +++ b/plugin_loader.js @@ -25,7 +25,7 @@ function toArray (obj) { let roots = toArray(globalVariables.plugin_loader_roots); let plugins = toArray(globalVariables.plugin_loader_plugins); -let filter = new RegExp("[\\\\/](" + plugins.join('|') + ")\.(js|vimp)$"); +let filter = new RegExp('[\\\\/](' + plugins.join('|') + ')\\.(js|vimp)$'); log('plugin_loader: loading'); -- cgit v1.2.3