Closed patocallaghan closed 7 years ago
Thank you @patocallaghan. Sorry for taking so long to come back to you.
In the first place I did not included such options
argument to FBInit because it is automatically invoked by any other service function: for example, see api here https://github.com/pitchtarget/ember-cli-facebook-js-sdk/blob/master/addon/services/fb.js#L81
Anyway once initialized the init is not re-done anyway, so if you will to explicitly call the FBInit with options I think it is OK.
We've just updated this addon from 0.0.4 to 1.0.8 and noticed the ability to pass options to your init was missing.
Currently
FBInit
doesn't take any options so you cannot pass it alocale
orappId
to use. For instance, where we use this addon, we never know at build-time whatappId
to use. Instead, at run time, based on various criteria we determine which one to use..gitignore
to ignore the most common ember-cli build files