Skip to content

Commit

Permalink
Removing clickquery
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Mar 24, 2024
1 parent ac18489 commit fbfb423
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mozart.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,6 @@ class Component {
return elements.length > 1 ? Array.from(elements) : elements[0];
},

// TODO: Optional clickQuery?
// https://github.com/adamjgrant/clickQuery
// o=function(s){m=this;m.length=0;m.splice=Function;m.t=document.querySelectorAll(s);for(i=0;i<m.t.length;i++)m.push(m.t[i]);return m};r=o.prototype,p=Array.prototype,r.length=0,r.push=p.push,r.splice=p.splice;r.click=function(f){for(i=0,m=this;i<m.t.length;i++){z=m.t[i],z.addEventListener('click',f);}return m};$=function(s){return new o(s)}

get me() { return this.q(); },
register(name) { this.name = name; },
}
Expand Down

0 comments on commit fbfb423

Please sign in to comment.