diff options
author | suVene | 2008-12-06 21:52:18 +0000 |
---|---|---|
committer | suVene | 2008-12-06 21:52:18 +0000 |
commit | d2f784723bf6b473d7931c6f2e6abcf01ca53fc4 (patch) | |
tree | 605fa1e759c3c6f5f74149ee1a0124078e20d08f | |
parent | 0b17746bf15614537c8a70e4fc4b636a82e8bb2f (diff) | |
download | vimperator-plugins-d2f784723bf6b473d7931c6f2e6abcf01ca53fc4.tar.bz2 |
jquery.jgrowl.css > growl.css
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@26021 d0d07461-0603-4401-acd4-de1884942a52
-rw-r--r-- | notifier.js | 3 | ||||
-rw-r--r-- | notifier/growl.css (renamed from notifier/jquery.jgrowl.css) | 0 | ||||
-rw-r--r-- | notifier/observer_growl.js | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/notifier.js b/notifier.js index 9269ed4..0a8126d 100644 --- a/notifier.js +++ b/notifier.js @@ -14,6 +14,7 @@ * }}} */ (function() { +io.sourceFromRuntimePath(['libly.js']); if (!liberator.plugins.libly) { liberator.log('notifier: needs _libly.js'); return; @@ -45,7 +46,7 @@ function bootstrap() { }, load: function(name) { io.getRuntimeDirectories('plugin/notifier').forEach(function(dir) { - $U.readDirectory(io.expandPath(dir.path), '^' + name, function(f) { + $U.readDirectory(io.expandPath(dir.path), '^' + name + '_', function(f) { try { io.source(f.path, true) logger.log('plugin load success: ' + f.leafName); diff --git a/notifier/jquery.jgrowl.css b/notifier/growl.css index 5cbd9ed..5cbd9ed 100644 --- a/notifier/jquery.jgrowl.css +++ b/notifier/growl.css diff --git a/notifier/observer_growl.js b/notifier/observer_growl.js index b6f1d96..2875909 100644 --- a/notifier/observer_growl.js +++ b/notifier/observer_growl.js @@ -26,7 +26,7 @@ var Growl = function() {//{{{ } Growl.prototype = { defaults: { - life: 3000 + life: 5000 }, initialize: function(dom, container) { this.dom = dom; @@ -48,7 +48,7 @@ notifier.observer.register({ io.getRuntimeDirectories('').forEach(function(dir) { let path = io.expandPath(dir.path + '/plugin/notifier'); - $U.readDirectory(path, '^jquery' , function(f) { + $U.readDirectory(path, '^growl' , function(f) { try { io.source(f.path, true) logger.log('load success: ' + f.leafName); |