Merge pull request #529 from plaxdan/master

JsonpExportMainTemplatePlugin has no method 'applyPluginsWaterfall'
This commit is contained in:
Tobias Koppers 2014-10-13 08:25:43 +02:00
commit 10c45eb34e
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ function JsonpExportMainTemplatePlugin(name) {
module.exports = JsonpExportMainTemplatePlugin; module.exports = JsonpExportMainTemplatePlugin;
JsonpExportMainTemplatePlugin.prototype.apply = function(mainTemplate) { JsonpExportMainTemplatePlugin.prototype.apply = function(mainTemplate) {
mainTemplate.plugin("render", function(source, chunk, hash) { mainTemplate.plugin("render", function(source, chunk, hash) {
var name = this.applyPluginsWaterfall("asset-path", this.name || "", { var name = mainTemplate.applyPluginsWaterfall("asset-path", this.name || "", {
hash: hash, hash: hash,
chunk: chunk chunk: chunk
}); });