diff options
author | drry | 2009-01-04 16:44:41 +0000 |
---|---|---|
committer | drry | 2009-01-04 16:44:41 +0000 |
commit | eedccef4a1da859fb5f6382a4ee34c059a4c42cb (patch) | |
tree | e050c2d5c3e90f626cc0de979f8f73c5cef5eaa1 /notifier/subject_liberator_echomsg.js | |
parent | 274755d24c7024b110ec67d4a86699e16db09ae7 (diff) | |
download | vimperator-plugins-eedccef4a1da859fb5f6382a4ee34c059a4c42cb.tar.bz2 |
* fixed missing `var` statements.
* fixed a regex.
* removed subversion props.
* et cetera.
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@27924 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'notifier/subject_liberator_echomsg.js')
-rw-r--r--[-rwxr-xr-x] | notifier/subject_liberator_echomsg.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/notifier/subject_liberator_echomsg.js b/notifier/subject_liberator_echomsg.js index 5c963ef..b77f2ab 100755..100644 --- a/notifier/subject_liberator_echomsg.js +++ b/notifier/subject_liberator_echomsg.js @@ -57,10 +57,10 @@ notifier.subject.register(notifier.Subject, { check: function() { try { this.__updating__ = true; - this.messages = this.messages.filter(function(m) !this.filter.some(function(f) (m.indexOf(f) > -1 || m.match(f))), this); + this.messages = this.messages.filter(function(m) !this.filter.some(function(f) m.indexOf(f) > -1 || m.match(f) ? true : false), this); if (!this.messages.length) return; - var msg = '<ul><li>' + this.messages.join('</li><li>') + '</li></ul>'; + let msg = '<ul><li>' + this.messages.join('</li><li>') + '</li></ul>'; this.messages = []; this.notify(new notifier.Message('liberator.echomsg', msg)); |