Commit 23053b48 authored by Alexandra Rogova's avatar Alexandra Rogova

Changed paths to external and test files

parent 548f716d
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
<html> <html>
<head> <head>
<title>Mynij</title> <title>Mynij</title>
<script src="../jio/external/rsvp-2.0.4.js"></script> <script src="./external/rsvp-2.0.4.js"></script>
<script src="../jio/dist/jio-latest.js"></script> <script src="./external/jio-latest.js"></script>
<script src="../renderjs/dist/renderjs-latest.js"></script> <script src="./external/renderjs-latest.js"></script>
<script src="search.js"></script> <script src="search.js"></script>
<link rel="stylesheet" type="text/css" href="mynij.css"> <link rel="stylesheet" type="text/css" href="mynij.css">
</head> </head>
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
promise_list = [], promise_list = [],
i; i;
for (i = 0; i < gadget.state.to_load.length; i++){ for (i = 0; i < gadget.state.to_load.length; i++){
promise_list.push(gadget.state.parser_gadget.readFile("../rss-files/" + gadget.state.to_load[i])); promise_list.push(gadget.state.parser_gadget.readFile("./test-files/" + gadget.state.to_load[i]));
} }
RSVP.all(promise_list); RSVP.all(promise_list);
}) })
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
options; options;
options = { options = {
query:'(title:"% '+key+' %") OR (title: key + "%") OR (body:"% '+key+' %")' query:'(title:"% '+key+' %") OR (title:'+ key + '%") OR (body:"% '+key+' %")'
}; };
return gadget.state.result_gadget.clear() return gadget.state.result_gadget.clear()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment