aboutsummaryrefslogtreecommitdiffstats
path: root/PMWriter.js
diff options
context:
space:
mode:
authoranekos2009-01-12 15:59:08 +0000
committeranekos2009-01-12 15:59:08 +0000
commit85a5ed039c1fa079ff5117b8f7a64beaf2ff31e4 (patch)
tree981c1b100b28660fa778cd9dbd146963c46e4ec2 /PMWriter.js
parentbd458adde3bce9e24f712b578e6f69c493e29c6c (diff)
downloadvimperator-plugins-85a5ed039c1fa079ff5117b8f7a64beaf2ff31e4.tar.bz2
うっかり入れても動かないように
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@28337 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'PMWriter.js')
-rw-r--r--PMWriter.js3
1 files changed, 3 insertions, 0 deletions
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;