Lines Matching refs:i

108 		$.each(options.plugins, function (i, k) {  argument
109 if(i !== 'core') {
718 var tmp = [], i, j;
719 for(i = 0, j = this._data.core.selected.length; i < j; i++) {
720 tmp = tmp.concat(this._model.data[this._data.core.selected[i]].parents);
723 for(i = 0, j = tmp.length; i < j; i++) {
724 this.open_node(tmp[i], false, 0);
756 col.slice(ind).each($.proxy(function (i, v) { argument
766 col.slice(0, ind).each($.proxy(function (i, v) { argument
778 col.slice(ind + 1).each($.proxy(function (i, v) { argument
788 col.slice(0, ind + 1).each($.proxy(function (i, v) { argument
985 var i, j, p = [];
987 for(i = 0, j = obj.parents.length; i < j; i++) {
988 p.push(ids ? obj.parents[i] : this.get_text(obj.parents[i]));
1176 var k, l, i, j, c;
1190 for(i = 0, j = obj.parents.length; i < j; i++) {
1191 …this._model.data[obj.parents[i]].children_d = $.vakata.array_remove_item(this._model.data[obj.pare…
1242 m = this._model.data, i, j, tmp = [];
1243 for(i = 0, j = nodes.length; i < j; i++) {
1244 if(m[nodes[i]] && ( (!m[nodes[i]].state.loaded && !m[nodes[i]].state.failed) || !is_callback)) {
1245 if(!this.is_loading(nodes[i])) {
1246 this.load_node(nodes[i], c);
1252 for(i = 0, j = nodes.length; i < j; i++) {
1253 if(m[nodes[i]] && m[nodes[i]].state.loaded) {
1254 tmp.push(nodes[i]);
1277 i, j;
1281 for(i = 0, j = c.length; i < j; i++) {
1282 if(m[c[i]] && m[c[i]].state && !m[c[i]].state.loaded) {
1283 to_load.push(c[i]);
1424 tmp, i, j;
1425 dat.each($.proxy(function (i, v) { argument
1437 for(i = 0, j = p.parents.length; i < j; i++) {
1438 m[p.parents[i]].children_d = m[p.parents[i]].children_d.concat(dpc);
1505 tmp, i, j, rslt,
1511 i, j, c, e,
1526 for(i in df) {
1527 if(df.hasOwnProperty(i)) {
1528 tmp.state[i] = df[i];
1540 for(i in d.data.jstree) {
1541 if(d.data.jstree.hasOwnProperty(i)) {
1542 tmp.state[i] = d.data.jstree[i];
1548 for (i in d.state) {
1549 if(d.state.hasOwnProperty(i)) {
1550 tmp.state[i] = d.state[i];
1555 for (i in d.li_attr) {
1556 if(d.li_attr.hasOwnProperty(i)) {
1557 tmp.li_attr[i] = d.li_attr[i];
1565 for (i in d.a_attr) {
1566 if(d.a_attr.hasOwnProperty(i)) {
1567 tmp.a_attr[i] = d.a_attr[i];
1577 for(i = 0, j = tmp.children.length; i < j; i++) {
1578 c = parse_flat(m[tmp.children[i]], tmp.id, ps);
1597 var tid = false, i, j, c, e, tmp;
1616 for(i in df) {
1617 if(df.hasOwnProperty(i)) {
1618 tmp.state[i] = df[i];
1632 for(i in d.data.jstree) {
1633 if(d.data.jstree.hasOwnProperty(i)) {
1634 tmp.state[i] = d.data.jstree[i];
1640 for (i in d.state) {
1641 if(d.state.hasOwnProperty(i)) {
1642 tmp.state[i] = d.state[i];
1647 for (i in d.li_attr) {
1648 if(d.li_attr.hasOwnProperty(i)) {
1649 tmp.li_attr[i] = d.li_attr[i];
1663 for (i in d.a_attr) {
1664 if(d.a_attr.hasOwnProperty(i)) {
1665 tmp.a_attr[i] = d.a_attr[i];
1670 for(i = 0, j = d.children.length; i < j; i++) {
1671 c = parse_nest(d.children[i], tmp.id, ps);
1698 for(i = 0, j = dat.length; i < j; i++) {
1699 if(!dat[i].children) {
1700 dat[i].children = [];
1702 m[dat[i].id.toString()] = dat[i];
1705 for(i = 0, j = dat.length; i < j; i++) {
1706 m[dat[i].parent.toString()].children.push(dat[i].id.toString());
1708 p.children_d.push(dat[i].id.toString());
1711 for(i = 0, j = p.children.length; i < j; i++) {
1712 tmp = parse_flat(m[p.children[i]], par, p.parents.concat());
1718 for(i = 0, j = p.parents.length; i < j; i++) {
1719 m[p.parents[i]].children_d = m[p.parents[i]].children_d.concat(dpc);
1732 for(i = 0, j = dat.length; i < j; i++) {
1733 tmp = parse_nest(dat[i], par, p.parents.concat());
1744 for(i = 0, j = p.parents.length; i < j; i++) {
1745 m[p.parents[i]].children_d = m[p.parents[i]].children_d.concat(dpc);
1768 … var i, j, a = rslt.add, r = rslt.sel, s = this._data.core.selected.slice(), m = this._model.data;
1772 for(i = 0, j = r.length; i < j; i++) {
1773 if($.inArray(r[i], a) === -1 && $.inArray(r[i], s) === -1) {
1774 m[r[i]].state.selected = false;
1778 for(i = 0, j = s.length; i < j; i++) {
1779 if($.inArray(s[i], r) === -1) {
1780 m[s[i]].state.selected = true;
1884 }, i, tmp, tid;
1885 for(i in this._model.default_state) {
1886 if(this._model.default_state.hasOwnProperty(i)) {
1887 data.state[i] = this._model.default_state[i];
1891 $.each(tmp, function (i, v) { argument
1894 data.li_attr[i] = v;
1895 if(i === 'id') {
1902 $.each(tmp, function (i, v) { argument
1905 data.a_attr[i] = v;
1920 for(i in data.data.jstree) {
1921 if(data.data.jstree.hasOwnProperty(i)) {
1922 data.state[i] = data.data.jstree[i];
1942 tmp.each($.proxy(function (i, v) { argument
1985 i, j, c, e,
2000 for(i in df) {
2001 if(df.hasOwnProperty(i)) {
2002 tmp.state[i] = df[i];
2014 for(i in d.data.jstree) {
2015 if(d.data.jstree.hasOwnProperty(i)) {
2016 tmp.state[i] = d.data.jstree[i];
2022 for (i in d.state) {
2023 if(d.state.hasOwnProperty(i)) {
2024 tmp.state[i] = d.state[i];
2029 for (i in d.li_attr) {
2030 if(d.li_attr.hasOwnProperty(i)) {
2031 tmp.li_attr[i] = d.li_attr[i];
2039 for (i in d.a_attr) {
2040 if(d.a_attr.hasOwnProperty(i)) {
2041 tmp.a_attr[i] = d.a_attr[i];
2051 for(i = 0, j = tmp.children.length; i < j; i++) {
2052 c = this._parse_model_from_flat_json(m[tmp.children[i]], tmp.id, ps);
2080 var tid = false, i, j, c, e, m = this._model.data, df = this._model.default_state, tmp;
2099 for(i in df) {
2100 if(df.hasOwnProperty(i)) {
2101 tmp.state[i] = df[i];
2115 for(i in d.data.jstree) {
2116 if(d.data.jstree.hasOwnProperty(i)) {
2117 tmp.state[i] = d.data.jstree[i];
2123 for (i in d.state) {
2124 if(d.state.hasOwnProperty(i)) {
2125 tmp.state[i] = d.state[i];
2130 for (i in d.li_attr) {
2131 if(d.li_attr.hasOwnProperty(i)) {
2132 tmp.li_attr[i] = d.li_attr[i];
2146 for (i in d.a_attr) {
2147 if(d.a_attr.hasOwnProperty(i)) {
2148 tmp.a_attr[i] = d.a_attr[i];
2153 for(i = 0, j = d.children.length; i < j; i++) {
2154 c = this._parse_model_from_json(d.children[i], tmp.id, ps);
2185 f = document.createElement('UL'), tmp, i, j, fe = this._data.core.focused;
2186 for(i = 0, j = nodes.length; i < j; i++) {
2187 tmp = this.redraw_node(nodes[i], true, this._model.force_full_redraw);
2240 i = false,
2255 for(i = 0, j = obj.children.length; i < j; i++) {
2256 k.appendChild(this.redraw_node(obj.children[i], true, true));
2275 i = false,
2326 for(i in obj.li_attr) {
2327 if(obj.li_attr.hasOwnProperty(i)) {
2328 if(i === 'id') { continue; }
2329 if(i !== 'class') {
2330 node.setAttribute(i, obj.li_attr[i]);
2333 c += obj.li_attr[i];
2401 for(i = 0, j = obj.children.length; i < j; i++) {
2402 k.appendChild(this.redraw_node(obj.children[i], deep, true));
2414 for(i = 0, j = par.childNodes.length; i < j; i++) {
2415 …if(par.childNodes[i] && par.childNodes[i].className && par.childNodes[i].className.indexOf('jstree…
2416 tmp = par.childNodes[i];
2558 var i, j, p = obj.parents;
2559 for(i = 0, j = p.length; i < j; i+=1) {
2560 if(i !== '#') {
2561 this.open_node(p[i], false, 0);
2659 var dom = obj.id === '#' ? this.get_container_ul() : this.get_node(obj, true), i, j, _this;
2661 for(i = 0, j = obj.children_d.length; i < j; i++) {
2662 if(this.is_closed(this._model.data[obj.children_d[i]])) {
2663 this._model.data[obj.children_d[i]].state.opened = true;
2700 _this = this, i, j;
2702 for(i = 0, j = obj.children_d.length; i < j; i++) {
2703 this._model.data[obj.children_d[i]].state.opened = false;
2819 i, j;
2820 for(i = 0, j = p.length; i < j; i += 1) {
2822 if(p[i] === o) {
2825 if(p[i] === l) {
2828 if(c || p[i] === o || p[i] === l) {
2829 this.select_node(p[i], true, false, e);
2832 this.deselect_node(p[i], true, e);
3002 var tmp = this._data.core.selected.concat([]), i, j;
3004 for(i = 0, j = this._data.core.selected.length; i < j; i++) {
3005 if(this._model.data[this._data.core.selected[i]]) {
3006 this._model.data[this._data.core.selected[i]].state.selected = true;
3028 var tmp = this._data.core.selected.concat([]), i, j;
3029 for(i = 0, j = this._data.core.selected.length; i < j; i++) {
3030 if(this._model.data[this._data.core.selected[i]]) {
3031 this._model.data[this._data.core.selected[i]].state.selected = false;
3068 …return full ? $.map(this._data.core.selected, $.proxy(function (i) { return this.get_node(i); }, t… argument
3078 obj = {}, i, j, k, l;
3079 for(i = 0, j = tmp.length; i < j; i++) {
3080 obj[tmp[i].id] = tmp[i];
3082 for(i = 0, j = tmp.length; i < j; i++) {
3083 for(k = 0, l = tmp[i].children_d.length; k < l; k++) {
3084 if(obj[tmp[i].children_d[k]]) {
3085 delete obj[tmp[i].children_d[k]];
3090 for(i in obj) {
3091 if(obj.hasOwnProperty(i)) {
3092 tmp.push(i);
3095 return full ? $.map(tmp, $.proxy(function (i) { return this.get_node(i); }, this)) : tmp; argument
3105 obj = [], i, j;
3106 for(i = 0, j = tmp.length; i < j; i++) {
3107 if(!tmp[i].children.length) {
3108 obj.push(tmp[i].id);
3111 return full ? $.map(obj, $.proxy(function (i) { return this.get_node(i); }, this)) : obj; argument
3136 }, i;
3137 for(i in this._model.data) {
3138 if(this._model.data.hasOwnProperty(i)) {
3139 if(i !== '#') {
3140 if(this._model.data[i].state.opened) {
3141 state.core.open.push(i);
3143 if(this._model.data[i].state.selected) {
3144 state.core.selected.push(i);
3162 var res, n, t, _this, i;
3191 $.each(state.core.selected, function (i, v) { argument
3198 for(i in state) {
3199 if(state.hasOwnProperty(i) && i !== "core" && $.inArray(i, this.settings.plugins) === -1) {
3200 delete state[i];
3304 var i, j, m = this._model.data;
3308 for(i = 0, j = obj.parents.length; i < j; i++) {
3309 m[obj.parents[i]].children_d[$.inArray(obj.id, m[obj.parents[i]].children_d)] = id;
3312 for(i = 0, j = obj.children.length; i < j; i++) {
3313 m[obj.children[i]].parent = id;
3315 for(i = 0, j = obj.children_d.length; i < j; i++) {
3316 m[obj.children_d[i]].parents[$.inArray(obj.id, m[obj.children_d[i]].parents)] = id;
3318 i = $.inArray(obj.id, this._data.core.selected);
3319 if(i !== -1) { this._data.core.selected[i] = id; }
3321 i = this.get_node(obj.id, true);
3322 if(i) {
3323i.attr('id', id).children('.jstree-anchor').attr('id', id + '_anchor').end().attr('aria-labelledby…
3403 }, i, j;
3411 for(i in obj.state) {
3412 if(obj.state.hasOwnProperty(i)) {
3413 tmp.state[i] = obj.state[i];
3430 for(i = 0, j = obj.children.length; i < j; i++) {
3432 this.get_json(obj.children[i], options, flat);
3435 tmp.children.push(this.get_json(obj.children[i], options));
3463 var tmp, dpc, i, j;
3507 for(i = 0, j = par.parents.length; i < j; i++) {
3508 …this._model.data[par.parents[i]].children_d = this._model.data[par.parents[i]].children_d.concat(d…
3512 for(i = 0, j = par.children.length; i < j; i++) {
3513 tmp[i >= pos ? i+1 : i] = par.children[i];
3575 var t1, t2, par, pos, tmp, i, j, k, l, c;
3598 for(i = 0, j = obj.parents.length; i < j; i++) {
3599 pos = $.inArray(tmp[k], this._model.data[obj.parents[i]].children_d);
3601 …this._model.data[obj.parents[i]].children_d = $.vakata.array_remove(this._model.data[obj.parents[i
3685 var t1, t2, old_par, old_pos, new_par, old_ins, is_multi, dpc, tmp, i, j, k, l, p;
3766 for(i = 0, j = dpc.length; i < j; i++) {
3767 tmp[i >= pos ? i+1 : i] = dpc[i];
3778 for(i = 0, j = obj.parents.length; i < j; i++) {
3780 p = old_ins._model.data[obj.parents[i]].children_d;
3786 old_ins._model.data[obj.parents[i]].children_d = dpc;
3791 for(i = 0, j = new_par.parents.length; i < j; i++) {
3792 …this._model.data[new_par.parents[i]].children_d = this._model.data[new_par.parents[i]].children_d.…
3795 for(i = 0, j = new_par.children.length; i < j; i++) {
3796 dpc[i >= pos ? i+1 : i] = new_par.children[i];
3812 for(i = 0, j = obj.children_d.length; i < j; i++) {
3813 …this._model.data[obj.children_d[i]].parents = this._model.data[obj.children_d[i]].parents.slice(0,…
3814 Array.prototype.push.apply(this._model.data[obj.children_d[i]].parents, tmp);
3858 var t1, t2, dpc, tmp, i, j, node, old_par, new_par, old_ins, is_multi;
3935 for(i = 0, j = new_par.parents.length; i < j; i++) {
3936 …this._model.data[new_par.parents[i]].children_d = this._model.data[new_par.parents[i]].children_d.…
3939 for(i = 0, j = new_par.children.length; i < j; i++) {
3940 dpc[i >= pos ? i+1 : i] = new_par.children[i];
4132 var i = s.children(".jstree-rename-input"),
4133 v = i.val();
4385 $.each(node.attributes, function (i, v) { argument
4396 var a = [], i, j, l, o = {};
4397 for(i = 0, l = array.length; i < l; i++) {
4398 if(o[array[i]] === undefined) {
4399 a.push(array[i]);
4400 o[array[i]] = true;
4509 i, j;
4510 for(i = 0, j = dpc.length; i < j; i++) {
4511 …m[dpc[i]].state.checked = (m[dpc[i]].original && m[dpc[i]].original.state && m[dpc[i]].original.st…
4512 if(m[dpc[i]].state.checked) {
4513 this._data.checkbox.selected.push(dpc[i]);
4525 … c, i, j, k, l, tmp, s = this.settings.checkbox.cascade, t = this.settings.checkbox.tie_selection;
4530 for(i = 0, j = dpc.length; i < j; i++) {
4531 m[dpc[i]].state[ t ? 'selected' : 'checked' ] = true;
4536 for(i = 0, j = dpc.length; i < j; i++) {
4537 if(m[dpc[i]].state[ t ? 'selected' : 'checked' ]) {
4538 for(k = 0, l = m[dpc[i]].children_d.length; k < l; k++) {
4539 m[m[dpc[i]].children_d[k]].state[ t ? 'selected' : 'checked' ] = true;
4541 …checkbox' ].selected = this._data[ t ? 'core' : 'checkbox' ].selected.concat(m[dpc[i]].children_d);
4549 for(i = 0, j = p.children_d.length; i < j; i++) {
4550 if(!m[p.children_d[i]].children.length) {
4551 chd.push(m[p.children_d[i]].parent);
4559 for(i = 0, j = p.children.length; i < j; i++) {
4560 c += m[p.children[i]].state[ t ? 'selected' : 'checked' ];
4585 i, j, c, tmp, s = this.settings.checkbox.cascade, t = this.settings.checkbox.tie_selection;
4590 for(i = 0, j = obj.children_d.length; i < j; i++) {
4591 tmp = m[obj.children_d[i]];
4603 for(i = 0, j = par.children.length; i < j; i++) {
4604 c += m[par.children[i]].state[ t ? 'selected' : 'checked' ];
4629 i, j, tmp;
4630 for(i = 0, j = obj.children_d.length; i < j; i++) {
4631 tmp = m[obj.children_d[i]];
4640 i, j, tmp, s = this.settings.checkbox.cascade, t = this.settings.checkbox.tie_selection;
4647 for(i = 0, j = obj.children_d.length; i < j; i++) {
4648 tmp = this._model.data[obj.children_d[i]];
4658 for(i = 0, j = obj.parents.length; i < j; i++) {
4659 tmp = this._model.data[obj.parents[i]];
4664 tmp = this.get_node(obj.parents[i], true);
4671 for(i = 0, j = this._data[ t ? 'core' : 'checkbox' ].selected.length; i < j; i++) {
4674 …(s.indexOf('down') === -1 || $.inArray(this._data[ t ? 'core' : 'checkbox' ].selected[i], obj.chil…
4675 …(s.indexOf('up') === -1 || $.inArray(this._data[ t ? 'core' : 'checkbox' ].selected[i], obj.parent…
4677 tmp.push(this._data[ t ? 'core' : 'checkbox' ].selected[i]);
4694 i, j, c, tmp, t = this.settings.checkbox.tie_selection;
4697 for(i = 0, j = p.children.length; i < j; i++) {
4698 c += m[p.children[i]].state[ t ? 'selected' : 'checked' ];
4720 p, c, i, j, tmp, t = this.settings.checkbox.tie_selection;
4725 for(i = 0, j = p.children.length; i < j; i++) {
4726 c += m[p.children[i]].state[ t ? 'selected' : 'checked' ];
4745 for(i = 0, j = p.children.length; i < j; i++) {
4746 c += m[p.children[i]].state[ t ? 'selected' : 'checked' ];
4783 …var i, j, k, l, o = {}, m = this._model.data, t = this.settings.checkbox.tie_selection, s = this._…
4784 for(i = 0, j = s.length; i < j; i++) {
4785 if(m[s[i]] && m[s[i]].parents) {
4786 for(k = 0, l = m[s[i]].parents.length; k < l; k++) {
4787 if(o[m[s[i]].parents[k]] === undefined && m[s[i]].parents[k] !== '#') {
4788 o[m[s[i]].parents[k]] = true;
4789 p.push(m[s[i]].parents[k]);
4813 for(i = 0, j = tmp.children_d.length; i < j; i++) {
4814 tmp2 = m[tmp.children_d[i]];
4832 for(i = 0, j = p.length; i < j; i++) {
4833 if(!m[p[i]].state[ t ? 'selected' : 'checked' ]) {
4834 s = this.get_node(p[i], true);
4844 var i, j, tmp = null;
4845 for(i = 0, j = obj.childNodes.length; i < j; i++) {
4846 …if(obj.childNodes[i] && obj.childNodes[i].className && obj.childNodes[i].className.indexOf("jstree…
4847 tmp = obj.childNodes[i];
4888 …var s = this.settings.checkbox.cascade, i, j, t = this.settings.checkbox.tie_selection, d = this._…
4895 for(i = 0, j = obj.children_d.length; i < j; i++) {
4896 …if($.inArray(obj.children_d[i], d) !== -1 || (!m[obj.children_d[i]].state.loaded && m[obj.children…
5010 var tmp = this._data.checkbox.selected.concat([]), i, j;
5012 for(i = 0, j = this._data.checkbox.selected.length; i < j; i++) {
5013 if(this._model.data[this._data.checkbox.selected[i]]) {
5014 this._model.data[this._data.checkbox.selected[i]].state.checked = true;
5035 var tmp = this._data.checkbox.selected.concat([]), i, j;
5036 for(i = 0, j = this._data.checkbox.selected.length; i < j; i++) {
5037 if(this._model.data[this._data.checkbox.selected[i]]) {
5038 this._model.data[this._data.checkbox.selected[i]].state.checked = false;
5075 …return full ? $.map(this._data.checkbox.selected, $.proxy(function (i) { return this.get_node(i); … argument
5087 obj = {}, i, j, k, l;
5088 for(i = 0, j = tmp.length; i < j; i++) {
5089 obj[tmp[i].id] = tmp[i];
5091 for(i = 0, j = tmp.length; i < j; i++) {
5092 for(k = 0, l = tmp[i].children_d.length; k < l; k++) {
5093 if(obj[tmp[i].children_d[k]]) {
5094 delete obj[tmp[i].children_d[k]];
5099 for(i in obj) {
5100 if(obj.hasOwnProperty(i)) {
5101 tmp.push(i);
5104 return full ? $.map(tmp, $.proxy(function (i) { return this.get_node(i); }, this)) : tmp; argument
5116 obj = [], i, j;
5117 for(i = 0, j = tmp.length; i < j; i++) {
5118 if(!tmp[i].children.length) {
5119 obj.push(tmp[i].id);
5122 return full ? $.map(obj, $.proxy(function (i) { return this.get_node(i); }, this)) : obj; argument
5125 var k, l, i, j, c, tmp;
5151 $.each(state.checkbox, function (i, v) { argument
5406 i = false;
5416 i = s.items;
5417 if($.isFunction(i)) {
5418 i = i.call(this, obj, $.proxy(function (i) { argument
5419 this._show_contextmenu(obj, x, y, i);
5422 if($.isPlainObject(i)) {
5423 this._show_contextmenu(obj, x, y, i);
5437 this._show_contextmenu = function (obj, x, y, i) { argument
5445 $.vakata.context.show(a, { 'x' : x, 'y' : y }, i);
5487 _execute : function (i) { argument
5488 i = vakata_context.items[i];
5489i && (!i._disabled || ($.isFunction(i._disabled) && !i._disabled({ "item" : i, "reference" : vakat…
5490 "item" : i,
5510 $.each(o, function (i, val) { argument
5527 …str += ($.isFunction(val.label) ? val.label({ "item" : i, "reference" : vakata_context.reference, …
5909 tmp, l, t, h, p, i, o, ok, t1, t2, op, ps, pr, ip, tm;
5954 i = ref.parent().index();
5962i = ip === 'first' ? 0 : (ip === 'last' ? tm.children.length : Math.min(ip, tm.children.length));
5968 i = ref.parent().index() + 1;
5974 ps = i;
5991 … ins, 'par' : p, 'pos' : v === 'i' && ip === 'last' && i === 0 && !ins.is_loaded(tm) ? 'last' : i
6017 var i, j, nodes = [];
6019 for(i = 0, j = data.data.nodes.length; i < j; i++) {
6020 … nodes[i] = data.data.origin ? data.data.origin.get_node(data.data.nodes[i]) : data.data.nodes[i];
6025 i = $(data.event.target).closest('.jstree');
6026 if(i.length && laster && laster.error && laster.error === 'check') {
6027 i = i.jstree(true);
6028 if(i) {
6029 i.settings.core.error.call(this, laster);
6124 var i = vakata_dnd.scroll_e.scrollTop(),
6126 vakata_dnd.scroll_e.scrollTop(i + vakata_dnd.scroll_t * $.vakata.dnd.settings.scroll_speed);
6128 if(i !== vakata_dnd.scroll_e.scrollTop() || j !== vakata_dnd.scroll_e.scrollLeft()) {
6349 for(var i in data) {
6350 if(data.hasOwnProperty(i)) {
6351 this._data.massload[i] = data[i];
6369 for(var i in data) {
6370 if(data.hasOwnProperty(i)) {
6371 this._data.massload[i] = data[i];
6468 var i, j, f, r = this._data.search.res, s = [], o = $();
6473 for(i = 0, j = r.length; i < j; i++) {
6474 s = s.concat(this.get_node(r[i]).parents);
6524 p = [], i, j;
6569 $.each(m[inside ? inside : '#'].children_d, function (ii, i) { argument
6570 var v = m[i];
6572 r.push(i);
6635 $.each(d.concat([]), function (i, v) { argument
6670 i = 0;
6671 for (i = 0; i < patternLen; i++) {
6672 mask[pattern.charAt(i)] = 0;
6674 for (i = 0; i < patternLen; i++) {
6675 mask[pattern.charAt(i)] |= 1 << (patternLen - i - 1);
6702 var i, j,
6719 for (i = 0; i < patternLen; i++) {
6723 if (match_bitapScore(i, MATCH_LOCATION + binMid) <= scoreThreshold) {
6734 rd[finish + 1] = (1 << i) - 1;
6737 if (i === 0) {
6743 score = match_bitapScore(i, j - 1);
6756 if (match_bitapScore(i + 1, MATCH_LOCATION) > scoreThreshold) {
6822 var i, j;
6827 for(i = 0, j = obj.children_d.length; i < j; i++) {
6828 this.sort(obj.children_d[i], false);
6976 var i, j;
6978 for(i in options.types) {
6979 if(i !== "default" && i !== "#" && options.types.hasOwnProperty(i)) {
6981 if(options.types['default'].hasOwnProperty(j) && options.types[i][j] === undefined) {
6982 options.types[i][j] = options.types['default'][j];
7001 i, j, c = 'default';
7002 for(i = 0, j = dpc.length; i < j; i++) {
7004 if(m[dpc[i]].original && m[dpc[i]].original.type && t[m[dpc[i]].original.type]) {
7005 c = m[dpc[i]].original.type;
7007 …if(m[dpc[i]].data && m[dpc[i]].data.jstree && m[dpc[i]].data.jstree.type && t[m[dpc[i]].data.jstre…
7008 c = m[dpc[i]].data.jstree.type;
7010 m[dpc[i]].type = c;
7011 if(m[dpc[i]].icon === true && t[c].icon !== undefined) {
7012 m[dpc[i]].icon = t[c].icon;
7020 var i, j,
7026 for(i = 0, j = tmp.length; i < j; i++) {
7027 tmp[i].type = tmp[i].id && m[tmp[i].id] && m[tmp[i].id].type ? m[tmp[i].id].type : "default";
7029 delete tmp[i].id;
7030 if(tmp[i].li_attr && tmp[i].li_attr.id) {
7031 delete tmp[i].li_attr.id;
7033 if(tmp[i].a_attr && tmp[i].a_attr.id) {
7034 delete tmp[i].a_attr.id;
7049 for(var i = 0, j = tmp.length; i < j; i++) {
7050 tmp[i] = this._delete_ids(tmp[i]);
7070 … && obj.id ? (more && more.origin ? more.origin : $.jstree.reference(obj.id)) : null, tmp, d, i, j;
7088 for(i = 0, j = obj.children_d.length; i < j; i++) {
7089 d = Math.max(d, m[obj.children_d[i]].parents.length);
7204 m = this._model.data, i, j;
7205 for(i = 0, j = par.children.length; i < j; i++) {
7206 c.push(s ? m[par.children[i]].text : m[par.children[i]].text.toLowerCase());
7213i = ($.inArray(n, c) === -1 || (obj.text && obj.text[ s ? 'toString' : 'toLowerCase']() === n));
7214 if(!i) {
7217 return i;
7219 i = ($.inArray(n, c) === -1);
7220 if(!i) {
7223 return i;
7225 i = ($.inArray(n, c) === -1);
7226 if(!i) {
7229 return i;
7231 i = ( (obj.parent === par.id && (!more || !more.is_multi)) || $.inArray(n, c) === -1);
7232 if(!i) {
7235 return i;
7253 …var tmp, n, dpc, i, j, m = this._model.data, s = this.settings.unique.case_sensitive, cb = this.se…
7256 for(i = 0, j = par.children.length; i < j; i++) {
7257 dpc.push(s ? m[par.children[i]].text : m[par.children[i]].text.toLowerCase());
7259 i = 1;
7261 n = cb.call(this, tmp, (++i)).toString();
7301 var tmp = false, i, j;
7302 for(i = 0, j = data.selected.length; i < j; i++) {
7303 tmp = this.get_node(data.selected[i], true);
7374 var c = { core : {}, plugins : [] }, i;
7375 for(i in $.jstree.plugins) {
7376 if($.jstree.plugins.hasOwnProperty(i) && this.attributes[i]) {
7377 c.plugins.push(i);
7378 if(this.getAttribute(i) && JSON.parse(this.getAttribute(i))) {
7379 c[i] = JSON.parse(this.getAttribute(i));
7383 for(i in $.jstree.defaults.core) {
7384 if($.jstree.defaults.core.hasOwnProperty(i) && this.attributes[i]) {
7385 c.core[i] = JSON.parse(this.getAttribute(i)) || this.getAttribute(i);