Lines Matching defs:jazzchord
4 //abc2svg-jazzchord.js-Adds jazz chord styling to chord symbols
5 abc2svg.jazzchord={gch_build:function(of,s){var gch,i,ix,t
6 if(!this.cfmt().jazzchord){of(s)
15 if(abc2svg.jazzchord.rep){t=t.replace(abc2svg.jazzchord.reg,function(x){return abc2svg.jazzchord.rep[x]})}
42 if(cmd=="jazzchord"){this.cfmt().jazzchord=this.get_bool(parm)
44 abc2svg.jazzchord.rep={}
47 if(k.length==2){abc2svg.jazzchord.rep[k[0]]=k[1]
49 abc2svg.jazzchord.reg=new RegExp(r.join('|'))}
51 of(cmd,parm)},set_hooks:function(abc){abc.gch_build=abc2svg.jazzchord.gch_build.bind(abc,abc.gch_build)
52 abc.set_format=abc2svg.jazzchord.set_fmt.bind(abc,abc.set_format)
62 abc2svg.modules.hooks.push(abc2svg.jazzchord.set_hooks)
63 abc2svg.modules.jazzchord.loaded=true