comparison service/reasoning/index.html @ 1044:724cb8ea49b4

case check error Ignore-this: 7d175ad43bbf538c1ba32e6ee0b64e2d darcs-hash:bf8630b887e1e2bc4488aa2708c1dc0a3ada04e5
author drewp <drewp@bigasterisk.com>
date Mon, 01 Feb 2016 03:09:08 -0800
parents 5d5106570128
children d7f59d661073
comparison
equal deleted inserted replaced
1043:5d5106570128 1044:724cb8ea49b4
93 $.each(stmts, function (i, stmt) { 93 $.each(stmts, function (i, stmt) {
94 var s = BigastUri.compactUri(stmt[0]); 94 var s = BigastUri.compactUri(stmt[0]);
95 var p = BigastUri.compactUri(stmt[1]); 95 var p = BigastUri.compactUri(stmt[1]);
96 var o = BigastUri.compactUri(stmt[2]); 96 var o = BigastUri.compactUri(stmt[2]);
97 97
98 if (q.toLowerCase() && 98 q = q.toLowerCase()
99 if (q &&
99 s.toLowerCase().indexOf(q) == -1 && 100 s.toLowerCase().indexOf(q) == -1 &&
100 p.toLowerCase().indexOf(q) == -1 && 101 p.toLowerCase().indexOf(q) == -1 &&
101 o.toLowerCase().indexOf(q) == -1) { 102 o.toLowerCase().indexOf(q) == -1) {
102 return; 103 return;
103 } 104 }
112 }) 113 })
113 } 114 }
114 } 115 }
115 116
116 function updateIn() { 117 function updateIn() {
117 $.get("lastInputGraph", makeAddStmts($("#input"), $("#inputQ").val())); 118 $.get("lastInputGraph", makeAddStmts($("#input"), $("#inputQ").val()));
118 } 119 }
119 function updateOut() { 120 function updateOut() {
120 $.get("lastOutputGraph", makeAddStmts($("#output"), $("#outputQ").val())); 121 $.get("lastOutputGraph", makeAddStmts($("#output"), $("#outputQ").val()));
121 } 122 }
122 123
123 function update() { 124 function update() {
124 updateIn(); 125 updateIn();
125 updateOut(); 126 updateOut();
126 $.get("rules", function (txt) { 127 $.get("rules", function (txt) {