'use strict';
var Plugin = require('./plugin');
var relativeRequire = require('process-relative-require');
function TemplatePlugin () {
this.type = 'template';
this._superConstructor.apply(this, arguments);
}
TemplatePlugin.prototype = Object.create(Plugin.prototype);
TemplatePlugin.prototype.constructor = TemplatePlugin;
TemplatePlugin.prototype._superConstructor = Plugin;
TemplatePlugin.prototype.toTree = function(tree) {
return relativeRequire(this.name).call(null, tree, {
extensions: this.ext,
module: true
});
};
module.exports = TemplatePlugin;
# |
Change |
User |
Description |
Committed |
|
#1
|
23539 |
jenbottom |
Adding the basic code for ember test appk, created with 'ember new' command |
|
|