wait-on-lib
wait-on-lib copied to clipboard
Does it really have to be tied with IR?
Hi,
I really want to use this package for future development, but with IR library becoming slowly inactive I'm looking more towards Flow-Router. Is it really necessary to have tight IR integration? Can't we use some template helper instead of waitOn? Ex:
Template._someTemplate.helpers({
isJSLoaded: function(){
return waitOnLib.ready(['hugeJSLib', 'anotherHugeLib']);
}
})