Merge pull request #4770 from haoliangyu/chore/pluginGuide

fix a broken link at PLUGIN-GUIDE.md
This commit is contained in:
Yohan Boniface 2016-07-30 22:09:47 +02:00 committed by GitHub
commit 9720d769a4

View File

@ -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) {