Skip to content

Commit 4beb8dc

Browse files
reyouskipjack
authored andcommitted
docs(concepts): link Function.prototype.apply reference (#1825)
Added Mozilla Docs link for Function.prototype.apply text. It has been mentioned above, but would good to have on this place as well.
1 parent 6d1cecf commit 4beb8dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/concepts/plugins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ConsoleLogOnBuildWebpackPlugin.prototype.apply = function(compiler) {
3333
};
3434
```
3535

36-
T> As a clever JavaScript developer you may remember the `Function.prototype.apply` method. Because of this method you can pass any function as plugin (`this` will point to the `compiler`). You can use this style to inline custom plugins in your configuration.
36+
T> As a clever JavaScript developer you may remember the [`Function.prototype.apply`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply) method. Because of this method you can pass any function as plugin (`this` will point to the `compiler`). You can use this style to inline custom plugins in your configuration.
3737

3838

3939
## Usage

0 commit comments

Comments
 (0)