/plugin/404manager/ |
H A D | admin.php | 308 function truncateString($myString, $length) argument 310 if (strlen($myString) > $length) { 311 $myString = substr($myString, 0, $length) . ' ...';
|
/plugin/a2s/ |
H A D | demo.txt | 107 …* border stroke dash : A serie of pair of dash length and space length. Length unit is unknown. Ex…
|
/plugin/abc2/abc-libraries/abc-ui/ |
H A D | abc-ui-1.0.0.min.js | 8 function external_eval(param){return eval(param)}function isQuoted(e){return e.q}function quote(e){return e.q=!0,e}function unquote(e){return delete e.q,e}function Symbol(e){return this.nm=e,this}function isSymbol(e){return e&&e.constructor===Symbol}function symbolName(e){return e.nm}function isArray(e){return e&&e.constructor===Array}function inDs(e,t){for(var n=e.length-1;0<=n;--n)if("undefined"!=typeof e[n][t])return e[n];return!1}function member(e,t){return 0<=t.indexOf(e)}function PsParser(){function t(t){e.L=t,e.N=t.length,e.I=0,e.D=0}function n(){return e.I<e.N&&e.L[e.I]}function r(){return e.I<e.N&&e.L[e.I++]}function i(){while(e.I<e.N&&member(e.L[e.I]," \n"))e.I++}function s(){while("%"==n()){while(n()&&"\n"!=n())r();i()}}function o(){r();var e=[],t=1;while(0<t&&n()){var i=r();switch(i){case"(":t++;break;case")":t--,t<=0&&(i=!1);break;case"\\":i=r();switch(i){case"(":break;case")":break;case"\\":break;case"n":i="\n";break;case"r":i="\r";break;case"t":i=" ";break;default:i=!1}}i!==!1&&e.push(i)}return e.join("")}function u(){var e=r();if(member(e,"()<>/% \n"))throw new Error("Symbol expected, got "+e);var t=member(e,"+-0123456789."),i="."==e,s=[e];while(n()&&!member(n(),"()<>[]{}/% \n"))e=r(),s.push(e),t&&!member(e,"0123456789")&&(!i&&"."==e?i=!0:t=!1);return s=s.join(""),1==s.length&&member(s,"+-.")&&(t=!1),t?i?parseFloat(s):parseInt(s,10):new Symbol(s)}function a(){i();switch(n()){case!1:return undefined;case"%":return s();case"[":return new Symbol(r());case"]":return new Symbol(r());case"{":return e.D++,new Symbol(r());case"}":return e.D--,new Symbol(r());case"/":r();var t=u();return quote(t);case"(":return o();case"<":r();if("<"!=n())throw new Error("Encoded strings not implemented yet");return r(),new Symbol("<<");case">":r();if(">"!=n())throw new Error("Unexpected >");return r(),new Symbol(">>");default:return u()}}var e=this;return PsParser.prototype.init=t,PsParser.prototype.peek=n,PsParser.prototype.token=a,this}function Ps0(e,t,n){function r(i,s){if(isSymbol(i)&&!isQuoted(i)){var o=symbolName(i),u=inDs(t,o);if(!u)throw new Error("bind error '"+o+"'");n.push([!1,u[o]])}else if(s&&isArray(i)&&isQuoted(i)){if(0<i.length){var a=i[0],f=quote(i.slice(1));0<f.length&&n.push([!1,f]),r(a,!1)}}else"function"==typeof i?i():e.push(i)}function i(){var t=e.pop();r(t,!1)}function s(){var t=n.pop(),i=t.shift(),s=t.pop();for(var o=0;o<t.length;o++)e.push(t[o]);r(s,!0)}function u(t){o.init(t);while(o.peek()){var r=o.token();if(r||r===0){e.push(r);if(o.D<=0||isSymbol(r)&&(member(symbolName(r),"[]{}")||"<<"==symbolName(r)||">>"==symbolName(r))){i();while(0<n.length)s()}}}return e}var o=new PsParser;return Ps0.prototype.run=r,Ps0.prototype.exec=i,Ps0.prototype.step=s,Ps0.prototype.parse=u,this}function Wps(e){function f(e){if(isSymbol(e)&&!isQuoted(e))return e;if(isArray(e)&&isQuoted(e)){var t=e.length,n=[];for(var r=0;r<t;r++){var i=e[r],s=f(i);isArray(i)?n=n.concat(isQuoted(i)?quote([s]):[s]):n=n.concat(s)}return quote(n)}return e}function l(){var e=arguments;if(e.length)for(var t=0;t<e.length; function [all...] |
/plugin/abc2/abc-libraries/abc2svg/ |
H A D | LICENSE | 70 (ten or fewer lines in length), you do both of the following:
|
H A D | MIDI-1.js | 28 for(i=0;i<n1.length;i++) 30 for(i=1;i<=n2.length;i++) 137 for(i=0;i<a.length;i++){switch(a[i]){case"channel=":curvoice.chn=a[++i]
|
H A D | abc2svg-1.js | 81 if(arguments.length>3) 318 function deco_cnv(a_dcn,s,prev){var i,j,dd,dcn,note,nd=a_dcn.length 372 s.trem1=true;s.ntrem=dd.name.length 401 function deco_update(s,dx){var i,de,nd=a_de.length 405 function deco_width(s){var dd,i,wl=0,a_dd=s.a_dd,nd=a_dd.length 420 Abc.prototype.draw_all_deco=function(){if(!a_de.length) 474 function ldeco_update(s){var i,de,x=s.x-s.wl,nd=a_de.length 476 function create_deco(s){var dd,k,l,pos,de,x,nd=s.a_dd.length 488 de={s:s,dd:dd,st:s.st,ix:a_de.length,defl:{},x:s.x,y:s.y,} 496 function create_dh(s,m){var f,str,de,uf,k,dcn,dd,note=s.notes[m],nd=note.a_dcn.length [all...] |
H A D | abcweb-1.js | 16 for(var k=0;k<s_a.length;k++){if(s_a[k].src.indexOf(app)>=0) 39 for(j=0;j<tune_lst.length;j++) 76 j=re.lastIndex-res[0].length;src+=page.slice(i,j).replace(/\n%%/g,"\n%%%%") 101 i=page.length 111 for(i=0;i<k.length;i++){if(k[i]){j=k[i].split('=')
|
H A D | ambitus-1.js | 6 for(v=0;v<voice_tb.length;v++){p_v=voice_tb[v];if(p_v.second)
|
H A D | break-1.js | 8 for(n=1;n<a.length;n++){b=a[n];c=b.match(/(\d+)([a-z]?)(:\d+\/\d+)?/) 20 for(i=0;i<cfmt.break.length;i++){brk=cfmt.break[i];m=brk.m
|
H A D | capo-1.js | 24 for(i=0;i<a.length;i++){if(a[i]=="capo_="){v=Number(a[++i])
|
H A D | chord-1.js | 11 i=ch.length 15 for(i=0;i<ch.length;i+=2){v=abc2svg.letmid[ch[i]] 39 n=ch.length 54 for(i=0;i<cfmt.chord.names[k].length;i++){s=cfmt.chord.names[k][i] 58 vch={v:voice_tb.length,id:"_chord",time:0,sym:{type:C.REST,time:0},instr:cfmt.chord.prog||0,vol:cfmt.chord.vol||.8} 79 for(i=0;i<s.a_gch.length;i++){gch=s.a_gch[i]
|
H A D | chordnames-1.js | 6 if(s.a_gch&&cfmt.chordnames){for(ix=0;ix<s.a_gch.length;ix++){gch=s.a_gch[ix] 19 for(i=0;i<parm.length;i++)
|
H A D | clair-1.js | 11 for(i=0;i<hl.length;i++) 27 break}}}}else if(s.k_a_acc.length){for(i=0;i<s.k_a_acc.length;i++){var acc=s.k_a_acc[i];j=sc[(acc.pit+3)%7];a_tb[j]=acc.acc;a_tb[j+12]=acc.acc}}},new_clef:function(s){switch(s.clef_type){case't':s.clef_line=3;s.clefpit=-2;s.clef_name="cl4" 115 for(v=0;v<voice_tb.length;v++){p_v=voice_tb[v] 129 for(v=0;v<voice_tb.length;v++){p_v=voice_tb[v] 136 for(i=0;i<a.length;i++){if(a[i]=="clair="){curvoice.clair=a[i+1]
|
H A D | clip-1.js | 18 if(a.length!=3){this.syntax(1,this.errs.bad_val,"%%clip") 62 for(v=0;v<voice_tb.length;v++){p_voice=voice_tb[v] 74 for(v=0;v<voice_tb.length;v++){p_voice=voice_tb[v]
|
H A D | combine-1.js | 27 Array.prototype.push.apply(s.notes,s2.notes);s.nhd=nhd=s.notes.length-1;s.notes.sort(abc2svg.pitcmp) 30 s.nhd=nhd=s.notes.length-1} 57 function tie_repl(s){var s1=s.tie_s,i=delsym.length 97 for(i=0;i<a.length;i++){if(a[i]=="combine="){curvoice.combine=a[i+1]
|
H A D | diag-1.js | 10 for(i=0;i<ns.length;i++){for(j=0;j<ms.length;j++){d=ns[i]+ms[j];decos[d]="3 "+d+" 40 0 0"}} 11 for(j=0;j<ms.length;j++){d="F♯"+ms[j] 367 for(i=0;i<s.a_gch.length;i++){gch=s.a_gch[i]
|
H A D | equalbars-1.js | 21 bars[bars.length-1][0]=s 25 t+=s.dur;n=bars.length
|
H A D | gamelan-1.js | 73 if(s.sls){for(i=0;i<s.sls.length;i++) 90 if(s.a_dd){for(i=0;i<s.a_dd.length;i++){if(s.a_dd[i].glyph=="stc"){abc.deco_cnv(["gstc"],s) 92 for(v=0;v<voice_tb.length;v++)
|
H A D | grid-1.js | 10 for(i=0;i<chords.length;i++){ch=chords[i] 13 if(ch.length==0) 15 if(ch.length==1){pch=ch[0] 17 if(ch.length==2){ch[2]=ch[1];ch[1]=null;pch=ch[2] 19 if(ch.length==3){pch=ch[2] 23 function build_cell(cell,x,y,yl,hr){if(cell.length>1){abc.out_svg(abc2svg.grid.pl) 35 if(cell.length>=3){if(cell[3]){abc.out_svg(abc2svg.grid.pl) 46 for(i=0;i<grid.ls.length;i++){l=grid.ls[i] 57 nc=cells.length%6==0?6:8 58 if(nc>cells.length) [all...] |
H A D | grid2-1.js | 6 for(v=0;v<voice_tb.length;v++){p_v=voice_tb[v] 22 for(ix=0;ix<s.a_gch.length;ix++){gch=s.a_gch[ix]
|
H A D | grid3-1.js | 13 if(cell.length>1){line=path+ 23 if(cell.length>=3){if(cell[3]){line+=path+ 101 if(cells[nr][i].length) 111 if(cl.length==2){cl[2]=cl[1] 142 if(t){p_vc={id:"grid3",v:vt.length,time:0,pos:{gst:0},scale:1,st:0,second:true,sls:[]} 151 if(ln[ln.length-1]!='|') 164 if(!cs.length) 167 dt=(s.time-ntim)/cs.length 169 for(i=0;i<cs.length;i++){if((cs[i]!='.'&&cs[i]!='-')||!s3){while(ss.time<ntim)
|
H A D | jazzchord-1.js | 8 for(ix=0;ix<s.a_gch.length;ix++){gch=s.a_gch[ix] 46 for(cmd=0;cmd<parm.length;cmd++){k=parm[cmd].split('=') 47 if(k.length==2){abc2svg.jazzchord.rep[k[0]]=k[1]
|
H A D | jianpu-1.js | 68 if(s.sls){for(i=0;i<s.sls.length;i++) 82 if(note.sls){for(i=0;i<note.sls.length;i++) 88 if(s.a_dd){for(i=0;i<s.a_dd.length;i++){if(s.a_dd[i].glyph=="stc"){abc.deco_cnv(["gstc"],s) 91 for(v=0;v<voice_tb.length;v++)
|
H A D | mdnn-1.js | 6 var to=Object(target);for(var index=1;index<arguments.length;index++){var nextSource=arguments[index];if(nextSource!==null&&nextSource!==undefined){for(var nextKey in nextSource){if(Object.prototype.hasOwnProperty.call(nextSource,nextKey)){to[nextKey]=nextSource[nextKey]}}}} 54 if(s.sls){for(i=0;i<s.sls.length;i++) 56 if(note.sls){for(i=0;i<note.sls.length;i++)
|
H A D | page-1.js | 17 for(i=0;i<str.length;i++){c=str[i] 133 if(page.header){l=abc.get_font_style().length 146 if(page.footer){l=abc.get_font_style().length 162 function blkcpy(page){while(page.blk.length)
|