aboutsummaryrefslogtreecommitdiffstats
path: root/notifier.js
diff options
context:
space:
mode:
authordrry2008-12-22 09:01:57 +0000
committerdrry2008-12-22 09:01:57 +0000
commit363a66408611d27b8b0f22e1d8226b86dbfb9ffc (patch)
tree04c064178971ebd5d91af71aedd018b488a37405 /notifier.js
parentf9dc40f9a3e34ede7f40b7137576243d3dff06f6 (diff)
downloadvimperator-plugins-363a66408611d27b8b0f22e1d8226b86dbfb9ffc.tar.bz2
* XPath を修正しました。
* ほか。 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@27220 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'notifier.js')
-rw-r--r--notifier.js4
1 files changed, 1 insertions, 3 deletions
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);