wait-on-lib icon indicating copy to clipboard operation
wait-on-lib copied to clipboard

Does it really have to be tied with IR?

Open v3rron opened this issue 10 years ago • 0 comments

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']);
  }
})

v3rron avatar Sep 10 '15 20:09 v3rron