jquery-ui-rails-dox-fork 7.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.gitmodules +3 -0
- data/.travis.yml +2 -0
- data/CONTRIBUTING.txt +30 -0
- data/Gemfile +3 -0
- data/History.md +172 -0
- data/License.txt +2 -0
- data/README.md +311 -0
- data/Rakefile +263 -0
- data/VERSIONS.md +41 -0
- data/app/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_444444_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_555555_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_777620_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_777777_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_cc0000_256x240.png +0 -0
- data/app/assets/images/jquery-ui/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/javascripts/jquery-ui/core.js +15 -0
- data/app/assets/javascripts/jquery-ui/data.js +45 -0
- data/app/assets/javascripts/jquery-ui/disable-selection.js +51 -0
- data/app/assets/javascripts/jquery-ui/effect.all.js +15 -0
- data/app/assets/javascripts/jquery-ui/effect.js +975 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-blind.js +76 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-bounce.js +116 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-clip.js +71 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-drop.js +75 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-explode.js +117 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-fade.js +53 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-fold.js +95 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-highlight.js +63 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-puff.js +49 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-pulsate.js +70 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-scale.js +63 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-shake.js +80 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-size.js +199 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-slide.js +82 -0
- data/app/assets/javascripts/jquery-ui/effects/effect-transfer.js +46 -0
- data/app/assets/javascripts/jquery-ui/focusable.js +89 -0
- data/app/assets/javascripts/jquery-ui/form-reset-mixin.js +83 -0
- data/app/assets/javascripts/jquery-ui/form.js +25 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-af.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar-DZ.js +42 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ar.js +42 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-az.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-be.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-bg.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-bs.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ca.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-cs.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-cy-GB.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-da.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-de-AT.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-de.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-el.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-AU.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-GB.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-en-NZ.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-eo.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-es.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-et.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-eu.js +39 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fa.js +76 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fi.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fo.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CA.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr-CH.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-fr.js +42 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-gl.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-he.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hi.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hr.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hu.js +39 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-hy.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-id.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-is.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-it-CH.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-it.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ja.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ka.js +51 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-kk.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-km.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ko.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ky.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lb.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lt.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-lv.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-mk.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ml.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ms.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nb.js +52 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl-BE.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nl.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-nn.js +52 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-no.js +53 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pl.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt-BR.js +48 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-pt.js +47 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-rm.js +64 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ro.js +43 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ru.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sk.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sl.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sq.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr-SR.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sr.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-sv.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-ta.js +56 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-th.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-tj.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-tr.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-uk.js +41 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-vi.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-CN.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-HK.js +40 -0
- data/app/assets/javascripts/jquery-ui/i18n/datepicker-zh-TW.js +40 -0
- data/app/assets/javascripts/jquery-ui/ie.js +20 -0
- data/app/assets/javascripts/jquery-ui/jquery-patch.js +91 -0
- data/app/assets/javascripts/jquery-ui/jquery-var-for-color.js +24 -0
- data/app/assets/javascripts/jquery-ui/keycode.js +51 -0
- data/app/assets/javascripts/jquery-ui/labels.js +71 -0
- data/app/assets/javascripts/jquery-ui/plugin.js +49 -0
- data/app/assets/javascripts/jquery-ui/position.js +513 -0
- data/app/assets/javascripts/jquery-ui/safe-active-element.js +46 -0
- data/app/assets/javascripts/jquery-ui/safe-blur.js +27 -0
- data/app/assets/javascripts/jquery-ui/scroll-parent.js +50 -0
- data/app/assets/javascripts/jquery-ui/tabbable.js +41 -0
- data/app/assets/javascripts/jquery-ui/unique-id.js +54 -0
- data/app/assets/javascripts/jquery-ui/vendor/jquery-color/jquery.color.js +722 -0
- data/app/assets/javascripts/jquery-ui/version.js +20 -0
- data/app/assets/javascripts/jquery-ui/widget.js +758 -0
- data/app/assets/javascripts/jquery-ui/widgets/accordion.js +627 -0
- data/app/assets/javascripts/jquery-ui/widgets/autocomplete.js +685 -0
- data/app/assets/javascripts/jquery-ui/widgets/button.js +454 -0
- data/app/assets/javascripts/jquery-ui/widgets/checkboxradio.js +294 -0
- data/app/assets/javascripts/jquery-ui/widgets/controlgroup.js +304 -0
- data/app/assets/javascripts/jquery-ui/widgets/datepicker.js +2243 -0
- data/app/assets/javascripts/jquery-ui/widgets/dialog.js +968 -0
- data/app/assets/javascripts/jquery-ui/widgets/draggable.js +1268 -0
- data/app/assets/javascripts/jquery-ui/widgets/droppable.js +508 -0
- data/app/assets/javascripts/jquery-ui/widgets/menu.js +720 -0
- data/app/assets/javascripts/jquery-ui/widgets/mouse.js +241 -0
- data/app/assets/javascripts/jquery-ui/widgets/progressbar.js +184 -0
- data/app/assets/javascripts/jquery-ui/widgets/resizable.js +1225 -0
- data/app/assets/javascripts/jquery-ui/widgets/selectable.js +321 -0
- data/app/assets/javascripts/jquery-ui/widgets/selectmenu.js +702 -0
- data/app/assets/javascripts/jquery-ui/widgets/slider.js +760 -0
- data/app/assets/javascripts/jquery-ui/widgets/sortable.js +1622 -0
- data/app/assets/javascripts/jquery-ui/widgets/spinner.js +588 -0
- data/app/assets/javascripts/jquery-ui/widgets/tabs.js +931 -0
- data/app/assets/javascripts/jquery-ui/widgets/tooltip.js +533 -0
- data/app/assets/javascripts/jquery-ui.js +57 -0
- data/app/assets/stylesheets/jquery-ui/accordion.css +26 -0
- data/app/assets/stylesheets/jquery-ui/all.css +14 -0
- data/app/assets/stylesheets/jquery-ui/autocomplete.css +19 -0
- data/app/assets/stylesheets/jquery-ui/base.css +32 -0
- data/app/assets/stylesheets/jquery-ui/button.css +85 -0
- data/app/assets/stylesheets/jquery-ui/checkboxradio.css +37 -0
- data/app/assets/stylesheets/jquery-ui/controlgroup.css +68 -0
- data/app/assets/stylesheets/jquery-ui/core.css +100 -0
- data/app/assets/stylesheets/jquery-ui/datepicker.css +188 -0
- data/app/assets/stylesheets/jquery-ui/dialog.css +104 -0
- data/app/assets/stylesheets/jquery-ui/draggable.css +15 -0
- data/app/assets/stylesheets/jquery-ui/menu.css +67 -0
- data/app/assets/stylesheets/jquery-ui/progressbar.css +31 -0
- data/app/assets/stylesheets/jquery-ui/resizable.css +81 -0
- data/app/assets/stylesheets/jquery-ui/selectable.css +20 -0
- data/app/assets/stylesheets/jquery-ui/selectmenu.css +53 -0
- data/app/assets/stylesheets/jquery-ui/slider.css +78 -0
- data/app/assets/stylesheets/jquery-ui/sortable.css +15 -0
- data/app/assets/stylesheets/jquery-ui/spinner.css +55 -0
- data/app/assets/stylesheets/jquery-ui/tabs.css +54 -0
- data/app/assets/stylesheets/jquery-ui/theme.css.erb +456 -0
- data/app/assets/stylesheets/jquery-ui/tooltip.css +22 -0
- data/app/assets/stylesheets/jquery-ui.css +1 -0
- data/lib/jquery/ui/rails/engine.rb +8 -0
- data/lib/jquery/ui/rails/version.rb +8 -0
- data/lib/jquery/ui/rails.rb +2 -0
- data/lib/jquery-ui-rails.rb +1 -0
- metadata +250 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e2b80501580f9e488293805929a6bf98d6d21b0760b30c0f2ae0b5c3a6644820
|
4
|
+
data.tar.gz: 0c1bc2475b10ef9b96c5f2250724bbd999015a89dd24972ca523f1438b9dec08
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 589fc6e624cf1ae8feb309d83d0abf0c394bfacad21df7b6cbba3bd1bc11d9381ea748663b11583bef5d5095db997ec530dbc96dafc756a29c983d0e65217c6f
|
7
|
+
data.tar.gz: a5c0877209a023d63d5d4330258a26517d1fed29d7d5c7f1f8fe76151cb6c0ede0900b3ffdd498c3abc6c6884a90737a2dcbb825c98c9f6f8209ce9bf1d1ab3a
|
data/.gitignore
ADDED
data/.gitmodules
ADDED
data/.travis.yml
ADDED
data/CONTRIBUTING.txt
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
# Contributing to Doximity
|
2
|
+
|
3
|
+
We welcome contributions to this repository. Feel free to submit issues for bugs you encounter and pull requests for code and documentation contributions.
|
4
|
+
In order to prevent licensing issues, Doximity Inc. (“Doximity”, “we”, “us”) requires all contributors to agree to an Individual Contributor License Agreement (“CLA”), which is reproduced below. By submitting your contributions to us, you agree that you have read and are bound by the CLA. If you do not agree with the CLA, you may not submit contributions.
|
5
|
+
|
6
|
+
## Doximity Individual Contributor License Agreement
|
7
|
+
|
8
|
+
This license is for your protection as a Contributor as well as the protection of Doximity; it does not change your rights to use your own Contributions for any other purpose.
|
9
|
+
|
10
|
+
You accept and agree to the following terms and conditions for Your present and future Contributions submitted to Doximity. Except for the license granted herein to Doximity and recipients of software distributed by Doximity, You reserve all right, titles, and interests in and to Your Contributions.
|
11
|
+
|
12
|
+
### Definitions
|
13
|
+
|
14
|
+
"You" (or "Your" or the “Contributor”) shall mean the copyright owner or legal entity authorized by the copyright owner that is making this Agreement with Doximity. For legal entities, the entity making a Contribution and all other entities that control, are controlled by, or are under common control with that entity are considered to be a single Contributor. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
|
15
|
+
|
16
|
+
1. "Contribution" shall mean the code, documentation, or any original work of authorship, including any modifications or additions to an existing work, that is intentionally submitted by You to Doximity for inclusion in, or documentation of, any of the products owned or managed by Doximity (the "Work"). For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to Doximity or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, Doximity for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by You as "Not a Contribution."
|
17
|
+
|
18
|
+
2. Grant of Copyright License. Subject to the terms and conditions of this Agreement, You hereby grant to Doximity and to recipients of software distributed by Doximity a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Your Contributions and such derivative works.
|
19
|
+
|
20
|
+
3. Grant of Patent License. Subject to the terms and conditions of this Agreement, You hereby grant to Doximity and to recipients of software distributed by Doximity a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by You that are necessarily infringed by Your Contribution(s) alone or by a combination of Your Contribution(s) with the Work to which such Contribution(s) was submitted. If any entity institutes patent litigation against You or any other entity (including a cross-claim or counterclaim in a lawsuit) alleging that your Contribution, or the Work to which you have contributed, constitutes a direct or contributory patent infringement, then any patent licenses granted to that entity under this Agreement for that Contribution or Work shall terminate as of the date such litigation is filed.
|
21
|
+
|
22
|
+
4. You represent that You are legally entitled to grant the above license. If your employer(s) has rights to intellectual property that you create that includes your Contributions, you represent that you have received permission to make Contributions on behalf of that employer, that your employer has waived such rights for your Contributions to Doximity, or that your employer has executed a separate Corporate CLA with Doximity.
|
23
|
+
|
24
|
+
5. You represent that each of Your Contributions is Your original creation (see section 7 for submissions on behalf of others). You represent that Your Contribution submissions include complete details of any third-party license or other restriction (including, but not limited to, related patents and trademarks) of which you are personally aware and which are associated with any part of Your Contributions.
|
25
|
+
|
26
|
+
6. You are not expected to provide support for Your Contributions, except to the extent You desire to provide support. You may provide support for free, for a fee, or not at all. Unless required by applicable law or agreed to in writing, You provide Your Contributions on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE.
|
27
|
+
|
28
|
+
7. Should You wish to submit work that is not Your original creation, You may submit it to Doximity separately from any Contribution, identifying the complete details of its source and of any license or other restriction (including, but not limited to, related patents, trademarks, and license agreements) of which you are personally aware, and conspicuously marking the work as "Submitted on behalf of a third-party: [named here]".
|
29
|
+
|
30
|
+
8. You agree to notify Doximity of any facts or circumstances of which you become aware that would make these representations inaccurate in any respect.
|
data/Gemfile
ADDED
data/History.md
ADDED
@@ -0,0 +1,172 @@
|
|
1
|
+
# master
|
2
|
+
|
3
|
+
# 7.0.0
|
4
|
+
|
5
|
+
* Update to jQuery UI 1.13.0
|
6
|
+
|
7
|
+
# 6.0.1
|
8
|
+
|
9
|
+
* Fix "define is not defined" issue in `core.js`
|
10
|
+
|
11
|
+
# 6.0.0
|
12
|
+
|
13
|
+
* Update to jQuery UI 1.12.1
|
14
|
+
* The widget files moved. Change e.g. `require jquery-ui/sortable` to `require jquery-ui/widgets/sortable`
|
15
|
+
|
16
|
+
# 5.0.5
|
17
|
+
|
18
|
+
* Update to jQuery UI 1.11.4
|
19
|
+
|
20
|
+
# 5.0.4
|
21
|
+
|
22
|
+
* Update to jQuery UI 1.11.3
|
23
|
+
|
24
|
+
# 5.0.3
|
25
|
+
|
26
|
+
* Speed up: Only use .erb extension if `<%= %>` tags are used
|
27
|
+
|
28
|
+
# 5.0.2
|
29
|
+
|
30
|
+
* Update to jQuery UI 1.11.2
|
31
|
+
|
32
|
+
# 5.0.1
|
33
|
+
|
34
|
+
* Update to jQuery UI 1.11.1
|
35
|
+
|
36
|
+
# 5.0.0
|
37
|
+
|
38
|
+
* Update to jQuery UI 1.11.0
|
39
|
+
* Rename `jquery.ui.*.{js,css}` to `jquery-ui/*.{js,css}`
|
40
|
+
* Add jquery-ui.js and jquery-ui.css assets
|
41
|
+
|
42
|
+
# 4.2.1
|
43
|
+
|
44
|
+
* Update to jQuery UI 1.10.4
|
45
|
+
|
46
|
+
# 4.2.0
|
47
|
+
|
48
|
+
* Bump Rails dependency to `>=3.2.16`
|
49
|
+
* Re-release 4.1.1 as 4.2.0
|
50
|
+
|
51
|
+
# 4.1.2
|
52
|
+
|
53
|
+
* Re-release 4.1.0 as 4.1.2; last version compatible with Rails 3.1
|
54
|
+
|
55
|
+
# 4.1.1
|
56
|
+
|
57
|
+
* Declare image dependencies using `//= depend_on_asset`, to stop the
|
58
|
+
Sprockets cache from going stale.
|
59
|
+
|
60
|
+
# 4.1.0
|
61
|
+
|
62
|
+
* Add Jquery::Ui::Rails::JQUERY_UI_VERSION constant
|
63
|
+
|
64
|
+
# 4.0.5
|
65
|
+
|
66
|
+
* Remove unused dependency on the `jquery-rails` gem. If you get an error
|
67
|
+
"couldn't find file 'jquery'", you may need to explicitly add `gem
|
68
|
+
'jquery-rails'` to your Gemfile.
|
69
|
+
|
70
|
+
# 4.0.4
|
71
|
+
|
72
|
+
* Include license in gemspec
|
73
|
+
|
74
|
+
# 4.0.3
|
75
|
+
|
76
|
+
* Upgrade to jQuery UI 1.10.3
|
77
|
+
|
78
|
+
# 4.0.2
|
79
|
+
|
80
|
+
* Rails 4 compatibility
|
81
|
+
|
82
|
+
# 4.0.1
|
83
|
+
|
84
|
+
* Add missing animated-overlay.gif asset and fix image path
|
85
|
+
|
86
|
+
# 4.0.0
|
87
|
+
|
88
|
+
* Upgrade to jQuery UI 1.10.0
|
89
|
+
|
90
|
+
* No more automatic `//= require jquery`
|
91
|
+
([#30](https://github.com/jquery-ui-rails/jquery-ui-rails/pull/30), original
|
92
|
+
discussion at [#17](https://github.com/jquery-ui-rails/jquery-ui-rails/pull/17)).
|
93
|
+
This means that you have to add `//= require jquery` to your application.js
|
94
|
+
file before you require any of the jQuery UI JavaScript modules.
|
95
|
+
|
96
|
+
# 3.0.1
|
97
|
+
|
98
|
+
* Fix stylesheet dependencies
|
99
|
+
|
100
|
+
# 3.0.0
|
101
|
+
|
102
|
+
* Upgrade to jQuery UI 1.9.2
|
103
|
+
* Switched from storing the map of file dependencies locally to leveraging
|
104
|
+
the grunt build system's .json files for determining file dependencies.
|
105
|
+
This simplifies the maintenance of this wrapper project, and allows us to
|
106
|
+
delete dependencies.js
|
107
|
+
* Renamed jquery.effects.all to jquery.ui.effect.all, to match the effects files
|
108
|
+
renamed in 1.9.2 (see [Renamed all effects files][1])
|
109
|
+
* Changed license to MIT only instead of MIT or GPL, to match jQuery UI's
|
110
|
+
license (see [commit][2])
|
111
|
+
|
112
|
+
[1]: http://jqueryui.com/upgrade-guide/1.9/#renamed-all-effects-files
|
113
|
+
[2]: https://github.com/jquery/jquery-ui/commit/485ca7192ac57d018b8ce4f03e7dec6e694a53b7
|
114
|
+
|
115
|
+
# 2.0.2
|
116
|
+
|
117
|
+
* Upgrade to jQuery UI 1.8.24
|
118
|
+
|
119
|
+
# 2.0.1
|
120
|
+
|
121
|
+
* Add draggable and resizable to the dependencies of dialog (#1)
|
122
|
+
|
123
|
+
# 2.0.0
|
124
|
+
|
125
|
+
* Do not require the main datepicker module from datepicker i18n modules.
|
126
|
+
Fixes Heroku precompilation timeouts. If you are using a datepicker i18n
|
127
|
+
module, be sure to also require jquery.ui.datepicker. (#9)
|
128
|
+
|
129
|
+
# 1.1.1
|
130
|
+
|
131
|
+
* Upgrade to jQuery UI 1.8.23
|
132
|
+
|
133
|
+
# 1.1.0
|
134
|
+
|
135
|
+
* Upgrade to jQuery UI 1.8.22
|
136
|
+
|
137
|
+
# 1.0.0
|
138
|
+
|
139
|
+
* No change. Bumping version to indicate that jquery-ui-rails is considered
|
140
|
+
stable, and that we are following semver.
|
141
|
+
|
142
|
+
# 0.5.0
|
143
|
+
|
144
|
+
* Upgrade to jQuery UI 1.8.21
|
145
|
+
|
146
|
+
# 0.4.1
|
147
|
+
|
148
|
+
* Add jquery.effects.all
|
149
|
+
|
150
|
+
# 0.4.0
|
151
|
+
|
152
|
+
* Upgrade to jQuery UI 1.8.20
|
153
|
+
|
154
|
+
# 0.3.0
|
155
|
+
|
156
|
+
* Upgrade to jQuery UI 1.8.19
|
157
|
+
|
158
|
+
# 0.2.2
|
159
|
+
|
160
|
+
* Protect copyright notices against minification with `/*! ... */`
|
161
|
+
|
162
|
+
# 0.2.1
|
163
|
+
|
164
|
+
* Upgrade to jQuery UI 1.8.18
|
165
|
+
|
166
|
+
# 0.2.0
|
167
|
+
|
168
|
+
* Upgrade to jQuery UI 1.8.17
|
169
|
+
|
170
|
+
# 0.1.0
|
171
|
+
|
172
|
+
* Initial release packaging jQuery UI 1.8.16
|
data/License.txt
ADDED
data/README.md
ADDED
@@ -0,0 +1,311 @@
|
|
1
|
+
# jquery-ui-rails
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.org/jquery-ui-rails/jquery-ui-rails.svg?branch=master)](https://travis-ci.org/jquery-ui-rails/jquery-ui-rails)
|
4
|
+
[![Dependency Status](https://gemnasium.com/jquery-ui-rails/jquery-ui-rails.svg)](https://gemnasium.com/jquery-ui-rails/jquery-ui-rails)
|
5
|
+
|
6
|
+
This gem packages the jQuery UI assets (JavaScripts, stylesheets, and
|
7
|
+
images) for the Rails [asset
|
8
|
+
pipeline](http://guides.rubyonrails.org/asset_pipeline.html), so you never have
|
9
|
+
to download a custom package through the [web
|
10
|
+
interface](http://jqueryui.com/download) again.
|
11
|
+
|
12
|
+
See [VERSIONS.md](VERSIONS.md) to see which versions of jquery-ui-rails bundle
|
13
|
+
which versions of jQuery UI.
|
14
|
+
|
15
|
+
Warning: This gem is incompatible with the `jquery-rails` gem before version
|
16
|
+
3.0.0! Strange things will happen if you use an earlier `jquery-rails`
|
17
|
+
version. Run `bundle list` to ensure that you either aren't using
|
18
|
+
`jquery-rails`, or at least version 3.0.0 of `jquery-rails`.
|
19
|
+
|
20
|
+
## Usage
|
21
|
+
|
22
|
+
In your Gemfile, add:
|
23
|
+
|
24
|
+
```ruby
|
25
|
+
gem 'jquery-ui-rails'
|
26
|
+
```
|
27
|
+
|
28
|
+
## Require Everything
|
29
|
+
|
30
|
+
To require all jQuery UI modules, add the following to your application.js:
|
31
|
+
|
32
|
+
```javascript
|
33
|
+
//= require jquery-ui
|
34
|
+
```
|
35
|
+
|
36
|
+
Also add the jQuery UI CSS to your application.css:
|
37
|
+
|
38
|
+
```css
|
39
|
+
/*
|
40
|
+
*= require jquery-ui
|
41
|
+
*/
|
42
|
+
```
|
43
|
+
|
44
|
+
### Warning:
|
45
|
+
Due to directory structure changes between jQuery UI 1.10, 1.11, and 1.12,
|
46
|
+
if you use version is lower than 6.0, you will have to use a different naming
|
47
|
+
for the files to require, please check following links for more information:
|
48
|
+
[for 5.0 users](https://github.com/jquery-ui-rails/jquery-ui-rails/blob/v5.0.5/README.md),
|
49
|
+
[for 4.2 users](https://github.com/jquery-ui-rails/jquery-ui-rails/blob/v4.2.1/README.md).
|
50
|
+
|
51
|
+
All images required by jQuery UI are automatically served through the asset
|
52
|
+
pipeline, so you are good to go! For example, this code will add a
|
53
|
+
[datepicker](http://jqueryui.com/demos/datepicker/):
|
54
|
+
|
55
|
+
```javascript
|
56
|
+
$(function() {
|
57
|
+
$('.datepicker').datepicker();
|
58
|
+
});
|
59
|
+
```
|
60
|
+
|
61
|
+
## Require Specific Modules
|
62
|
+
|
63
|
+
The jQuery UI code weighs 51KB (minified + gzipped) and takes a while to
|
64
|
+
execute, so for production apps it's recommended to only include the modules
|
65
|
+
that your application actually uses. Dependencies are automatically resolved.
|
66
|
+
Simply pick one or more modules from the asset list below.
|
67
|
+
|
68
|
+
For example, if you only need the datepicker module, add this to your
|
69
|
+
application.js:
|
70
|
+
|
71
|
+
```javascript
|
72
|
+
//= require jquery-ui/widgets/datepicker
|
73
|
+
```
|
74
|
+
|
75
|
+
In your application.css, require the corresponding CSS module (notice
|
76
|
+
no `widgets/` subdirectory here):
|
77
|
+
|
78
|
+
```css
|
79
|
+
/*
|
80
|
+
*= require jquery-ui/datepicker
|
81
|
+
*/
|
82
|
+
```
|
83
|
+
|
84
|
+
## JavaScript Assets
|
85
|
+
|
86
|
+
### UI Core
|
87
|
+
|
88
|
+
```javascript
|
89
|
+
//= require jquery-ui/core
|
90
|
+
//= require jquery-ui/widget
|
91
|
+
//= require jquery-ui/position
|
92
|
+
```
|
93
|
+
|
94
|
+
You usually do not need to require these directly, as they are pulled in by the
|
95
|
+
other JavaScript modules as needed.
|
96
|
+
|
97
|
+
### Interactions
|
98
|
+
|
99
|
+
```javascript
|
100
|
+
//= require jquery-ui/widgets/mouse
|
101
|
+
//= require jquery-ui/widgets/draggable
|
102
|
+
//= require jquery-ui/widgets/droppable
|
103
|
+
//= require jquery-ui/widgets/resizable
|
104
|
+
//= require jquery-ui/widgets/selectable
|
105
|
+
//= require jquery-ui/widgets/sortable
|
106
|
+
```
|
107
|
+
|
108
|
+
For all but `jquery-ui/mouse` and `jquery-ui/droppable`, remember to `require` their matching CSS
|
109
|
+
files in your application.css as well.
|
110
|
+
|
111
|
+
### Widgets
|
112
|
+
|
113
|
+
```javascript
|
114
|
+
//= require jquery-ui/widgets/accordion
|
115
|
+
//= require jquery-ui/widgets/autocomplete
|
116
|
+
//= require jquery-ui/widgets/button
|
117
|
+
//= require jquery-ui/widgets/datepicker
|
118
|
+
//= require jquery-ui/widgets/dialog
|
119
|
+
//= require jquery-ui/widgets/menu
|
120
|
+
//= require jquery-ui/widgets/progressbar
|
121
|
+
//= require jquery-ui/widgets/selectmenu
|
122
|
+
//= require jquery-ui/widgets/slider
|
123
|
+
//= require jquery-ui/widgets/spinner
|
124
|
+
//= require jquery-ui/widgets/tabs
|
125
|
+
//= require jquery-ui/widgets/tooltip
|
126
|
+
```
|
127
|
+
|
128
|
+
For all of these, remember to `require` their matching CSS files in your
|
129
|
+
application.css as well.
|
130
|
+
|
131
|
+
#### I18n
|
132
|
+
|
133
|
+
Datepicker has optional i18n modules for non-US locales, named
|
134
|
+
`jquery-ui/datepicker-xx[-YY]`
|
135
|
+
([list](https://github.com/jquery-ui-rails/jquery-ui-rails/tree/master/app/assets/javascripts)),
|
136
|
+
for example:
|
137
|
+
|
138
|
+
```javascript
|
139
|
+
//= require jquery-ui/widgets/datepicker
|
140
|
+
//= require jquery-ui/i18n/datepicker-pt-BR
|
141
|
+
```
|
142
|
+
|
143
|
+
Note that you still need to include the main datepicker module. It is not
|
144
|
+
required automatically [for performance
|
145
|
+
reasons](https://github.com/jquery-ui-rails/jquery-ui-rails/issues/9#issuecomment-6524987).
|
146
|
+
|
147
|
+
### Effects
|
148
|
+
|
149
|
+
```javascript
|
150
|
+
//= require jquery-ui/effect.all
|
151
|
+
```
|
152
|
+
|
153
|
+
OR
|
154
|
+
|
155
|
+
```javascript
|
156
|
+
//= require jquery-ui/effect
|
157
|
+
//= require jquery-ui/effects/effect-blind
|
158
|
+
//= require jquery-ui/effects/effect-bounce
|
159
|
+
//= require jquery-ui/effects/effect-clip
|
160
|
+
//= require jquery-ui/effects/effect-drop
|
161
|
+
//= require jquery-ui/effects/effect-explode
|
162
|
+
//= require jquery-ui/effects/effect-fade
|
163
|
+
//= require jquery-ui/effects/effect-fold
|
164
|
+
//= require jquery-ui/effects/effect-highlight
|
165
|
+
//= require jquery-ui/effects/effect-puff
|
166
|
+
//= require jquery-ui/effects/effect-pulsate
|
167
|
+
//= require jquery-ui/effects/effect-scale
|
168
|
+
//= require jquery-ui/effects/effect-shake
|
169
|
+
//= require jquery-ui/effects/effect-size
|
170
|
+
//= require jquery-ui/effects/effect-slide
|
171
|
+
//= require jquery-ui/effects/effect-transfer
|
172
|
+
```
|
173
|
+
|
174
|
+
## Stylesheet Assets
|
175
|
+
|
176
|
+
### UI Core
|
177
|
+
|
178
|
+
```css
|
179
|
+
/*
|
180
|
+
*= require jquery-ui/core
|
181
|
+
*= require jquery-ui/theme
|
182
|
+
*/
|
183
|
+
```
|
184
|
+
|
185
|
+
You might want to require these if you do not use any of the following modules,
|
186
|
+
but still want jQuery UI's basic theming CSS. Otherwise they are automatically
|
187
|
+
pulled in as dependencies.
|
188
|
+
|
189
|
+
### Interactions
|
190
|
+
|
191
|
+
```css
|
192
|
+
/*
|
193
|
+
*= require jquery-ui/draggable
|
194
|
+
*= require jquery-ui/resizable
|
195
|
+
*= require jquery-ui/selectable
|
196
|
+
*= require jquery-ui/sortable
|
197
|
+
*/
|
198
|
+
```
|
199
|
+
|
200
|
+
### Widgets
|
201
|
+
|
202
|
+
```css
|
203
|
+
/*
|
204
|
+
*= require jquery-ui/accordion
|
205
|
+
*= require jquery-ui/autocomplete
|
206
|
+
*= require jquery-ui/button
|
207
|
+
*= require jquery-ui/datepicker
|
208
|
+
*= require jquery-ui/dialog
|
209
|
+
*= require jquery-ui/menu
|
210
|
+
*= require jquery-ui/progressbar
|
211
|
+
*= require jquery-ui/selectmenu
|
212
|
+
*= require jquery-ui/slider
|
213
|
+
*= require jquery-ui/spinner
|
214
|
+
*= require jquery-ui/tabs
|
215
|
+
*= require jquery-ui/tooltip
|
216
|
+
*/
|
217
|
+
```
|
218
|
+
|
219
|
+
## Contributing
|
220
|
+
|
221
|
+
### Bug Reports
|
222
|
+
|
223
|
+
For bugs in jQuery UI itself, head to the [jQuery UI Development
|
224
|
+
Center](http://jqueryui.com/development).
|
225
|
+
|
226
|
+
For bugs in this gem distribution, use the GitHub issue tracker.
|
227
|
+
|
228
|
+
### Setup
|
229
|
+
|
230
|
+
The `jquery-ui-rails` gem should work in Ruby 1.8.7 apps. To run the rake
|
231
|
+
tasks, you need Ruby 1.9 however.
|
232
|
+
|
233
|
+
```bash
|
234
|
+
git clone git://github.com/jquery-ui-rails/jquery-ui-rails.git
|
235
|
+
cd jquery-ui-rails
|
236
|
+
git submodule update --init
|
237
|
+
bundle install
|
238
|
+
bundle exec rake # rebuild assets
|
239
|
+
```
|
240
|
+
|
241
|
+
Most of the code lives in the `Rakefile`. Pull requests are more than welcome!
|
242
|
+
|
243
|
+
### Hacking jQuery UI
|
244
|
+
|
245
|
+
The jquery-ui-rails repository is
|
246
|
+
[contributor-friendly](http://www.solitr.com/blog/2012/04/contributor-friendly-gems/)
|
247
|
+
and has a git submodule containing the official [jquery-ui
|
248
|
+
repo](https://github.com/jquery/jquery-ui). This way it's easy to hack the
|
249
|
+
jQuery UI code:
|
250
|
+
|
251
|
+
```bash
|
252
|
+
cd jquery-ui
|
253
|
+
git checkout master # or 1-8-stable
|
254
|
+
... hack-hack-hack ...
|
255
|
+
bundle exec rake # rebuild assets based on your changes
|
256
|
+
```
|
257
|
+
|
258
|
+
Assuming your app's Gemfile points at your jquery-ui-rails checkout (`gem
|
259
|
+
'jquery-ui-rails', :path => '~/path/to/jquery-ui-rails'`), all you need to do
|
260
|
+
now is refresh your browser, and your changes to jQuery UI are live in your
|
261
|
+
Rails application.
|
262
|
+
|
263
|
+
You can send pull requests to the
|
264
|
+
[jquery-ui](https://github.com/jquery/jquery-ui) GitHub project straight out of
|
265
|
+
your submodule. See also their
|
266
|
+
[Getting Involved](http://wiki.jqueryui.com/w/page/35263114/Getting-Involved)
|
267
|
+
guide.
|
268
|
+
|
269
|
+
### Testing
|
270
|
+
|
271
|
+
As a smoke test, a `testapp` application is available in the repository, which
|
272
|
+
displays a check mark and a datepicker to make sure the assets load correctly:
|
273
|
+
|
274
|
+
```bash
|
275
|
+
cd testapp
|
276
|
+
bundle install
|
277
|
+
rails server
|
278
|
+
```
|
279
|
+
|
280
|
+
Now point your browser at [http://localhost:3000/](http://localhost:3000/).
|
281
|
+
|
282
|
+
### Releasing
|
283
|
+
|
284
|
+
Be sure that `VERSIONS.md`, `History.md` and `lib/jquery/ui/rails/version.rb`
|
285
|
+
are up-to-date. Then build and push like so:
|
286
|
+
|
287
|
+
```bash
|
288
|
+
rake build
|
289
|
+
gem push pkg/jquery-ui-rails-X.Y.Z.gem
|
290
|
+
git tag vX.Y.Z
|
291
|
+
git push --tags
|
292
|
+
```
|
293
|
+
|
294
|
+
## Limitations
|
295
|
+
|
296
|
+
* Only the base theme (Smoothness) is included. Once it becomes possible to
|
297
|
+
[generate all theme
|
298
|
+
files](https://forum.jquery.com/topic/downloading-bundling-all-themes#14737000003080244)
|
299
|
+
from the jQuery UI sources, we can package all the other themes in the
|
300
|
+
[ThemeRoller](http://jqueryui.com/themeroller/) gallery.
|
301
|
+
|
302
|
+
Perhaps we can also add helper tasks to help developers generate assets for
|
303
|
+
their own custom themes or for third-party themes (like
|
304
|
+
[Selene](http://gravityonmars.github.com/Selene/)).
|
305
|
+
|
306
|
+
If you still want a different theme right now, you could probably download
|
307
|
+
a custom theme and require the theme CSS *after* requiring any other jQuery
|
308
|
+
UI CSS files you need, making sure to serve up the theme images correctly.
|
309
|
+
(This is arguably cumbersome, not officially supported by this gem, and
|
310
|
+
adds 1 KB overhead as both the base theme and the custom theme are served
|
311
|
+
up.)
|