From 989862dd3bddb000309cf933985a24c2a8618a60 Mon Sep 17 00:00:00 2001 From: anekos Date: Wed, 25 Nov 2009 09:52:42 +0000 Subject: Follow tip git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35993 d0d07461-0603-4401-acd4-de1884942a52 --- PMWriter.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'PMWriter.js') diff --git a/PMWriter.js b/PMWriter.js index 9b65d5c..97a3499 100644 --- a/PMWriter.js +++ b/PMWriter.js @@ -149,7 +149,7 @@ if (!/\.js$/.test(file.path)) return; - if (!/PLUGIN_INFO/.test(io.readFile(file.path))) + if (!/PLUGIN_INFO/.test(io.File(file.path).read())) return; try { @@ -259,8 +259,7 @@