ember.js - Facebook Comments with Ember Views in Subroute -


i trying add facebook comment plugin 1 of subroutes, problem is shown when refresh page. navigate somewhere else (= view in added snippet removed) gone. meaning when navigate same route, facebook plugin not reinitialized.

is there way prevent being destroyed or maybe "fb.init()" on route activation?

if you're using xfbml can call

fb.xfbml.parse(document.getelementbyid('foo'));

or call without parameters, on entire page.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -