You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't extend this. My framework uses the qwery selector engine, so I would like to change this method in order to use my own engine instead.
So, how could I best extend Aja?
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29824283-extending-embedding-aja?utm_campaign=plugin&utm_content=tracker%2F6332594&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F6332594&utm_medium=issues&utm_source=github).
The text was updated successfully, but these errors were encountered:
The best would be that we could configure aja in order to define the way the selection is made, something like :
aja.querySelectorAll=(selector)=>$(selector);
and inside the into method :
into : function(selector){return_chain.call(this,'into',selector,validators.selector,function(selector){if(typeofselector==='string'){if(typeofaja.querySelectorAll==='function'){returnaja.querySelectorAll(selector);}returndocument.querySelectorAll(selector);}if(selectorinstanceofHTMLElement){return[selector];}});}
But I don't have the time to make the implementation right now, it could be achieved for the next release.
I am working on a tiny meta-framework that I use throughout my application. One of it's features i want to improve is AJAX.
Aja seems a great choice, however:
https://github.com/krampstudio/aja.js/blob/master/src/aja.js#L254-L263
I can't extend this. My framework uses the
qwery
selector engine, so I would like to change this method in order to use my own engine instead.So, how could I best extend Aja?
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29824283-extending-embedding-aja?utm_campaign=plugin&utm_content=tracker%2F6332594&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F6332594&utm_medium=issues&utm_source=github).The text was updated successfully, but these errors were encountered: