init wiki
This commit is contained in:
parent
9c0c601e99
commit
c1628b106c
@ -35,6 +35,7 @@ var verify_word = function verify_word(word) {
|
|||||||
"srwhat": "nearmatch"
|
"srwhat": "nearmatch"
|
||||||
});
|
});
|
||||||
req.end(function (res) {
|
req.end(function (res) {
|
||||||
|
console.log(res)
|
||||||
if (res.error) reject(res.error);
|
if (res.error) reject(res.error);
|
||||||
var data = res.body.query.search;
|
var data = res.body.query.search;
|
||||||
if (data.length == 0) {
|
if (data.length == 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user