Skip to content

Commit

Permalink
fix(plugin): return originalMethod return value
Browse files Browse the repository at this point in the history
  • Loading branch information
tlancina committed Feb 16, 2016
1 parent ac5c11b commit 240f0f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/plugins/plugin.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/plugins/plugin.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/plugins/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ export function RequiresPlugin(target: Function, key: string, descriptor: TypedP
pluginWarn(this.name, null, this.name);
return;
}
originalMethod.apply(this, args);
return originalMethod.apply(this, args);
}

return descriptor;
Expand Down

0 comments on commit 240f0f8

Please sign in to comment.