Lines Matching full:if

23     // quit if this function has already been called
24 if (arguments.callee.done) return;
28 if (_timer) clearInterval(_timer);
30 if (!document.createElement || !document.getElementsByTagName) return;
35 if (table.className.search(/\bsortable\b/) != -1) {
43 if (table.getElementsByTagName('thead').length == 0) {
51 if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0];
53 if (table.tHead.rows.length != 1) return; // can't cope with two header rows
57 // to do is put them in a tfoot. So, if there are sortbottom rows,
58 // for backwards compatibility, move them to tfoot (creating it if needed).
61 if (table.rows[i].className.search(/\bsortbottom\b/) != -1) {
65 if (sortbottomrows) {
66 if (table.tFoot == null) {
81 if (!headrow[i].className.match(/\bsorttable_nosort\b/)) { // skip this col
83 if (mtch) { override = mtch[1]; }
84 if (mtch && typeof sorttable["sort_"+override] == 'function') {
94 if (this.className.search(/\bsorttable_sorted\b/) != -1) {
95 // if we're already sorted by this column, just
107 if (this.className.search(/\bsorttable_sorted_reverse\b/) != -1) {
108 // if we're already sorted by this column in reverse, just
124 if (cell.nodeType == 1) { // an element
130 if (sortfwdind) { sortfwdind.parentNode.removeChild(sortfwdind); }
132 if (sortrevind) { sortrevind.parentNode.removeChild(sortrevind); }
150 /* If you want a stable sort, uncomment the following line */
171 if (text != '') {
172 if (text.match(/^-?[�$�]?[\d,.]+%?$/)) {
179 if (possdate) {
183 if (first > 12) {
186 } else if (second > 12) {
206 if (!node) return "";
211 if (node.getAttribute("sorttable_customkey") != null) {
214 else if (typeof node.textContent != 'undefined' && !hasInputs) {
217 else if (typeof node.innerText != 'undefined' && !hasInputs) {
220 else if (typeof node.text != 'undefined' && !hasInputs) {
226 if (node.nodeName.toLowerCase() == 'input') {
263 if (isNaN(aa)) aa = 0;
265 if (isNaN(bb)) bb = 0;
269 if (a[0]==b[0]) return 0;
270 if (a[0]<b[0]) return -1;
276 if (m.length == 1) m = '0'+m;
277 if (d.length == 1) d = '0'+d;
281 if (m.length == 1) m = '0'+m;
282 if (d.length == 1) d = '0'+d;
284 if (dt1==dt2) return 0;
285 if (dt1<dt2) return -1;
291 if (m.length == 1) m = '0'+m;
292 if (d.length == 1) d = '0'+d;
296 if (m.length == 1) m = '0'+m;
297 if (d.length == 1) d = '0'+d;
299 if (dt1==dt2) return 0;
300 if (dt1<dt2) return -1;
315 if ( comp_func(list[i], list[i+1]) > 0 ) {
322 if (!swap) break;
325 if ( comp_func(list[i], list[i-1]) < 0 ) {
343 if (document.addEventListener) {
349 /*@if (@_win32)
353 if (this.readyState == "complete") {
360 if (/WebKit/i.test(navigator.userAgent)) { // sniff
362 if (/loaded|complete/.test(document.readyState)) {
377 if (element.addEventListener) {
381 if (!handler.$$guid) handler.$$guid = dean_addEvent.guid++;
383 if (!element.events) element.events = {};
386 if (!handlers) {
388 // store the existing event handler (if there is one)
389 if (element["on" + type]) {
403 if (element.removeEventListener) {
407 if (element.events && element.events[type]) {
422 if (this.$$handleEvent(event) === false) {
450 if (!Array.forEach) { // mozilla already supports this
461 if (typeof this.prototype[key] == "undefined") {
476 if (object) {
478 if (object instanceof Function) {
481 } else if (object.forEach instanceof Function) {
485 } else if (typeof object == "string") {
488 } else if (typeof object.length == "number") {