From 49d384b32f54095bf9f2c803193378765bc9be1c Mon Sep 17 00:00:00 2001 From: Robert Martin Date: Mon, 1 Jan 2018 20:10:53 -0500 Subject: [PATCH 1/2] Update CONTRIBUTING.md javascript => JavaScript --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fbe7057a..69ec5eb2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -101,8 +101,8 @@ Happy coding! ### Using RollupJS -The source javascript code for Leaflet is a few dozen files, in the `src/` directory. -But normally, Leaflet is loaded in a web browser as just one javascript file. +The source JavaScript code for Leaflet is a few dozen files, in the `src/` directory. +But normally, Leaflet is loaded in a web browser as just one JavaScript file. In order to create this file, run `npm run rollup` or `yarn run rollup`. From 45ed38433c8c5b2950e2c548c7f8d038f87622c9 Mon Sep 17 00:00:00 2001 From: Robert Martin Date: Mon, 1 Jan 2018 20:13:15 -0500 Subject: [PATCH 2/2] Update CONTRIBUTING.md Fix typo in Yarn `watch` command --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 69ec5eb2..6733d928 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -115,7 +115,7 @@ When developing (or bugfixing) core Leaflet functionalities, it's common to use the webpages in the `debug/` directory, and run the unit tests (`spec/index.html`) in a graphical browser. This requires regenerating the bundled files quickly. -In order to do so, run `npm run watch` or `yarn run rollup`. This will keep +In order to do so, run `npm run watch` or `yarn run watch`. This will keep on rebuilding the bundles whenever any source file changes. ## Running the Tests