From 68854c1dc2104615b52fdd723047f6ff02aef808 Mon Sep 17 00:00:00 2001
From: Matteo Sisti Sette
Date: Sun, 22 Jun 2014 21:02:35 +0200
Subject: [PATCH 001/247] jQuery UI: Fix plugin instance retrieval code
The part about retrieving the plugin instance from the dom element using .data() was vague about the key used: it said "the plugin name" without mentioning that the full name is needed, including the namespace and a hyphen as a separator. The code example was plain wrong, using only the bare plugin name, which would not work.
Fixes #515
Closes #516
---
page/plugins/stateful-plugins-with-widget-factory.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/page/plugins/stateful-plugins-with-widget-factory.md b/page/plugins/stateful-plugins-with-widget-factory.md
index e3e2e3ef..a6b81868 100644
--- a/page/plugins/stateful-plugins-with-widget-factory.md
+++ b/page/plugins/stateful-plugins-with-widget-factory.md
@@ -229,7 +229,7 @@ bar.progressbar( "option", "value", 100 );
### The Widget Factory: Under the Hood
-When you call `jQuery.widget`, it creates a constructor function for your plugin and sets the object literal that you pass in as the prototype for your plugin instances. All of the functionality that automatically gets added to your plugin comes from a base widget prototype, which is defined as `jQuery.Widget.prototype`. When a plugin instance is created, it is stored on the original DOM element using `jQuery.data`, with the plugin name as the key.
+When you call `jQuery.widget`, it creates a constructor function for your plugin and sets the object literal that you pass in as the prototype for your plugin instances. All of the functionality that automatically gets added to your plugin comes from a base widget prototype, which is defined as `jQuery.Widget.prototype`. When a plugin instance is created, it is stored on the original DOM element using `jQuery.data`, with the plugin's full name (the plugin's namespace, plus a hyphen, plus the plugin's name) as the key. For example the jQuery UI dialog widget uses a key of `"ui-dialog"`.
Because the plugin instance is directly linked to the DOM element, you can access the plugin instance directly instead of going through the exposed plugin method if you want. This will allow you to call methods directly on the plugin instance instead of passing method names as strings and will also give you direct access to the plugin's properties.
@@ -237,7 +237,7 @@ Because the plugin instance is directly linked to the DOM element, you can acces
var bar = $( "")
.appendTo( "body" )
.progressbar()
- .data( "progressbar" );
+ .data( "nmk-progressbar" );
// Call a method directly on the plugin instance.
bar.option( "value", 50 );
From daf795981360493ab1f3cafc54ed5741b72219ba Mon Sep 17 00:00:00 2001
From: TJ VanToll
Date: Mon, 23 Jun 2014 22:19:24 -0400
Subject: [PATCH 002/247] 0.3.21
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 1dadaf77..f92dd602 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "learn.jquery.com",
"title": "jQuery Learning Site",
"description": "jQuery Foundation site for learning jQuery and JavaScript",
- "version": "0.3.20",
+ "version": "0.3.21",
"homepage": "http://learn.jquery.com",
"author": {
"name": "jQuery Foundation (http://jquery.org/)"
From 8cda04a5ef47efcc0e60aa0212b5ab1223a3731d Mon Sep 17 00:00:00 2001
From: TJ VanToll
Date: Thu, 26 Jun 2014 14:19:05 -0400
Subject: [PATCH 003/247] jQuery UI: Removing references to specific version
numbers
Fixes #519
Closes #520
---
page/jquery-ui/getting-started.md | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/page/jquery-ui/getting-started.md b/page/jquery-ui/getting-started.md
index a2c0fe25..66322b53 100644
--- a/page/jquery-ui/getting-started.md
+++ b/page/jquery-ui/getting-started.md
@@ -32,10 +32,7 @@ You can either choose from the various themes we provide, or you can design your
#### Step 3: Choose a Version of jQuery UI
-The last step in the Download Builder is to select a version number. This is a very important step because jQuery UI versions are designed to work with specific versions of jQuery. The current versions are:
-
-* jQuery UI 1.10.2 – Requires jQuery 1.6 or later.
-* jQuery UI 1.9.2 – Requires jQuery 1.6 or later.
+The last step in the Download Builder is to select a version number. Make sure to check not only what version of jQuery UI you pick, but also the version of jQuery Core that version supports, as different versions of the library support different versions of jQuery. For more information on what's new in each version of jQuery UI, see the project's [upgrade guides](http://jqueryui.com/upgrade-guide/) and [changelogs](http://jqueryui.com/changelog/).
#### Click Download!
From 10b66c6a4effb6a5e6aa925afc0a37d449a87dd4 Mon Sep 17 00:00:00 2001
From: TJ VanToll
Date: Thu, 26 Jun 2014 14:25:52 -0400
Subject: [PATCH 004/247] 0.3.22
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index f92dd602..42c956d6 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "learn.jquery.com",
"title": "jQuery Learning Site",
"description": "jQuery Foundation site for learning jQuery and JavaScript",
- "version": "0.3.21",
+ "version": "0.3.22",
"homepage": "http://learn.jquery.com",
"author": {
"name": "jQuery Foundation (http://jquery.org/)"
From 46f06440b1702c4ceb3a2e1af56a37b0f5d64ac1 Mon Sep 17 00:00:00 2001
From: TJ VanToll
Date: Thu, 26 Jun 2014 14:52:00 -0400
Subject: [PATCH 005/247] jQuery UI: Update instructions to reflect file
changes in 1.11
---
page/jquery-ui/getting-started.md | 19 +++++--------------
1 file changed, 5 insertions(+), 14 deletions(-)
diff --git a/page/jquery-ui/getting-started.md b/page/jquery-ui/getting-started.md
index 66322b53..220d00f9 100644
--- a/page/jquery-ui/getting-started.md
+++ b/page/jquery-ui/getting-started.md
@@ -38,23 +38,14 @@ The last step in the Download Builder is to select a version number. Make sure t
You're finished with the Download Builder! Click the download button and you'll get a customized zip file containing everything you selected.
-### After Downloading: Intro to Using jQuery UI
-
-Once you've downloaded jQuery UI, you'll get a zip containing the following files:
-
-* `/css/`
-* `/development-bundle/`
-* `/js/`
-* `index.html`
-
### Basic Overview: Using jQuery UI on a Web Page
-Open up `index.html` in a text editor and you'll see that it links to a few dependencies: your theme, jQuery, and jQuery UI. Generally, you'll need to include these three files on any page to use jQuery UI widgets and interactions:
+Next, open up `index.html` from the downloaded zip in a text editor. You'll see that it references your theme, jQuery, and jQuery UI. Generally, you'll need to include these three files on any page to use the jQuery UI widgets and interactions:
```html
-
-
-
+
+
+
```
Once you've included the necessary files, you can add some jQuery widgets to your page. For example, to make a datepicker widget, you'll add a text input element to your page and then call `.datepicker()` on it. Like this:
@@ -62,7 +53,7 @@ Once you've included the necessary files, you can add some jQuery widgets to you
**HTML:**
```html
-
+
```
**JavaScript:**
From 82cbfa67ca59deff07fc5712483e5662e6cac8a8 Mon Sep 17 00:00:00 2001
From: TJ VanToll
Date: Thu, 26 Jun 2014 14:52:26 -0400
Subject: [PATCH 006/247] 0.3.23
---
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package.json b/package.json
index 42c956d6..28a366e6 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"name": "learn.jquery.com",
"title": "jQuery Learning Site",
"description": "jQuery Foundation site for learning jQuery and JavaScript",
- "version": "0.3.22",
+ "version": "0.3.23",
"homepage": "http://learn.jquery.com",
"author": {
"name": "jQuery Foundation (http://jquery.org/)"
From 9ed2dd65e6b0da66b9eefebcb8b85d61339675cd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?=
Date: Tue, 27 May 2014 15:25:39 -0400
Subject: [PATCH 007/247] Build: Update license
Closes gh-503
---
LICENSE-MIT.txt => LICENSE.txt | 25 +++++++++++++++++++++++--
page/about.md | 2 +-
2 files changed, 24 insertions(+), 3 deletions(-)
rename LICENSE-MIT.txt => LICENSE.txt (63%)
diff --git a/LICENSE-MIT.txt b/LICENSE.txt
similarity index 63%
rename from LICENSE-MIT.txt
rename to LICENSE.txt
index e664703e..2e50ad88 100644
--- a/LICENSE-MIT.txt
+++ b/LICENSE.txt
@@ -1,8 +1,14 @@
-Copyright (c) 2013 jQuery Foundation, http://jquery.org/
+Copyright 2009, 2014 jQuery Foundation and other contributors,
+https://jquery.org/
This software consists of voluntary contributions made by many
individuals. For exact contribution history, see the revision history
-and logs, available at http://github.com/jquery/learn.jquery.com
+available at https://github.com/jquery/learn.jquery.com
+
+The following license applies to all parts of this software except as
+documented below:
+
+====
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -22,3 +28,18 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+====
+
+Copyright and related rights for sample code are waived via CC0. Sample
+code is defined as all source code displayed within the prose of the
+documentation.
+
+CC0: http://creativecommons.org/publicdomain/zero/1.0/
+
+====
+
+All files located in the node_modules directory are externally
+maintained libraries used by this software which have their own
+licenses; we recommend you read them, as their terms may differ from the
+terms above.
diff --git a/page/about.md b/page/about.md
index c9e1ff25..dc583d53 100644
--- a/page/about.md
+++ b/page/about.md
@@ -18,7 +18,7 @@ documentation" to our community and serve the following goals:
2. Provide our **contributors** a central, open place to collaborate and provide a dependable, highly sharable resource that will improve our users' support experiences.
3. Foster an environment by which users are encouraged to become contributors and build the skills to help them work on jQuery – or any other open source project!
-In order to achieve these goals, all of [this site's content is maintained publicly on GitHub](https://github.com/jquery/learn.jquery.com) and is licensed under the [MIT License](https://github.com/jquery/learn.jquery.com/blob/master/LICENSE-MIT.txt). To learn more about how the site works, take a look at our [contributing guide](/contributing/).
+In order to achieve these goals, all of [this site's content is maintained publicly on GitHub](https://github.com/jquery/learn.jquery.com) and is licensed under the [MIT License](https://github.com/jquery/learn.jquery.com/blob/master/LICENSE.txt). To learn more about how the site works, take a look at our [contributing guide](/contributing/).
## History
From 81a7fb70ab7f8da1b6c898a54f87fb9ca848c2fc Mon Sep 17 00:00:00 2001
From: TJ VanToll
Date: Sun, 29 Jun 2014 14:53:08 -0400
Subject: [PATCH 008/247] jQuery UI: Update Bower article to reflect the final
package structure
---
page/jquery-ui/environments/bower.md | 37 +++++++++++-----------------
1 file changed, 14 insertions(+), 23 deletions(-)
diff --git a/page/jquery-ui/environments/bower.md b/page/jquery-ui/environments/bower.md
index 8c094133..9fc0d10b 100644
--- a/page/jquery-ui/environments/bower.md
+++ b/page/jquery-ui/environments/bower.md
@@ -53,23 +53,16 @@ Libraries are downloaded with Bower using the `bower install` command. To instal
│ │ └── src
│ └── jquery-ui
│ ├── themes
-│ │ ├── base
+│ │ ├── smoothness
│ │ │ ├── jquery-ui.css
-│ │ │ ├── accordion.css
-│ │ │ ├── ...
-│ │ │ └── minified
-│ │ │ ├── jquery-ui.min.css
-│ │ │ ├── accordion.min.css
-│ │ │ └── ...
+│ │ │ └── jquery-ui.min.css
│ │ └── [The rest of jQuery UI's themes]
-│ └── ui
-│ ├── jquery-ui.js
-│ ├── accordion.js
-│ ├── ...
-│ └── minified
-│ ├── jquery-ui.min.js
-│ ├── accordion.min.js
-│ └── ...
+│ ├── ui
+│ │ ├── accordion.js
+│ │ ├── autocomplete.js
+│ │ └── ...
+│ ├── jquery-ui.js
+│ └── jquery-ui.min.js
└── index.html
@@ -89,10 +82,10 @@ We have a few different options for using the files downloaded with Bower. The e
jQuery Projects
-
+
-
+
jQuery Core
jQuery is a fast, small, and feature-rich JavaScript library...
@@ -101,13 +94,13 @@ We have a few different options for using the files downloaded with Bower. The e
jQuery Mobile
jQuery Mobile is a HTML5-based user interface system...