UNPKG

ember-computed-size

Version:

Need to have some properties on your views with the current width and height of their main element? Here is the mixin which does this for you.

21 lines (16 loc) 714 B
/* global require, module */ var EmberAddon = require('ember-cli/lib/broccoli/ember-addon'); var app = new EmberAddon(); // Use `app.import` to add additional libraries to the generated // output files. // // If you need to use different assets in different // environments, specify an object as the first parameter. That // object's keys should be the environment name and the values // should be the asset to use in that environment. // // If the library that you are including contains AMD or ES6 // modules that you would like to import into your application // please specify an object with the list of modules as keys // along with the exports of each module as its value. module.exports = app.toTree();