Skip to content

Instantly share code, notes, and snippets.

@lifeart
Created July 7, 2019 11:34
Show Gist options
  • Save lifeart/fcdc59e2aa6a3c78457fecd57e578aa9 to your computer and use it in GitHub Desktop.
Save lifeart/fcdc59e2aa6a3c78457fecd57e578aa9 to your computer and use it in GitHub Desktop.
Accessing the Global App Object in an Ember CLI App
const myApp = window.Ember.Application.byName('myApp').__container;
// https://emberigniter.com/accessing-global-object-in-ember-cli-app/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment