From 85a5ed039c1fa079ff5117b8f7a64beaf2ff31e4 Mon Sep 17 00:00:00 2001 From: anekos Date: Mon, 12 Jan 2009 15:59:08 +0000 Subject: うっかり入れても動かないように git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@28337 d0d07461-0603-4401-acd4-de1884942a52 --- PMWriter.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'PMWriter.js') diff --git a/PMWriter.js b/PMWriter.js index 2e1852a..66855a2 100644 --- a/PMWriter.js +++ b/PMWriter.js @@ -9,6 +9,9 @@ let pluginDirPath = liberator.globalVariables.pmwriter_plugin_dir; let outputDir = liberator.globalVariables.pmwriter_output_dir; (function(){ + if (!(pluginDirPath && outputDir)) + return; + let U = liberator.plugins.libly.$U; let myname = __context__.NAME; -- cgit v1.2.3