From 363a66408611d27b8b0f22e1d8226b86dbfb9ffc Mon Sep 17 00:00:00 2001 From: drry Date: Mon, 22 Dec 2008 09:01:57 +0000 Subject: * XPath を修正しました。 * ほか。 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@27220 d0d07461-0603-4401-acd4-de1884942a52 --- notifier.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'notifier.js') diff --git a/notifier.js b/notifier.js index 779d91d..e276702 100644 --- a/notifier.js +++ b/notifier.js @@ -262,9 +262,7 @@ function bootstrap() { var parsed, diff; if (typeof this.parse == 'function') parsed = this.parse(res); if (parsed && typeof this.diff == 'function') diff = this.diff(this.cache, parsed); - if (diff && - (typeof diff.length == 'undefined' || - (typeof diff.length != 'undefined' && diff.length > 0))) { + if (diff && (typeof diff.length == 'undefined' || diff.length > 0)) { this.cache = parsed; if (typeof this.buildMessages == 'function') { let messages = this.buildMessages(diff); -- cgit v1.2.3