aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorteramako2011-07-25 19:02:08 +0900
committerteramako2011-07-25 19:02:08 +0900
commitb4fed3f41575b99d8425a57d3bf64bac6af45ee6 (patch)
tree3dd9f0af29bf0680a498ea60fc8eea126455733f
parent35dcc3cb2a58c9a1afc17d1edcd14c24d9bef2b6 (diff)
downloadvimperator-plugins-b4fed3f41575b99d8425a57d3bf64bac6af45ee6.tar.bz2
add default destinations
-rw-r--r--google-plus-commando.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/google-plus-commando.js b/google-plus-commando.js
index b6e93fe..316f8bc 100644
--- a/google-plus-commando.js
+++ b/google-plus-commando.js
@@ -708,7 +708,10 @@ let g:gplus_commando_map_menu = "m"
store.set('AT', data[1][15]);
let circles = data[12][0];
// CIRCLES[]: [[Name, Description, ID], ...]
- store.set('CIRCLES', circles.slice(0, circles.length / 2).map(function (c) [c[1][0], c[1][2], c[0][0]]));
+ store.set('CIRCLES', [
+ ["circles", "Everyone in your circles", "1c"],
+ ["excircles", "Everyone in your circles, plus all the people in their circles", "1f"],
+ ].concat([[c[1][0],c[1][2],c[0][0]] for each(c in circles.slice(0, circles.length / 2))]));
onSuccess();
return true;
} catch (e) {