annotate src/main/webapp/imageServer/resources/js/jquery-ui-1.10.4/README.md @ 203:719475ad0923 iiif_diva

more work on new diva.js in imageServer
author casties
date Fri, 05 Jul 2019 16:05:57 +0200
parents 764f47286679
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
jurzua
parents:
diff changeset
1 # [jQuery UI](http://jqueryui.com/) - Interactions and Widgets for the web
jurzua
parents:
diff changeset
2
jurzua
parents:
diff changeset
3 jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of jQuery. Whether you're building highly interactive web applications, or you just need to add a date picker to a form control, jQuery UI is the perfect choice.
jurzua
parents:
diff changeset
4
jurzua
parents:
diff changeset
5 If you want to use jQuery UI, go to [jqueryui.com](http://jqueryui.com) to get started, [jqueryui.com/demos/](http://jqueryui.com/demos/) for demos, [api.jqueryui.com](http://api.jqueryui.com/) for API documentation, or the [Using jQuery UI Forum](http://forum.jquery.com/using-jquery-ui) for discussions and questions.
jurzua
parents:
diff changeset
6
jurzua
parents:
diff changeset
7 If you want to report a bug/issue, please visit [bugs.jqueryui.com](http://bugs.jqueryui.com).
jurzua
parents:
diff changeset
8
jurzua
parents:
diff changeset
9 If you are interested in helping develop jQuery UI, you are in the right place.
jurzua
parents:
diff changeset
10 To discuss development with team members and the community, visit the [Developing jQuery UI Forum](http://forum.jquery.com/developing-jquery-ui) or [#jqueryui-dev on irc.freenode.net](http://irc.jquery.org/).
jurzua
parents:
diff changeset
11
jurzua
parents:
diff changeset
12
jurzua
parents:
diff changeset
13 ## For contributors
jurzua
parents:
diff changeset
14
jurzua
parents:
diff changeset
15 If you want to help and provide a patch for a bugfix or new feature, please take
jurzua
parents:
diff changeset
16 a few minutes and look at [our Getting Involved guide](http://wiki.jqueryui.com/w/page/35263114/Getting-Involved).
jurzua
parents:
diff changeset
17 In particular check out the [Coding standards](http://wiki.jqueryui.com/w/page/12137737/Coding-standards)
jurzua
parents:
diff changeset
18 and [Commit Message Style Guide](http://wiki.jqueryui.com/w/page/25941597/Commit-Message-Style-Guide).
jurzua
parents:
diff changeset
19
jurzua
parents:
diff changeset
20 In general, fork the project, create a branch for a specific change and send a
jurzua
parents:
diff changeset
21 pull request for that branch. Don't mix unrelated changes. You can use the commit
jurzua
parents:
diff changeset
22 message as the description for the pull request.
jurzua
parents:
diff changeset
23
jurzua
parents:
diff changeset
24
jurzua
parents:
diff changeset
25 ## Running the Unit Tests
jurzua
parents:
diff changeset
26
jurzua
parents:
diff changeset
27 Run the unit tests with a local server that supports PHP. No database is required. Pre-configured php local servers are available for Windows and Mac. Here are some options:
jurzua
parents:
diff changeset
28
jurzua
parents:
diff changeset
29 - Windows: [WAMP download](http://www.wampserver.com/en/)
jurzua
parents:
diff changeset
30 - Mac: [MAMP download](http://www.mamp.info/en/index.html)
jurzua
parents:
diff changeset
31 - Linux: [Setting up LAMP](https://www.linux.com/learn/tutorials/288158-easy-lamp-server-installation)
jurzua
parents:
diff changeset
32 - [Mongoose (most platforms)](http://code.google.com/p/mongoose/)
jurzua
parents:
diff changeset
33
jurzua
parents:
diff changeset
34
jurzua
parents:
diff changeset
35 ## Building jQuery UI
jurzua
parents:
diff changeset
36
jurzua
parents:
diff changeset
37 jQuery UI uses the [Grunt](http://github.com/gruntjs/grunt) build system.
jurzua
parents:
diff changeset
38
jurzua
parents:
diff changeset
39 To build jQuery UI, you must have [node.js](http://nodejs.org/) installed and then run the following commands:
jurzua
parents:
diff changeset
40
jurzua
parents:
diff changeset
41 ```sh
jurzua
parents:
diff changeset
42
jurzua
parents:
diff changeset
43 # Install the Grunt CLI
jurzua
parents:
diff changeset
44 npm install -g grunt-cli
jurzua
parents:
diff changeset
45
jurzua
parents:
diff changeset
46 # Clone the jQuery UI git repo
jurzua
parents:
diff changeset
47 git clone git://github.com/jquery/jquery-ui.git
jurzua
parents:
diff changeset
48 cd jquery-ui
jurzua
parents:
diff changeset
49
jurzua
parents:
diff changeset
50 # Install the node module dependencies
jurzua
parents:
diff changeset
51 npm install
jurzua
parents:
diff changeset
52
jurzua
parents:
diff changeset
53 # Run the build task
jurzua
parents:
diff changeset
54 grunt build
jurzua
parents:
diff changeset
55
jurzua
parents:
diff changeset
56 # There are many other tasks that can be run through Grunt.
jurzua
parents:
diff changeset
57 # For a list of all tasks:
jurzua
parents:
diff changeset
58 grunt --help
jurzua
parents:
diff changeset
59 ```
jurzua
parents:
diff changeset
60
jurzua
parents:
diff changeset
61
jurzua
parents:
diff changeset
62 ## For committers
jurzua
parents:
diff changeset
63
jurzua
parents:
diff changeset
64 When looking at pull requests, first check for [proper commit messages](http://wiki.jqueryui.com/w/page/12137724/Bug-Fixing-Guide).
jurzua
parents:
diff changeset
65
jurzua
parents:
diff changeset
66 Do not merge pull requests directly through GitHub's interface.
jurzua
parents:
diff changeset
67 Most pull requests are a single commit; cherry-picking will avoid creating a merge commit.
jurzua
parents:
diff changeset
68 It's also common for contributors to make minor fixes in an additional one or two commits.
jurzua
parents:
diff changeset
69 These should be squashed before landing in master.
jurzua
parents:
diff changeset
70
jurzua
parents:
diff changeset
71 **Make sure the author has a valid name and email address associated with the commit.**
jurzua
parents:
diff changeset
72
jurzua
parents:
diff changeset
73 Fetch the remote first:
jurzua
parents:
diff changeset
74
jurzua
parents:
diff changeset
75 git fetch [their-fork.git] [their-branch]
jurzua
parents:
diff changeset
76
jurzua
parents:
diff changeset
77 Then cherry-pick the commit(s):
jurzua
parents:
diff changeset
78
jurzua
parents:
diff changeset
79 git cherry-pick [sha-of-commit]
jurzua
parents:
diff changeset
80
jurzua
parents:
diff changeset
81 If you need to edit the commit message:
jurzua
parents:
diff changeset
82
jurzua
parents:
diff changeset
83 git cherry-pick -e [sha-of-commit]
jurzua
parents:
diff changeset
84
jurzua
parents:
diff changeset
85 If you need to edit the changes:
jurzua
parents:
diff changeset
86
jurzua
parents:
diff changeset
87 git cherry-pick -n [sha-of-commit]
jurzua
parents:
diff changeset
88 # make changes
jurzua
parents:
diff changeset
89 git commit --author="[author-name-and-email]"
jurzua
parents:
diff changeset
90
jurzua
parents:
diff changeset
91 If it should go to the stable branch, cherry-pick it to stable:
jurzua
parents:
diff changeset
92
jurzua
parents:
diff changeset
93 git checkout 1-8-stable
jurzua
parents:
diff changeset
94 git cherry-pick -x [sha-of-commit-from-master]
jurzua
parents:
diff changeset
95
jurzua
parents:
diff changeset
96 *NOTE: Do not cherry-pick into 1-8-stable until you have pushed the commit from master upstream.*