diff options
-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); |