mirror of
https://github.com/thewesker/greptweet.git
synced 2025-12-20 12:11:05 -05:00
Add license
This commit is contained in:
1
main.js
1
main.js
@@ -3,6 +3,7 @@ function grep(query) {
|
||||
$.getJSON("/u/" + NAME + "/grep.php?q=" + query + "&jsoncallback=?", function(data) {
|
||||
var results = "<p>Searched for: " + query + "</p><ol>";
|
||||
for (i in data) {
|
||||
// TODO, fix bug: https://twitter.com/#!/pixelbeat_/status/5120018968
|
||||
tweet = data[i].split('|');
|
||||
if (tweet.length > 2) {
|
||||
results += "<li><a href=\"http://twitter.com/" + NAME + "/status/" + tweet[0] + "\">" + tweet[2] + "</a></li>"; // With datetime
|
||||
|
||||
Reference in New Issue
Block a user