- Timestamp:
- 09/18/10 01:51:40 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/vimperator-plugins/trunk/twittperator.js
r38480 r38481 29 29 <description>Twitter Client using ChirpStream</description> 30 30 <description lang="ja">OAuth対応Twitterクライアント</description> 31 <version>1.4. 6</version>31 <version>1.4.777</version> 32 32 <minVersion>2.3</minVersion> 33 33 <maxVersion>2.4</maxVersion> … … 1209 1209 var itm; 1210 1210 if (str.indexOf("?", 0) > -1) str = str.split("?", 2)[1]; 1211 var regex = str.indexOf("&") > str.indexOf(";") ? /;+/ : /&+/; 1212 return str.split(regex).reduce(function(r, v) { 1213 var kv = v.split("=", 2); 1214 if (kv[0] != "") { 1215 r[kv[0]] = typeof kv[1] == "undefined" ? true : decodeURIComponent(kv[1]); 1216 } 1211 return str.split("&").reduce(function(r, it) { 1212 var [key, value] = it.split("=", 2); 1213 if (key) 1214 r[key] = typeof value == "undefined" || decodeURIComponent(value); 1217 1215 return r; 1218 1216 }, {});
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)