remove state arg from pre and post plugin hooks

This commit is contained in:
Sebastian McKenzie 2015-11-03 01:19:52 +00:00
parent e62a00df50
commit 336be752f8

View File

@ -466,7 +466,7 @@ export default class File extends Store {
for (let pass of (this.pluginPasses: Array<PluginPass>)) {
let plugin = pass.plugin;
let fn = plugin[key];
if (fn) fn.call(pass, this, pass);
if (fn) fn.call(pass, this);
}
}