Merge pull request #4770 from haoliangyu/chore/pluginGuide
fix a broken link at PLUGIN-GUIDE.md
This commit is contained in:
commit
9720d769a4
@ -178,7 +178,7 @@ to ensure that they are published to NPM.
|
||||
|
||||
Module loaders such as [RequireJS](http://requirejs.org/) and [Browserify](http://browserify.org/) implement module systems like AMD (Asynchronous Module Definition) and CommonJS to allow developers to modularize and load their code.
|
||||
|
||||
You can add support for AMD/CommonJS loaders to your Leaflet plugin by following this pattern based on the [Universal Module Definition](https://github.com/umdjs/umd/blob/master/returnExportsGlobal.js)
|
||||
You can add support for AMD/CommonJS loaders to your Leaflet plugin by following this pattern based on the [Universal Module Definition](https://github.com/umdjs/umd/blob/master/templates/returnExportsGlobal.js)
|
||||
|
||||
```js
|
||||
(function (factory, window) {
|
||||
|
Loading…
Reference in New Issue
Block a user