Lines Matching refs:length

175 		if(!obj || !obj.length) {
178 if(!obj || !obj.length) {
181 if(obj && obj.length && (obj = obj.closest('.jstree')).length && (obj = obj.data('jstree'))) {
224 if(arg === true && !this.length) { return false; }
645 if(o && o.length) { o.children('.jstree-anchor').focus(); }
660 if(o && o.length) { o.children('.jstree-anchor').focus(); }
714 if(!this.get_container_ul().find('.jstree-loading').length) {
716 if(this._data.core.selected.length) {
719 for(i = 0, j = this._data.core.selected.length; i < j; i++) {
723 for(i = 0, j = tmp.length; i < j; i++) {
755 if(word.length > 1) {
953 …" && (dom = $('#' + obj.replace($.jstree.idregex,'\\$&'), this.element)).length && this._model.dat…
956 …else if((dom = $(obj, this.element)).length && this._model.data[dom.closest('.jstree-node').attr('…
959 else if((dom = $(obj, this.element)).length && dom.hasClass('jstree')) {
987 for(i = 0, j = obj.parents.length; i < j; i++) {
1010 if(!obj || !obj.length) {
1055 if(!obj || !obj.length) {
1103 if(!obj || !obj.length) {
1116 return obj && (obj.state.loaded === false || obj.children.length > 0);
1189 for(k = 0, l = obj.children_d.length; k < l; k++) {
1190 for(i = 0, j = obj.parents.length; i < j; i++) {
1214 …if(obj.state.loaded && !obj.children.length && dom && dom.length && !dom.hasClass('jstree-leaf')) {
1243 for(i = 0, j = nodes.length; i < j; i++) {
1252 for(i = 0, j = nodes.length; i < j; i++) {
1281 for(i = 0, j = c.length; i < j; i++) {
1286 if(to_load.length) {
1423 s = this._data.core.selected.length,
1430 if(m[tmp].children_d.length) {
1437 for(i = 0, j = p.parents.length; i < j; i++) {
1456 if(this._data.core.selected.length !== s) {
1577 for(i = 0, j = tmp.children.length; i < j; i++) {
1581 if(e.children_d.length) {
1669 if(d && d.children && d.children.length) {
1670 for(i = 0, j = d.children.length; i < j; i++) {
1674 if(e.children_d.length) {
1695 if(dat.length && dat[0].id !== undefined && dat[0].parent !== undefined) {
1698 for(i = 0, j = dat.length; i < j; i++) {
1705 for(i = 0, j = dat.length; i < j; i++) {
1711 for(i = 0, j = p.children.length; i < j; i++) {
1714 if(m[tmp].children_d.length) {
1718 for(i = 0, j = p.parents.length; i < j; i++) {
1732 for(i = 0, j = dat.length; i < j; i++) {
1737 if(m[tmp].children_d.length) {
1744 for(i = 0, j = p.parents.length; i < j; i++) {
1770 if(r.length !== s.length || $.vakata.array_unique(r.concat(s)).length !== r.length) {
1772 for(i = 0, j = r.length; i < j; i++) {
1778 for(i = 0, j = s.length; i < j; i++) {
1785 if(rslt.add.length) {
1799 if(rslt.add.length) {
1820 if(this._data.core.worker_queue.length) {
1828 if(this._data.core.worker_queue.length) {
1845 if(this._data.core.worker_queue.length) {
1893 if(!v.length) { return true; }
1900 if(tmp.length) {
1904 if(v.length) {
1909 tmp = d.children("a").first().length ? d.children("a").first().clone() : d.clone();
1927 if(tmp.length) {
1941 if(tmp.length) {
1946 if(e.children_d.length) {
2051 for(i = 0, j = tmp.children.length; i < j; i++) {
2055 if(e.children_d.length) {
2152 if(d && d.children && d.children.length) {
2153 for(i = 0, j = d.children.length; i < j; i++) {
2157 if(e.children_d.length) {
2186 for(i = 0, j = nodes.length; i < j; i++) {
2200 if(tmp && tmp.length && tmp.children('.jstree-anchor')[0] !== document.activeElement) {
2247 if(!node || !node.length) { return false; } // TODO: quick toggle
2251 if(obj.children.length && obj.state.loaded) {
2255 for(i = 0, j = obj.children.length; i < j; i++) {
2288 deep = deep || obj.children.length === 0;
2311 if(!deep && obj.children.length && !node.children('.jstree-children').length) {
2341 node.setAttribute('aria-level', obj.parents.length);
2347 if(obj.state.loaded && !obj.children.length) {
2354 if(obj.parent !== null && m[obj.parent].children[m[obj.parent].children.length - 1] === obj.id) {
2371 if(c.length) {
2397 if(deep && obj.children.length && (obj.state.opened || force_render) && obj.state.loaded) {
2401 for(i = 0, j = obj.children.length; i < j; i++) {
2414 for(i = 0, j = par.childNodes.length; i < j; i++) {
2428 if(ind < par.childNodes.length) {
2462 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
2491 if(d.length) {
2492 if(animation && d.children(".jstree-children").length) {
2495 if(obj.children.length && !this._firstChild(d.children('.jstree-children')[0])) {
2520 if(!d.length) {
2536 if(!animation || !d.length) {
2559 for(i = 0, j = p.length; i < j; i+=1) {
2577 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
2592 if(d.length) {
2616 if(!animation || !d.length) {
2635 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
2660 if(!dom.length) {
2661 for(i = 0, j = obj.children_d.length; i < j; i++) {
2678 if(original_obj.find('.jstree-closed').length === 0) {
2701 if(!dom.length) {
2702 for(i = 0, j = obj.children_d.length; i < j; i++) {
2737 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
2766 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
2801 …._data.core.selected.length) { this._data.core.last_clicked = this.get_node(this._data.core.select…
2820 for(i = 0, j = p.length; i < j; i += 1) {
2863 if(!obj || !obj.length || obj.children('.jstree-hovered').length) {
2867 if(o && o.length) { this.dehover_node(o); }
2888 if(!obj || !obj.length || !obj.children('.jstree-hovered').length) {
2912 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
2928 if(dom && dom.length) {
2965 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
2978 if(dom.length) {
3004 for(i = 0, j = this._data.core.selected.length; i < j; i++) {
3029 for(i = 0, j = this._data.core.selected.length; i < j; i++) {
3079 for(i = 0, j = tmp.length; i < j; i++) {
3082 for(i = 0, j = tmp.length; i < j; i++) {
3083 for(k = 0, l = tmp[i].children_d.length; k < l; k++) {
3106 for(i = 0, j = tmp.length; i < j; i++) {
3107 if(!tmp[i].children.length) {
3164 if(!$.isArray(state.core.open) || !state.core.open.length) {
3308 for(i = 0, j = obj.parents.length; i < j; i++) {
3312 for(i = 0, j = obj.children.length; i < j; i++) {
3315 for(i = 0, j = obj.children_d.length; i < j; i++) {
3357 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
3365 if(this.get_node(obj, true).length) {
3430 for(i = 0, j = obj.children.length; i < j; i++) {
3485 pos = par.children.length;
3491 if(pos > par.children.length) { pos = par.children.length; }
3507 for(i = 0, j = par.parents.length; i < j; i++) {
3512 for(i = 0, j = par.children.length; i < j; i++) {
3543 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
3578 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
3597 for(k = 0, l = tmp.length; k < l; k++) {
3598 for(i = 0, j = obj.parents.length; i < j; i++) {
3623 for(k = 0, l = tmp.length; k < l; k++) {
3695 if(obj.length === 1) {
3700 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
3747 pos = new_par.children.length;
3753 if(pos > new_par.children.length) { pos = new_par.children.length; }
3766 for(i = 0, j = dpc.length; i < j; i++) {
3778 for(i = 0, j = obj.parents.length; i < j; i++) {
3781 for(k = 0, l = p.length; k < l; k++) {
3791 for(i = 0, j = new_par.parents.length; i < j; i++) {
3795 for(i = 0, j = new_par.children.length; i < j; i++) {
3807 p = obj.parents.length;
3812 for(i = 0, j = obj.children_d.length; i < j; i++) {
3868 if(obj.length === 1) {
3873 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
3911 pos = new_par.children.length;
3917 if(pos > new_par.children.length) { pos = new_par.children.length; }
3935 for(i = 0, j = new_par.parents.length; i < j; i++) {
3939 for(i = 0, j = new_par.children.length; i < j; i++) {
3983 if(!obj.length) { return false; }
3985 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
3989 if(!tmp.length) { return false; }
4010 if(!obj.length) { return false; }
4012 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
4016 if(!tmp.length) { return false; }
4295 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
4343 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
4363 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
4371 …obj.icon = dom.length ? dom.children(".jstree-anchor").children(".jstree-themeicon").attr('rel') :…
4397 for(i = 0, l = array.length; i < l; i++) {
4407 var rest = array.slice((to || from) + 1 || array.length);
4408 array.length = from < 0 ? array.length + from : from;
4510 for(i = 0, j = dpc.length; i < j; i++) {
4530 for(i = 0, j = dpc.length; i < j; i++) {
4536 for(i = 0, j = dpc.length; i < j; i++) {
4538 for(k = 0, l = m[dpc[i]].children_d.length; k < l; k++) {
4549 for(i = 0, j = p.children_d.length; i < j; i++) {
4550 if(!m[p.children_d[i]].children.length) {
4555 for(k = 0, l = chd.length; k < l; k++) {
4559 for(i = 0, j = p.children.length; i < j; i++) {
4566 if(tmp && tmp.length) {
4590 for(i = 0, j = obj.children_d.length; i < j; i++) {
4603 for(i = 0, j = par.children.length; i < j; i++) {
4610 if(tmp && tmp.length) {
4622 if(s.indexOf('down') !== -1 && dom.length) {
4630 for(i = 0, j = obj.children_d.length; i < j; i++) {
4647 for(i = 0, j = obj.children_d.length; i < j; i++) {
4658 for(i = 0, j = obj.parents.length; i < j; i++) {
4665 if(tmp && tmp.length) {
4671 for(i = 0, j = this._data[ t ? 'core' : 'checkbox' ].selected.length; i < j; i++) {
4683 if(s.indexOf('down') !== -1 && dom.length) {
4697 for(i = 0, j = p.children.length; i < j; i++) {
4704 if(tmp && tmp.length) {
4725 for(i = 0, j = p.children.length; i < j; i++) {
4732 if(tmp && tmp.length) {
4745 for(i = 0, j = p.children.length; i < j; i++) {
4753 if(tmp && tmp.length) {
4763 if(tmp && tmp.length) {
4784 for(i = 0, j = s.length; i < j; i++) {
4786 for(k = 0, l = m[s[i]].parents.length; k < l; k++) {
4804 for(k = 0, l = tmp.parents.length; k < l; k++) {
4813 for(i = 0, j = tmp.children_d.length; i < j; i++) {
4820 for(k = 0, l = tmp2.parents.length; k < l; k++) {
4832 for(i = 0, j = p.length; i < j; i++) {
4835 if(s && s.length) {
4845 for(i = 0, j = obj.childNodes.length; i < j; i++) {
4895 for(i = 0, j = obj.children_d.length; i < j; i++) {
4934 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
4947 if(dom && dom.length) {
4974 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
4987 if(dom.length) {
5012 for(i = 0, j = this._data.checkbox.selected.length; i < j; i++) {
5036 for(i = 0, j = this._data.checkbox.selected.length; i < j; i++) {
5088 for(i = 0, j = tmp.length; i < j; i++) {
5091 for(i = 0, j = tmp.length; i < j; i++) {
5092 for(k = 0, l = tmp[i].children_d.length; k < l; k++) {
5117 for(i = 0, j = tmp.length; i < j; i++) {
5118 if(!tmp[i].children.length) {
5129 for(k = 0, l = tmp.children_d.length; k < l; k++) {
5518 str += "<"+"a href='#' rel='" + (vakata_context.items.length - 1) + "'>";
5550 return str.length > 10 ? str : false;
5554 if(!o.length || !o.children("ul").length) { return; }
5576 if(vakata_context.element && vakata_context.element.length) {
5604 if(vakata_context.items.length) {
5724 …if(!o.length) { o = vakata_context.element.find("ul:visible").addBack().last().children("li:not(.v…
5740 …if(!o.length) { o = vakata_context.element.find("ul:visible").addBack().last().children("li:not(.v…
5868 …t = this.is_selected(obj) && this.settings.dnd.drag_selection ? this.get_top_selected().length : 1,
5919 …ta.event.target === ins.get_container_ul()[0]) && ins.get_container_ul().children().length === 0) {
5921 for(t1 = 0, t2 = data.data.nodes.length; t1 < t2; t1++) {
5935 if(ref && ref.length && ref.parent().is('.jstree-closed, .jstree-open, .jstree-leaf')) {
5962 … i = ip === 'first' ? 0 : (ip === 'last' ? tm.children.length : Math.min(ip, tm.children.length));
5972 for(t1 = 0, t2 = data.data.nodes.length; t1 < t2; t1++) {
6019 for(i = 0, j = data.data.nodes.length; i < j; i++) {
6026 if(i.length && laster && laster.error && laster.error === 'check') {
6469 if(r && r.length) {
6472 if(this._data.search.som && this._data.search.res.length) {
6473 for(i = 0, j = r.length; i < j; i++) {
6477 …o = s.length ? $(this.element[0].querySelectorAll('#' + $.map(s, function (v) { return "0123456789…
6488 if(data.nodes.length) {
6496 if(this._data.search.som && data.nodes.length) {
6525 if(this._data.search.res.length && !append) {
6571 …ch(v.text).isMatch) ) && (!s.search_leaves_only || (v.state.loaded && v.children.length === 0)) ) {
6576 if(r.length) {
6638 if(v && v.length) {
6661 patternLen = pattern.length,
6703 textLen = text.length,
6824 if(obj && obj.children && obj.children.length) {
6827 for(i = 0, j = obj.children_d.length; i < j; i++) {
7002 for(i = 0, j = dpc.length; i < j; i++) {
7026 for(i = 0, j = tmp.length; i < j; i++) {
7049 for(var i = 0, j = tmp.length; i < j; i++) {
7078 …ax_children !== undefined && tmp.max_children !== -1 && tmp.max_children === par.children.length) {
7088 for(i = 0, j = obj.children_d.length; i < j; i++) {
7089 d = Math.max(d, m[obj.children_d[i]].parents.length);
7091 d = d - obj.parents.length + 1;
7147 for(t1 = 0, t2 = obj.length; t1 < t2; t1++) {
7205 for(i = 0, j = par.children.length; i < j; i++) {
7256 for(i = 0, j = par.children.length; i < j; i++) {
7302 for(i = 0, j = data.selected.length; i < j; i++) {
7304 if(tmp && tmp.length) {