Add license

This commit is contained in:
Kai Hendry
2011-11-13 22:38:14 +01:00
parent 28b86ee989
commit a2496a5aa4
4 changed files with 27 additions and 1 deletions

View File

@@ -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