Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
Ember.run(function() {
var container = Notify.Container.create({});
parent = Ember.ContainerView.create({
childViews: [container]
});
parent.appendTo(App.rootElement);
view = container.info('Hello from another container');
});
Ember.run(function() {
notifyView: function() {
var notify = this.get('notify');
Ember.assert("You must provide a notify property that is an instance of NotifyContainer to {{ember-notify}}", Notify.Container.detectInstance(notify));
return notify;
}.property('notify')
});