Fix typo in BuildPluginDefinition name

This commit is contained in:
David Glasser
2015-05-14 13:22:26 -07:00
parent 58ff327405
commit ff40c33af6
2 changed files with 4 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ var files = require('./files.js');
var buildmessage = require('./buildmessage.js');
var _ = require('underscore');
exports.BuildPluginDefintion = function (options, factoryFunction) {
exports.BuildPluginDefinition = function (options, factoryFunction) {
var self = this;
self.id = options.id;
self.isopack = options.isopack;
@@ -14,7 +14,7 @@ exports.BuildPluginDefintion = function (options, factoryFunction) {
self.buildPluginClass = options.buildPluginClass;
self.factoryFunction = factoryFunction;
};
_.extend(exports.BuildPluginDefintion.prototype, {
_.extend(exports.BuildPluginDefinition.prototype, {
instantiatePlugin: function () {
var self = this;
// XXX BBP proper error handling --- this is running user-supplied plugin

View File

@@ -13,7 +13,7 @@ var packageMapModule = require('./package-map.js');
var colonConverter = require('./colon-converter.js');
var compilerPluginModule = require('./compiler-plugin.js');
var linterPluginModule = require('./linter-plugin.js');
var BuildPluginDefintion = require('./build-plugin.js').BuildPluginDefintion;
var BuildPluginDefinition = require('./build-plugin.js').BuildPluginDefinition;
var Future = require('fibers/future');
var Console = require('./console.js').Console;
var Profile = require('./profile.js').Profile;
@@ -661,7 +661,7 @@ _.extend(Isopack.prototype, {
// We're finally done validating! Save the processor plugin, and mark
// all its extensions as used.
self.sourceProcessors[type][processorPluginId] =
new BuildPluginDefintion({
new BuildPluginDefinition({
id: processorPluginId,
isopack: self,
extensions: options.extensions,