ember-cli-pdf-object
Version:
Adds PDFObject component to your Ember app. It is designed to work well with the way we build Ember apps, and follows idiomatic patterns.
17 lines (13 loc) • 370 B
JavaScript
/* jshint node: true */
;
module.exports = {
name: 'ember-cli-pdf-object',
included: function(app) {
this._super.included.apply(this, arguments);
app.import(app.bowerDirectory + '/pdfobject/pdfobject.js');
app.import('vendor/ember-cli-pdf-object/shim.js', {
type: 'vendor',
exports: { 'pdfobject': ['default'] }
});
}
};