aboutsummaryrefslogtreecommitdiffstats
path: root/atnd.js
diff options
context:
space:
mode:
authoranekos2011-09-09 01:44:26 +0900
committeranekos2011-09-09 01:44:26 +0900
commitdd7023dc54015a81554e4f3bd104d391c2470080 (patch)
tree1b94c1ada3a249d5c08e12bd65f861de16a7cd7f /atnd.js
parenta29b7c7ed142d1707f8f230ccc57e3c3d289c056 (diff)
downloadvimperator-plugins-dd7023dc54015a81554e4f3bd104d391c2470080.tar.bz2
incomplete は、補完リストをセットし終わったときに false にしましょう
Diffstat (limited to 'atnd.js')
-rw-r--r--atnd.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/atnd.js b/atnd.js
index 142159d..78ede2b 100644
--- a/atnd.js
+++ b/atnd.js
@@ -47,8 +47,7 @@ let INFO =
context.compare = void 0;
context.anchored = false;
context.incomplete = true;
- context.completions = Atnd.get_event2(context,args);
- context.incomplete = false;
+ Atnd.get_event2(context,args);
} //}}}
@@ -137,6 +136,7 @@ let INFO =
let r = res_events[i];
event_data.push([r.event_url,r.title + " " + r.started_at + " " + r.catch + " " + r.address]);
};
+ context.incomplete = false;
context.completions = event_data;
function isEnded(elements,index,array){
@@ -145,6 +145,7 @@ let INFO =
});
req.addEventListener("onFailure",function(data){
+ context.incomplete = false;
liberator.echoerr(data.statusText);
});
req.get();