Home
last modified time | relevance | path

Searched refs:slice (Results 1 – 25 of 419) sorted by relevance

12345678910>>...17

/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
H A Dslice.test2 "slice" filter
7 {{ [1, 2, 3, 4]|slice(1, 2)|join('') }}
8 {{ [1, 2, 3, 4]|slice(1, 2)|keys|join('') }}
9 {{ [1, 2, 3, 4]|slice(1, 2, true)|keys|join('') }}
10 {{ {a: 1, b: 2, c: 3, d: 4}|slice(1, 2)|join('') }}
12 {{ '1234'|slice(1, 2) }}
14 {{ arr|slice(1, 2)|join('') }}
19 {{ [1, 2, 3, 4]|slice(1)|join('') }}
21 {{ '1234'|slice(1) }}
25 {{ arr|slice(3)|join('') }}
[all …]
/plugin/markdownextra/lib/meltdown/js/lib/
H A Drangyinputs-jquery.min.js17slice(b,c)}}function r(){return n(document,"body")?document.body:document.getElementsByTagName("bo…
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
H A Dslice.rst1 ``slice``
5 The ``slice`` filter was added in Twig 1.6.
7 The ``slice`` filter extracts a slice of a sequence, a mapping, or a string:
11 {% for i in [1, 2, 3, 4, 5]|slice(1, 2) %}
15 {{ '12345'|slice(1, 2) }}
23 {% for i in [1, 2, 3, 4, 5]|slice(start, length) %}
43 The ``slice`` filter works as the `array_slice`_ PHP function for arrays and
64 * ``start``: The start of the slice
65 * ``length``: The size of the slice
/plugin/autotabber/
H A Dtaboverride.js174 keyCombo += modifierKeys[i].slice(0, -3) + '+';
238 sel = text.slice(selStart, selEnd);
315 target.value = text.slice(0, startLine) + tab +
319 }) + text.slice(endLine);
337 if (text.slice(startLine).indexOf(tab) === 0) {
341 sel = sel.slice(tabLen);
349 … target.value = text.slice(0, startLine) + text.slice(startLine + preTab, selStart) +
353 }) + text.slice(selEnd);
380 target.value = text.slice(0, selStart) + tab + text.slice(selEnd);
389 target.value = text.slice(0, selStart - tabLen) + text.slice(selStart);
[all …]
/plugin/sequencediagram/bower_components/lodash/test/
H A Dremove.js9 .slice((args[0] === process.execPath || args[0] === 'node') ? 2 : 0);
19 return RegExp(result.slice(1, lastIndex), result.slice(lastIndex + 1));
25 var snippet = _.slice(arguments, -3, -2)[0];
H A Dtest-fp.js20 slice = arrayProto.slice, variable
516 args || (args = slice.call(arguments));
523 args || (args = slice.call(arguments));
530 args || (args = slice.call(arguments));
537 args || (args = slice.call(arguments));
904 args || (args = slice.call(arguments));
995 args || (args = slice.call(arguments));
1158 args || (args = slice.call(arguments));
1895 return slice.call(arguments);
1990 return slice.call(arguments);
[all …]
H A Dtest.js63 slice = arrayProto.slice,
3181 var actual = _(falsey).thru(_.slice).compact().thru(_.slice).value();
11153 slice[fakeSrcKey] = slice + '';
12589 assert.deepEqual(_.partition(objects), [objects.slice(0, 2), objects.slice(2)]);
17718 assert.deepEqual(actual, [objects.slice(0, 2), objects.slice(2)]);
20516 return index ? _.slice(array, 0, end) : _.slice(array, 0);
20568 assert.deepEqual(wrapped[methodName]().slice(1).value(), array.slice(1));
20569 assert.deepEqual(wrapped[methodName]().slice(1, 3).value(), array.slice(1, 3));
20570 assert.deepEqual(wrapped[methodName]().slice(-1).value(), array.slice(-1));
20573 assert.deepEqual(wrapped[methodName]().slice(3, 2).value(), array.slice(3, 2));
[all …]
/plugin/abc2/abc-libraries/abc2svg/
H A Dpage-1.js14 str=str.slice(1,-1)
43 cfmt.dateformat=cfmt.dateformat.slice(1,-1)
90 str=str.slice(1)}
106 s=str.slice(k,j)
108 s=str.slice(k)
135 sty=abc.get_font_style().slice(l)
148 sty=abc.get_font_style().slice(l)
165 switch(p.slice(0,4)){case"<div":if(p.indexOf('newpage')>0||(page.oneperpage&&this.info().X)||!page.…
233slice(1)};return sFormat.replace(/%[a-z]/gi,function(sMatch){return(({'%a':aDays[nDay].slice(0,3),…
H A Dabcweb-1.js69 abc.mei2mus(page.slice(j,k))
74 if(!res){src+=page.slice(i).replace(/\n%%/g,"\n%%%%")+"\n%%endml\n"
76 j=re.lastIndex-res[0].length;src+=page.slice(i,j).replace(/\n%%/g,"\n%%%%")
81 page.slice(j,i)
83 src+=page.slice(j,i)+"\n%%endml\n"
86 src+=toabc(page.slice(i,j))
104 src+="%%endml\n"+page.slice(j,i)
128 fn=page.slice(i,j).trim()
H A DMIDI-1.js42 cfmt.chord.names[a[2]]=a.slice(3)
47 if(a[3]&&a[3].slice(0,7)=="octave=")
48 cfmt.chord.trans=Number(a[3].slice(7))
149 of(a)},do_pscom:function(of,text){if(text.slice(0,5)=="MIDI ")
/plugin/schedule/lib/
H A DscheduleForm.js37 tabs.slice (0,1).toggleClass ("warning", warning);
42 tabs.slice (1,2).toggleClass ("warning", warning);
46 tabs.slice (2,3).toggleClass ("warning", warning);
50 tabs.slice (3,4).toggleClass ("warning", warning);
54 tabs.slice (4,5).toggleClass ("warning", warning);
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/util/docstheme/layout/
H A Dbase.twig5 {% set path = parts|slice(0, -1)|join("\\") %}
6 {% set name = parts|slice(-1, 1)|join("\\") %}
/plugin/textmodule/
H A Dscript.js13 document.getElementById('wiki__text').value = x.slice(0,cursorPos) + t + x.slice(cursorPos);
/plugin/foldablelist/
H A Dscript.js19 $list.children().slice(settings.collapse_after).toggle();
23 $list.children().slice(settings.collapse_after).toggle();
/plugin/yearbox/build/
H A DpluginInfoVersionUpdater.js12 return [line.slice(0, indexOfFirstSpace), line.slice(indexOfFirstSpace + 1)]
/plugin/tablelayout/_jstest/
H A Dsort.tests.js11 var $tableRows = $fixture.find( 'table tr' ).slice(1);
23 var $tableRows = $fixture.find( 'table tr' ).slice(1);
/plugin/refnotes/
H A Dinstructions.php286 $slice = array_slice($this->event->data->calls, $prevIndex, $index - $prevIndex);
287 $calls = array_merge($calls, $slice);
300 $slice = array_slice($this->event->data->calls, $prevIndex, $callCount - $prevIndex);
301 $calls = array_merge($calls, $slice);
/plugin/amcharts/assets/amcharts/plugins/export/libs/blob.js/
H A Dblob.js166 FB_proto.slice = function(start, end, type) {
172 this.data.slice(start, args > 1 ? end : this.data.length)
201 if (!blob.slice && blob.webkitSlice) {
202 blob.slice = blob.webkitSlice;
/plugin/batchedit/
H A Djs.cookie.js110 var cookie = parts.slice(1).join('=');
113 cookie = cookie.slice(1, -1);
149 }, [].slice.call(arguments));
/plugin/inseecity/
H A Dscript.js48 results = results.slice (0, inseeCityMaxAutocomplete);
53 response (startsWith.slice (0, inseeCityMaxAutocomplete));
/plugin/amcharts/assets/amcharts/plugins/export/libs/FileSaver.js/
H A DFileSaver.js124 , slice
146 slice = blob.slice || blob.webkitSlice;
147 blob = slice.call(blob, 0, blob.size, force_saveable_type);
/plugin/achart/assets/
H A Djs-yaml.min.js2slice(t,n).replace(/\t/g,"→")+a,pos:i-t+o.length}}function l(e,t){return n.repeat(" ",t-e.length)+…
/plugin/diagrams/script/
H A Dhelpers.js103 return normalizeId(path.split('/').slice(3).join(':'));
109 return normalizeId(path.split('/').slice(1).join(':'));
/plugin/eventline/timeline_ajax/
H A Dsimile-ajax-api.js136 url = (url+"#").slice(q+1, url.indexOf("#")); // toss the URL fragment
142 var name = decode(param.slice(0,eq));
149 parsed[name] = old.concat(decode(param.slice(eq+1)));
/plugin/tline/timeline_ajax/
H A Dsimile-ajax-api.js136 url = (url+"#").slice(q+1, url.indexOf("#")); // toss the URL fragment
142 var name = decode(param.slice(0,eq));
149 parsed[name] = old.concat(decode(param.slice(eq+1)));

12345678910>>...17