I’m leaving this here because there are a lot of devs around, and I believe it might be helpful for some. I am in the process of developing my new plugin which heavily relies on JS, so I wanted to use the power of filters and actions WordPress has, in my JS.
As a result, I’ve written this small, quite simple, but (to me) very useful script.
Usage is explained in the readme, let me know if something is unclear and feel free to use and abuse it.
it is very nice idea… we will play with this…