Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

ember-handy-globals

Adds some globals to your Ember.js App, for easier developing!

Installation

ember install ember-handy-globals

Usage

Open the browser console and start using it!

Easy object picking

  • App.lookup('service:some-service')
  • App.service('some-service')
  • App.controller('some.route')
  • App.route('some.route')

Current Context

Grabs the current active the objects of the current active route

  • App.ctx.route
  • App.ctx.controller
  • App.ctx.model

Contributing

Have any ideas? please open a PR or file an issue.

License

This project is licensed under the MIT License.