Skip to content

Commit a2a6589

Browse files
committed
jQuery UI: Add note that Bower/AMD are only in jQuery UI 1.11+
1 parent 8bcca9b commit a2a6589

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

page/jquery-ui/environments/amd.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: Using jQuery UI with AMD
33
level: intermediate
44
---
55

6+
<div class="warning">**Note:** This documentation refers to functionality made available in jQuery UI 1.11.</div>
7+
68
As of jQuery UI 1.11, all of the library's source files support using AMD. This means that you can manage your jQuery UI dependencies without using [Download Builder](http://jqueryui.com/download/), and load jQuery UI's source files asynchronously using an AMD loader such as [RequireJS](http://requirejs.org/).
79

810
In this article we'll walk through the process of using AMD with jQuery UI. Let's start by discussing the files we'll need.

page/jquery-ui/environments/bower.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ title: Using jQuery UI with Bower
33
level: intermediate
44
---
55

6+
<div class="warning">**Note:** This documentation refers to functionality made available in jQuery UI 1.11.</div>
7+
68
[Bower](http://bower.io/) is a package manager for the Web. You can use Bower to download libraries like jQuery UI from the command line, without having to manually download each project from their respective sites.
79

810
As an example, suppose we're starting a new project and we need to use [jQuery UI's accordion widget](http://jqueryui.com/accordion/). We'll create a new directory for our project, and add the boilerplate `index.html` shown below.

0 commit comments

Comments
 (0)