I have web app
and Ember app
in iframe. I want to import custom library from web app
to ember app
like global variable. Library look like object with function:
var helpers = {
helper1: function() {},
helper2: function() {}
};
Library working with sockets and will the same for both applications.
I wrote:
app.import("./../../../public/scripts/js-helpers.js"); //file located in web app
I can't access variable helpers
in project and ember-cli copy folder public
into their working folder. Sorry if question is stupid, I can't understand ember-cli
import principles.