Skip to content
This repository has been archived by the owner on Jan 10, 2019. It is now read-only.

Commit

Permalink
v0.3.3 builded + dir tree restructured
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshu committed Feb 4, 2012
1 parent 1002fd9 commit 20ef7e6
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
Binary file not shown.
Binary file removed dist/0click-chrome_0.2.1.crx
Binary file not shown.
Binary file removed dist/0click-chrome_0.2.crx
Binary file not shown.
Binary file removed dist/0click-chrome_0.3.1.crx
Binary file not shown.
Binary file removed dist/0click-chrome_0.3.crx
Binary file not shown.
4 changes: 2 additions & 2 deletions src/script.js
Expand Up @@ -23,7 +23,7 @@ document.getElementsByName("btnG")[0].onclick = function(){

function search(query)
{
console.log("query:", query);
//console.log("query:", query);
var request = {query: query};
chrome.extension.sendRequest(request, function(response){
renderZeroClick(response, query);
Expand All @@ -32,7 +32,7 @@ function search(query)

function renderZeroClick(res, query)
{
console.log(res);
//console.log(res);
if(res['AnswerType'] !== "") {
displayAnswer(res['Answer']);
} else if (res['Type'] == 'A' && res['Abstract'] !== "") {
Expand Down

0 comments on commit 20ef7e6

Please sign in to comment.