particle-iot/ember-getowner-polyfill

Name: ember-getowner-polyfill

Owner: Particle

Description: null

Forked from: rwjblue/ember-getowner-polyfill

Created: 2016-03-03 01:32:45.0

Updated: 2016-03-03 01:32:45.0

Pushed: 2018-01-03 18:26:02.0

Homepage: null

Size: 22

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ember-getowner-polyfill

This provides a polyfill for the Ember.getOwner feature added in Ember 2.3.

Installation
r install ember-getowner-polyfill
Usage
rt getOwner from 'ember-getowner-polyfill';

rt default Ember.Service.extend({
meMethod() {
let owner = getOwner(this);
// do stuff with owner


Documentation

The returned owner object should support all of the methods of the ContainerProxyMixin and RegistryProxyMixin.

Compatibility

This addon is tested against quite a few past Ember versions. Check config/ember-try.js for the current list, but the list of supported Ember versions at the time of authoring was:

Addon Maintenance
Installation
Running
Running Tests
Building

For more information on using ember-cli, visit http://www.ember-cli.com/.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.