diff options
| author | anekos | 2011-11-24 02:22:18 +0900 | 
|---|---|---|
| committer | anekos | 2011-11-24 02:22:18 +0900 | 
| commit | 39011a8d70f5a07aba0d08971e8671515ce59a24 (patch) | |
| tree | 32b23a9993e95a606bb35f9f5a5a7efc8de4e420 | |
| parent | 4512a2d4bf69856da8c842c3dbb83aa4edae65ec (diff) | |
| download | vimperator-plugins-39011a8d70f5a07aba0d08971e8671515ce59a24.tar.bz2 | |
はてブAPIのjsonlite使う
| -rw-r--r-- | direct_bookmark.js | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/direct_bookmark.js b/direct_bookmark.js index cab8b32..ad17152 100644 --- a/direct_bookmark.js +++ b/direct_bookmark.js @@ -388,7 +388,7 @@ for Migemo search: require XUL/Migemo Extension                  return hatena_tags;
              },
              userTags:function(url, results){
 -                var url = 'http://b.hatena.ne.jp/entry/json/?url=' + encodeURIComponent(url)
 +                var url = 'http://b.hatena.ne.jp/entry/jsonlite/?url=' + encodeURIComponent(url)
                  return Deferred.http({
                      method: "get",
 @@ -758,7 +758,7 @@ for Migemo search: require XUL/Migemo Extension                      var match_result = filter.match(/((?:\[[^\]]*\])*)\[?(.*)/); //[all, commited, now inputting]
                      var m = new RegExp(XMigemoCore && isUseMigemo ? "^(" + XMigemoCore.getRegExp(match_result[2]) + ")" : "^" + match_result[2],'i');
 -                    context.title = ['Tag','Description'];
 +                    context.title = ['My Tag','Description'];
                      context.advance( match_result[1].length );
                      if(__context__.tags.length == 0){
  | 
