From 0add06380f8bd153b7812efe7dc63a9f9be10be0 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 14 Sep 2016 22:51:00 +0200 Subject: upgrade fullcalendar to version 3 --- library/fullcalendar/CONTRIBUTING.txt | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'library/fullcalendar/CONTRIBUTING.txt') diff --git a/library/fullcalendar/CONTRIBUTING.txt b/library/fullcalendar/CONTRIBUTING.txt index 5c6dce4ac..74084517b 100644 --- a/library/fullcalendar/CONTRIBUTING.txt +++ b/library/fullcalendar/CONTRIBUTING.txt @@ -21,9 +21,9 @@ Furthermore, each new feature should be designed as robustly as possible and be In the description of your [Pull Request][Using Pull Requests], please include recreation steps for the bug as well as a [JSFiddle/JSBin] demo. Communicating the buggy behavior is a requirement before a merge can happen. -## Contributing Languages +## Contributing Locales -Please edit the original files in the `lang/` directory. DO NOT edit anything in the `dist/` directory. The build system will responsible for merging FullCalendar's `lang/` data with the [MomentJS locale data]. +Please edit the original files in the `locale/` directory. DO NOT edit anything in the `dist/` directory. The build system will responsible for merging FullCalendar's `locale/` data with the [MomentJS locale data]. ## Other Ways to Contribute @@ -35,18 +35,18 @@ Please edit the original files in the `lang/` directory. DO NOT edit anything in You will need [Git][git], [Node][node], and NPM installed. For clarification, please view the [jQuery readme][jq-readme], which requires a similar setup. -Also, you will need the [grunt-cli][grunt-cli] and [bower][bower] packages installed globally (`-g`) on your system: +Also, you will need the [gulp-cli][gulp-cli] package installed globally (`-g`) on your system: - npm install -g grunt-cli bower + npm install -g gulp-cli Then, clone FullCalendar's git repo: git clone git://github.com/fullcalendar/fullcalendar.git -Enter the directory and install FullCalendar's development dependencies: +Enter the directory and install FullCalendar's dependencies: cd fullcalendar - ./build/init.sh + npm install ## What to edit @@ -58,19 +58,19 @@ When modifying files, please do not edit the generated or minified files in the After you make code changes, you'll want to compile the JS/CSS so that it can be previewed from the tests and demos. You can either manually rebuild each time you make a change: - grunt dev + gulp dev Or, you can run a script that automatically rebuilds whenever you save a source file: - ./build/watch.sh + gulp watch When you are finished, run the following command to write the distributable files into the `./dist/` directory: - grunt + gulp dist If you want to clean up the generated files, run: - grunt clean + gulp clean ## Style Guide @@ -103,14 +103,14 @@ Notes about whitespace: Run the command line tool to automatically check your style: - grunt check + gulp lint ## Before Submitting your Code If you have edited code (including **tests** and **translations**) and would like to submit a pull request, please make sure you have done the following: -1. Conformed to the style guide (successfully run `grunt check`) +1. Conformed to the style guide (successfully run `gulp lint`) 2. Written automated tests. View the [Automated Test Readme] @@ -121,8 +121,7 @@ If you have edited code (including **tests** and **translations**) and would lik [MomentJS locale data]: https://github.com/moment/moment/tree/develop/locale [git]: http://git-scm.com/ [node]: http://nodejs.org/ -[grunt-cli]: http://gruntjs.com/getting-started#installing-the-cli -[bower]: http://bower.io/ +[gulp-cli]: https://github.com/gulpjs/gulp/blob/master/docs/getting-started.md [jq-readme]: https://github.com/jquery/jquery/blob/master/README.md#what-you-need-to-build-your-own-jquery [Google JavaScript Style Guide]: http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml [Automated Test Readme]: https://github.com/fullcalendar/fullcalendar/wiki/Automated-Tests -- cgit v1.2.3