http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/3c9a22b4/console/bower_components/elastic.js/package.json
----------------------------------------------------------------------
diff --git a/console/bower_components/elastic.js/package.json 
b/console/bower_components/elastic.js/package.json
new file mode 100644
index 0000000..db564c6
--- /dev/null
+++ b/console/bower_components/elastic.js/package.json
@@ -0,0 +1,51 @@
+{
+  "name": "elastic.js",
+  "description": "Javascript API for ElasticSearch",
+  "version": "1.1.1",
+  "homepage": "https://github.com/fullscale/elastic.js";,
+  "keywords": [
+    "elasticsearch",
+    "search",
+    "elasticjs",
+    "elastic",
+    "elastic search",
+    "es",
+    "ejs"
+  ],
+  "repository": {
+    "type": "git",
+    "url": "git://github.com/fullscale/elastic.js.git"
+  },
+  "bugs": {
+    "url": "https://github.com/fullscale/elastic.js/issues";
+  },
+  "licenses": [
+    {
+      "type": "MIT",
+      "url": "https://github.com/fullscale/elastic.js/blob/master/LICENSE-MIT";
+    }
+  ],
+  "author": {
+    "name": "FullScale Labs, LLC",
+    "url": "https://github.com/fullscale/elastic.js/blob/master/AUTHORS";
+  },
+  "files": [
+    "elastic-node-client.js",
+    "elastic.js"
+  ],
+  "main": "elastic.js",
+  "scripts": {
+    "test": "grunt nodeunit",
+    "prepublish": "cp dist/elastic.js dist/elastic-node-client.js ."
+  },
+  "dependencies": {
+    "colors": "~0.6"
+  },
+  "devDependencies": {
+    "grunt": "~0.4.1",
+    "grunt-contrib-concat": "~0.3.0",
+    "grunt-contrib-jshint": "~0.5.4",
+    "grunt-contrib-uglify": "~0.2.1",
+    "grunt-contrib-nodeunit": "~0.2.0"
+  }
+}

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/3c9a22b4/console/bower_components/jquery/.bower.json
----------------------------------------------------------------------
diff --git a/console/bower_components/jquery/.bower.json 
b/console/bower_components/jquery/.bower.json
new file mode 100644
index 0000000..600b8af
--- /dev/null
+++ b/console/bower_components/jquery/.bower.json
@@ -0,0 +1,16 @@
+{
+  "name": "jquery",
+  "version": "1.8.2",
+  "main": "./jquery.js",
+  "dependencies": {},
+  "homepage": "https://github.com/jquery/jquery";,
+  "_release": "1.8.2",
+  "_resolution": {
+    "type": "version",
+    "tag": "1.8.2",
+    "commit": "9e6393b0bcb52b15313f88141d0bd7dd54227426"
+  },
+  "_source": "git://github.com/jquery/jquery.git",
+  "_target": "1.8.2",
+  "_originalSource": "jquery"
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/3c9a22b4/console/bower_components/jquery/.editorconfig
----------------------------------------------------------------------
diff --git a/console/bower_components/jquery/.editorconfig 
b/console/bower_components/jquery/.editorconfig
new file mode 100644
index 0000000..d06e318
--- /dev/null
+++ b/console/bower_components/jquery/.editorconfig
@@ -0,0 +1,43 @@
+# This file is for unifying the coding style for different editors and IDEs
+# editorconfig.org
+
+root = true
+
+
+[*]
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+# Tabs in JS unless otherwise specified
+[**.js]
+indent_style = tab
+
+[Makefile]
+indent_style = tab
+
+
+[speed/**.html]
+indent_style = tab
+
+[speed/**.css]
+indent_style = tab
+
+[speed/benchmarker.js]
+indent_style = space
+indent_size = 2
+
+
+[test/**.xml]
+indent_style = tab
+
+[test/**.php]
+indent_style = tab
+
+[test/**.html]
+indent_style = tab
+
+[test/**.css]
+indent_style = space
+indent_size = 8

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/3c9a22b4/console/bower_components/jquery/.jshintrc
----------------------------------------------------------------------
diff --git a/console/bower_components/jquery/.jshintrc 
b/console/bower_components/jquery/.jshintrc
new file mode 100644
index 0000000..fd498d8
--- /dev/null
+++ b/console/bower_components/jquery/.jshintrc
@@ -0,0 +1,11 @@
+{
+  "curly": true,
+  "eqnull": true,
+  "eqeqeq": true,
+  "expr": true,
+  "latedef": true,
+  "noarg": true,
+  "smarttabs": true,
+  "trailing": true,
+  "undef": true
+}

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/3c9a22b4/console/bower_components/jquery/AUTHORS.txt
----------------------------------------------------------------------
diff --git a/console/bower_components/jquery/AUTHORS.txt 
b/console/bower_components/jquery/AUTHORS.txt
new file mode 100644
index 0000000..f9fdff9
--- /dev/null
+++ b/console/bower_components/jquery/AUTHORS.txt
@@ -0,0 +1,135 @@
+Authors ordered by first contribution.
+
+John Resig <[email protected]>
+Gilles van den Hoven <[email protected]>
+Michael Geary <[email protected]>
+Stefan Petre <[email protected]>
+Yehuda Katz <[email protected]>
+Corey Jewett <[email protected]>
+Klaus Hartl <[email protected]>
+Franck Marcia <[email protected]>
+Jörn Zaefferer <[email protected]>
+Paul Bakaus <[email protected]>
+Brandon Aaron <[email protected]>
+Mike Alsup <[email protected]>
+Dave Methvin <[email protected]>
+Ed Engelhardt <[email protected]>
+Sean Catchpole <[email protected]>
+Paul Mclanahan <[email protected]>
+David Serduke <[email protected]>
+Richard D. Worth <[email protected]>
+Scott González <[email protected]>
+Ariel Flesler <[email protected]>
+Jon Evans <[email protected]>
+T.J. Holowaychuk <[email protected]>
+Michael Bensoussan <[email protected]>
+Robert Katić <[email protected]>
+Louis-Rémi Babé <[email protected]>
+Earle Castledine <[email protected]>
+Damian Janowski <[email protected]>
+Rich Dougherty <[email protected]>
+Kim Dalsgaard <[email protected]>
+Andrea Giammarchi <[email protected]>
+Mark Gibson <[email protected]>
+Karl Swedberg <[email protected]>
+Justin Meyer <[email protected]>
+Ben Alman <[email protected]>
+James Padolsey <[email protected]>
+David Petersen <[email protected]>
+Batiste Bieler <[email protected]>
+Alexander Farkas <[email protected]>
+Rick Waldron <[email protected]>
+Filipe Fortes <[email protected]>
+Neeraj Singh <[email protected]>
+Paul Irish <[email protected]>
+Iraê Carvalho <[email protected]>
+Matt Curry <[email protected]>
+Michael Monteleone <[email protected]>
+Noah Sloan <[email protected]>
+Tom Viner <[email protected]>
+Douglas Neiner <[email protected]>
+Adam J. Sontag <[email protected]>
+Dave Reed <[email protected]>
+Ralph Whitbeck <[email protected]>
+Carl Fürstenberg <[email protected]>
+Jacob Wright <[email protected]>
+J. Ryan Stinnett <[email protected]>
+Heungsub Lee <[email protected]>
+Colin Snover <[email protected]>
+Ryan W Tenney <[email protected]>
+Ron Otten <[email protected]>
+Jephte Clain <[email protected]>
+Anton Matzneller <[email protected]>
+Alex Sexton <[email protected]>
+Dan Heberden <[email protected]>
+Henri Wiechers <[email protected]>
+Russell Holbrook <[email protected]>
+Julian Aubourg <[email protected]>
+Gianni Chiappetta <[email protected]>
+Scott Jehl <[email protected]>
+J.R. Burke <[email protected]>
+Jonas Pfenniger <[email protected]>
+Xavi Ramirez <[email protected]>
+Jared Grippe <[email protected]>
+Sylvester Keil <[email protected]>
+Brandon Sterne <[email protected]>
+Mathias Bynens <[email protected]>
+Timmy Willison <[email protected]>
+Corey Frang <[email protected]>
+Anton Kovalyov <[email protected]>
+David Murdoch <[email protected]>
+Josh Varner <[email protected]>
+Charles McNulty <[email protected]>
+Jordan Boesch <[email protected]>
+Jess Thrysoee <[email protected]>
+Michael Murray <[email protected]>
+Lee Carpenter <[email protected]>
+Alexis Abril <[email protected]>
+Rob Morgan <[email protected]>
+John Firebaugh <[email protected]>
+Sam Bisbee <[email protected]>
+Gilmore Davidson <[email protected]>
+Brian Brennan <[email protected]>
+Xavier Montillet <[email protected]>
+Daniel Pihlstrom <[email protected]>
+Sahab Yazdani <[email protected]>
+Scott Hughes <[email protected]>
+Mike Sherov <[email protected]>
+Greg Hazel <[email protected]>
+Schalk Neethling <[email protected]>
+Denis Knauf <[email protected]>
+Timo Tijhof <[email protected]>
+Steen Nielsen <[email protected]>
+Anton Ryzhov <[email protected]>
+Shi Chuan <[email protected]>
+Berker Peksag <[email protected]>
+Toby Brain <[email protected]>
+Matt Mueller <[email protected]>
+Daniel Herman <[email protected]>
+Oleg Gaidarenko <[email protected]>
+Richard Gibson <[email protected]>
+Rafaël Blais Masson <[email protected]>
+Joe Presbrey <[email protected]>
+Sindre Sorhus <[email protected]>
+Arne de Bree <[email protected]>
+Vladislav Zarakovsky <[email protected]>
+Andy Monat <[email protected]>
+Joaoh Bruni <[email protected]>
+Dominik D. Geyer <[email protected]>
+Matt Farmer <[email protected]>
+Trey Hunner <[email protected]>
+Jason Moon <[email protected]>
+Jeffery To <[email protected]>
+Kris Borchers <[email protected]>
+Vladimir Zhuravlev <[email protected]>
+Jacob Thornton <[email protected]>
+Chad Killingsworth <[email protected]>
+Nowres Rafid <[email protected]>
+David Benjamin <[email protected]>
+Uri Gilad <[email protected]>
+Chris Faulkner <[email protected]>
+Elijah Manor <[email protected]>
+Daniel Chatfield <[email protected]>
+Nikita Govorov <[email protected]>
+Mike Pennisi <[email protected]>
+Markus Staab <[email protected]>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/3c9a22b4/console/bower_components/jquery/CONTRIBUTING.md
----------------------------------------------------------------------
diff --git a/console/bower_components/jquery/CONTRIBUTING.md 
b/console/bower_components/jquery/CONTRIBUTING.md
new file mode 100644
index 0000000..8f24c79
--- /dev/null
+++ b/console/bower_components/jquery/CONTRIBUTING.md
@@ -0,0 +1,217 @@
+# Contributing to jQuery
+
+1. [Getting Involved](#getting-involved)
+2. [Discussion](#discussion)
+3. [How To Report Bugs](#how-to-report-bugs)
+4. [Core Style Guide](#jquery-core-style-guide)
+5. [Tips For Bug Patching](#tips-for-jquery-bug-patching)
+
+
+
+## Getting Involved
+
+There are a number of ways to get involved with the development of jQuery 
core. Even if you've never contributed code to an Open Source project before, 
we're always looking for help identifying bugs, writing and reducing test cases 
and documentation.
+
+
+This is the best way to contribute to jQuery core. Please read through the 
full guide detailing [How to Report Bugs](#How-to-Report-Bugs).
+
+## Discussion
+
+### Forum and IRC
+
+The jQuery core development team frequently tracks posts on the 
[http://forum.jquery.com/developing-jquery-core jQuery Development Forum]. If 
you have longer posts or questions please feel free to post them there. If you 
think you've found a bug please [file it in the bug 
tracker](#How-to-Report-Bugs).
+
+Additionally most of the jQuery core development team can be found in the 
[http://webchat.freenode.net/?channels=jquery-dev #jquery-dev] IRC channel on 
irc.freenode.net.
+
+### Weekly Status Meetings
+
+Every week (unless otherwise noted) the jQuery core dev team has a meeting to 
discuss the progress of current work and to bring forward possible new blocker 
bugs for discussion.
+
+The meeting is held in the 
[#jquery-meeting](http://webchat.freenode.net/?channels=jquery-meeting) IRC 
channel on irc.freenode.net at [Noon 
EST](http://www.timeanddate.com/worldclock/fixedtime.html?month=1&day=17&year=2011&hour=12&min=0&sec=0&p1=43)
 on Mondays.
+
+[Past Meeting 
Notes](https://docs.google.com/document/d/1MrLFvoxW7GMlH9KK-bwypn77cC98jUnz7sMW1rg_TP4/edit?hl=en)
+
+
+## How to Report Bugs
+
+### Make sure it is a jQuery bug
+
+Many bugs reported to our bug tracker are actually bugs in user code, not in 
jQuery code. Keep in mind that just because your code throws an error and the 
console points to a line number inside of jQuery, this does *not* mean the bug 
is a jQuery bug; more often than not, these errors result from providing 
incorrect arguments when calling a jQuery function.
+
+If you are new to jQuery, it is usually a much better idea to ask for help 
first in the [http://forum.jquery.com/using-jquery Using jQuery Forum] or the 
[http://webchat.freenode.net/?channels=%23jquery jQuery IRC channel]. You will 
get much quicker support, and you will help avoid tying up the jQuery team with 
invalid bug reports. These same resources can also be useful if you want to 
confirm that your bug is indeed a bug in jQuery before filing any tickets.
+
+
+### Disable any browser extensions
+
+Make sure you have reproduced the bug with all browser extensions and add-ons 
disabled, as these can sometimes cause things to break in interesting and 
unpredictable ways. Try using incognito, stealth or anonymous browsing modes.
+
+
+### Try the latest version of jQuery
+
+Bugs in old versions of jQuery may have already been fixed. In order to avoid 
reporting known issues, make sure you are always testing against the [latest 
build](http://code.jquery.com/jquery.js).
+
+### Try an older version of jQuery
+
+Sometimes, bugs are introduced in newer versions of jQuery that do not exist 
in previous versions. When possible, it can be useful to try testing with an 
older release.
+
+### Reduce, reduce, reduce!
+
+When you are experiencing a problem, the most useful thing you can possibly do 
is to [http://webkit.org/quality/reduction.html reduce your code] to the bare 
minimum required to reproduce the issue. This makes it *much* easier to isolate 
and fix the offending code. Bugs that are reported without reduced test cases 
take on average 9001% longer to fix than bugs that are submitted with them, so 
you really should try to do this if at all possible.
+
+## jQuery Core Style Guide
+
+See: [jQuery Core Style 
Guide](http://docs.jquery.com/JQuery_Core_Style_Guidelines)
+
+## Tips For Bug Patching
+
+
+### Environment: localhost w/ PHP, Node & Grunt
+
+Starting in jQuery 1.8, a newly overhauled development workflow has been 
introduced. In this new system, we rely on node & gruntjs to automate the 
building and validation of source code—while you write code.
+
+The Ajax tests still depend on PHP running locally*, so make sure you have the 
following installed:
+
+* Some kind of localhost server program that supports PHP (any will do)
+* Node.js
+* NPM (comes with the latest version of Node.js)
+* Grunt (install with: `npm install grunt -g`
+
+
+Maintaining a list of platform specific instructions is outside of the scope 
of this document and there is plenty of existing documentation for the above 
technologies.
+
+* The PHP dependency will soon be shed in favor of an all-node solution.
+
+
+### Build a Local Copy of jQuery
+
+Create a fork of the jQuery repo on github at http://github.com/jquery/jquery
+
+Change directory to your web root directory, whatever that might be:
+
+```bash
+$ cd /path/to/your/www/root/
+```
+
+Clone your jQuery fork to work locally
+
+```bash
+$ git clone [email protected]:username/jquery.git
+```
+
+Change directory to the newly created dir jquery/
+
+```bash
+$ cd jquery
+```
+
+Add the jQuery master as a remote. I label mine "upstream"
+
+```bash
+$ git remote add upstream git://github.com/jquery/jquery.git
+```
+
+Get in the habit of pulling in the "upstream" master to stay up to date as 
jQuery receives new commits
+
+```bash
+$ git pull upstream master
+```
+
+Run the Grunt tools:
+
+```bash
+$ grunt && grunt watch
+```
+
+Now open the jQuery test suite in a browser at http://localhost/test. If there 
is a port, be sure to include it.
+
+Success! You just built and tested jQuery!
+
+
+### Fix a bug from a ticket filed at bugs.jquery.com: ===
+
+**NEVER write your patches to the master branch** - it gets messy (I say this 
from experience!)
+
+**ALWAYS USE A "TOPIC" BRANCH!** Like so (#### = the ticket #)...
+
+Make sure you start with your up-to-date master:
+
+```bash
+$ git checkout master
+```
+
+Create and checkout a new branch that includes the ticket #
+
+```bash
+$ git checkout -b bug_####
+
+# ( Explanation: this useful command will:
+# "checkout" a "-b" (branch) by the name of "bug_####"
+# or create it if it doesn't exist )
+```
+
+Now you're on branch: bug_####
+
+Determine the module/file you'll be working in...
+
+Open up the corresponding /test/unit/?????.js and add the initial failing unit 
tests. This may seem awkward at first, but in the long run it will make sense. 
To truly and efficiently patch a bug, you need to be working against that bug.
+
+Next, open the module files and make your changes
+
+Run http://localhost/test --> **ALL TESTS MUST PASS**
+
+Once you're satisfied with your patch...
+
+Stage the files to be tracked:
+
+```bash
+$ git add filename
+# (you can use "git status" to list the files you've changed)
+```
+
+
+( I recommend NEVER, EVER using "git add . " )
+
+Once you've staged all of your changed files, go ahead and commit them
+
+```bash
+$ git commit -m "Brief description of fix. Fixes #0000"
+```
+
+For a multiple line commit message, leave off the `-m "description"`.
+
+You will then be led into vi (or the text editor that you have set up) to 
complete your commit message.
+
+Then, push your branch with the bug fix commits to your github fork
+
+```bash
+$ git push origin -u bug_####
+```
+
+Before you tackle your next bug patch, return to the master:
+
+```bash
+$ git checkout master
+```
+
+
+
+### Test Suite Tips...
+
+During the process of writing your patch, you will run the test suite MANY 
times. You can speed up the process by narrowing the running test suite down to 
the module you are testing by either double clicking the title of the test or 
appending it to the url. The following examples assume you're working on a 
local repo, hosted on your localhost server.
+
+Example:
+
+http://localhost/test/?filter=css
+
+This will only run the "css" module tests. This will significantly speed up 
your development and debugging.
+
+**ALWAYS RUN THE FULL SUITE BEFORE COMMITTING AND PUSHING A PATCH!**
+
+
+### jQuery supports the following browsers:
+
+* Chrome Current-1
+* Safari Current-1
+* Firefox Current-1
+* IE 6+
+* Opera Current-1

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/3c9a22b4/console/bower_components/jquery/MIT-LICENSE.txt
----------------------------------------------------------------------
diff --git a/console/bower_components/jquery/MIT-LICENSE.txt 
b/console/bower_components/jquery/MIT-LICENSE.txt
new file mode 100644
index 0000000..7b154c1
--- /dev/null
+++ b/console/bower_components/jquery/MIT-LICENSE.txt
@@ -0,0 +1,21 @@
+Copyright 2012 jQuery Foundation and other contributors
+http://jquery.com/
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+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.

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/3c9a22b4/console/bower_components/jquery/Makefile
----------------------------------------------------------------------
diff --git a/console/bower_components/jquery/Makefile 
b/console/bower_components/jquery/Makefile
new file mode 100644
index 0000000..f33a61c
--- /dev/null
+++ b/console/bower_components/jquery/Makefile
@@ -0,0 +1,25 @@
+
+all: update_submodules
+
+submoduleclean: clean
+       @@echo "Removing submodules"
+       @@rm -rf test/qunit src/sizzle
+
+# change pointers for submodules and update them to what is specified in jQuery
+# --merge      doesn't work when doing an initial clone, thus test if we have 
non-existing
+#      submodules, then do an real update
+update_submodules:
+       @@if [ -d .git ]; then \
+               if git submodule status | grep -q -E '^-'; then \
+                       git submodule update --init --recursive; \
+               else \
+                       git submodule update --init --recursive --merge; \
+               fi; \
+       fi;
+
+# update the submodules to the latest at the most logical branch
+pull_submodules:
+       @@git submodule foreach "git pull \$$(git config remote.origin.url)"
+       #@@git submodule summary
+
+.PHONY: all submoduleclean update_submodules pull_submodules

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/3c9a22b4/console/bower_components/jquery/README.md
----------------------------------------------------------------------
diff --git a/console/bower_components/jquery/README.md 
b/console/bower_components/jquery/README.md
new file mode 100644
index 0000000..76d5c34
--- /dev/null
+++ b/console/bower_components/jquery/README.md
@@ -0,0 +1,417 @@
+[jQuery](http://jquery.com/) - New Wave JavaScript
+==================================================
+
+Contribution Guides
+--------------------------------------
+
+In the spirit of open source software development, jQuery always encourages 
community code contribution. To help you get started and before you jump into 
writing code, be sure to read these important contribution guidelines 
thoroughly:
+
+1. [Getting Involved](http://docs.jquery.com/Getting_Involved)
+2. [Core Style Guide](http://docs.jquery.com/JQuery_Core_Style_Guidelines)
+3. [Tips For Bug Patching](http://docs.jquery.com/Tips_for_jQuery_Bug_Patching)
+
+
+What you need to build your own jQuery
+--------------------------------------
+
+In order to build jQuery, you need to have GNU make 3.8 or later, Node.js/npm 
latest, and git 1.7 or later.
+(Earlier versions might work OK, but are not tested.)
+
+Windows users have two options:
+
+1. Install [msysgit](https://code.google.com/p/msysgit/) (Full installer for 
official Git),
+   [GNU make for Windows](http://gnuwin32.sourceforge.net/packages/make.htm), 
and a
+   [binary version of Node.js](http://node-js.prcn.co.cc/). Make sure all 
three packages are installed to the same
+   location (by default, this is C:\Program Files\Git).
+2. Install [Cygwin](http://cygwin.com/) (make sure you install the git, make, 
and which packages), then either follow
+   the [Node.js build 
instructions](https://github.com/ry/node/wiki/Building-node.js-on-Cygwin-%28Windows%29)
 or install
+   the [binary version of Node.js](http://node-js.prcn.co.cc/).
+
+Mac OS users should install Xcode (comes on your Mac OS install DVD, or 
downloadable from
+[Apple's Xcode site](http://developer.apple.com/technologies/xcode.html)) and
+[Homebrew](http://mxcl.github.com/homebrew/). Once Homebrew is installed, run 
`brew install git` to install git,
+and `brew install node` to install Node.js.
+
+Linux/BSD users should use their appropriate package managers to install make, 
git, and node, or build from source
+if you swing that way. Easy-peasy.
+
+
+How to build your own jQuery
+----------------------------
+
+First, clone a copy of the main jQuery git repo by running:
+
+```bash
+git clone git://github.com/jquery/jquery.git
+```
+
+Enter the directory and install the Node dependencies:
+
+```bash
+cd jquery && npm install
+```
+
+
+Make sure you have `grunt` installed by testing:
+
+```bash
+grunt -version
+```
+
+
+
+Then, to get a complete, minified (w/ Uglify.js), linted (w/ JSHint) version 
of jQuery, type the following:
+
+```bash
+grunt
+```
+
+
+The built version of jQuery will be put in the `dist/` subdirectory.
+
+
+### Modules (new in 1.8)
+
+Starting in jQuery 1.8, special builds can now be created that optionally 
exclude or include any of the following modules:
+
+- ajax
+- css
+- dimensions
+- effects
+- offset
+
+
+Before creating a custom build for use in production, be sure to check out the 
latest stable version:
+
+```bash
+git pull; git checkout $(git describe --abbrev=0 --tags)
+```
+
+Then, make sure all Node dependencies are installed and all Git submodules are 
checked out:
+
+```bash
+npm install && grunt
+```
+
+To create a custom build, use the following special `grunt` commands:
+
+Exclude **ajax**:
+
+```bash
+grunt custom:-ajax
+```
+
+Exclude **css**:
+
+```bash
+grunt custom:-css
+```
+
+Exclude **deprecated**:
+
+```bash
+grunt custom:-deprecated
+```
+
+Exclude **dimensions**:
+
+```bash
+grunt custom:-dimensions
+```
+
+Exclude **effects**:
+
+```bash
+grunt custom:-effects
+```
+
+Exclude **offset**:
+
+```bash
+grunt custom:-offset
+```
+
+Exclude **all** optional modules:
+
+```bash
+grunt custom:-ajax,-css,-deprecated,-dimensions,-effects,-offset
+```
+
+
+Note: dependencies will be handled internally, by the build process.
+
+
+Running the Unit Tests
+--------------------------------------
+
+
+Start grunt to auto-build jQuery as you work:
+
+```bash
+cd jquery && grunt watch
+```
+
+
+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:
+
+- Windows: [WAMP download](http://www.wampserver.com/en/)
+- Mac: [MAMP download](http://www.mamp.info/en/index.html)
+- Linux: [Setting up 
LAMP](https://www.linux.com/learn/tutorials/288158-easy-lamp-server-installation)
+- [Mongoose (most platforms)](http://code.google.com/p/mongoose/)
+
+
+
+
+Building to a different directory
+---------------------------------
+
+If you want to build jQuery to a directory that is different from the default 
location:
+
+```bash
+grunt && grunt dist:/path/to/special/location/
+```
+With this example, the output files would be:
+
+```bash
+/path/to/special/location/jquery.js
+/path/to/special/location/jquery.min.js
+```
+
+If you want to add a permanent copy destination, create a file in `dist/` 
called ".destination.json". Inside the file, paste and customize the following:
+
+```json
+
+{
+  "/Absolute/path/to/other/destination": true
+}
+```
+
+
+Additionally, both methods can be combined.
+
+
+
+Updating Submodules
+-------------------
+
+Update the submodules to what is probably the latest upstream code.
+
+```bash
+grunt submodules
+```
+
+Note: This task will also be run any time the default `grunt` command is used.
+
+
+
+Git for dummies
+---------------
+
+As the source code is handled by the version control system Git, it's useful 
to know some features used.
+
+### Submodules ###
+
+The repository uses submodules, which normally are handled directly by the 
Makefile, but sometimes you want to
+be able to work with them manually.
+
+Following are the steps to manually get the submodules:
+
+```bash
+git clone https://github.com/jquery/jquery.git
+cd jquery
+git submodule init
+git submodule update
+```
+
+Or:
+
+```bash
+git clone https://github.com/jquery/jquery.git
+cd jquery
+git submodule update --init
+```
+
+Or:
+
+```bash
+git clone --recursive https://github.com/jquery/jquery.git
+cd jquery
+```
+
+If you want to work inside a submodule, it is possible, but first you need to 
checkout a branch:
+
+```bash
+cd src/sizzle
+git checkout master
+```
+
+After you've committed your changes to the submodule, you'll update the jquery 
project to point to the new commit,
+but remember to push the submodule changes before pushing the new jquery 
commit:
+
+```bash
+cd src/sizzle
+git push origin master
+cd ..
+git add src/sizzle
+git commit
+```
+
+
+### cleaning ###
+
+If you want to purge your working directory back to the status of upstream, 
following commands can be used (remember everything you've worked on is gone 
after these):
+
+```bash
+git reset --hard upstream/master
+git clean -fdx
+```
+
+### rebasing ###
+
+For feature/topic branches, you should always used the `--rebase` flag to `git 
pull`, or if you are usually handling many temporary "to be in a github pull 
request" branches, run following to automate this:
+
+```bash
+git config branch.autosetuprebase local
+```
+(see `man git-config` for more information)
+
+### handling merge conflicts ###
+
+If you're getting merge conflicts when merging, instead of editing the 
conflicted files manually, you can use the feature
+`git mergetool`. Even though the default tool `xxdiff` looks awful/old, it's 
rather useful.
+
+Following are some commands that can be used there:
+
+* `Ctrl + Alt + M` - automerge as much as possible
+* `b` - jump to next merge conflict
+* `s` - change the order of the conflicted lines
+* `u` - undo an merge
+* `left mouse button` - mark a block to be the winner
+* `middle mouse button` - mark a line to be the winner
+* `Ctrl + S` - save
+* `Ctrl + Q` - quit
+
+[QUnit](http://docs.jquery.com/QUnit) Reference
+-----------------
+
+### Test methods ###
+
+```js
+expect( numAssertions );
+stop();
+start();
+```
+
+
+note: QUnit's eventual addition of an argument to stop/start is ignored in 
this test suite so that start and stop can be passed as callbacks without 
worrying about their parameters
+
+### Test assertions ###
+
+
+```js
+ok( value, [message] );
+equal( actual, expected, [message] );
+notEqual( actual, expected, [message] );
+deepEqual( actual, expected, [message] );
+notDeepEqual( actual, expected, [message] );
+strictEqual( actual, expected, [message] );
+notStrictEqual( actual, expected, [message] );
+raises( block, [expected], [message] );
+```
+
+
+Test Suite Convenience Methods Reference (See 
[test/data/testinit.js](https://github.com/jquery/jquery/blob/master/test/data/testinit.js))
+------------------------------
+
+### Returns an array of elements with the given IDs ###
+
+```js
+q( ... );
+```
+
+Example:
+
+```js
+q("main", "foo", "bar");
+
+=> [ div#main, span#foo, input#bar ]
+```
+
+### Asserts that a selection matches the given IDs ###
+
+```js
+t( testName, selector, [ "array", "of", "ids" ] );
+```
+
+Example:
+
+```js
+t("Check for something", "//[a]", ["foo", "baar"]);
+```
+
+
+
+### Fires a native DOM event without going through jQuery ###
+
+```js
+fireNative( node, eventType )
+```
+
+Example:
+
+```js
+fireNative( jQuery("#elem")[0], "click" );
+```
+
+### Add random number to url to stop caching ###
+
+```js
+url( "some/url.php" );
+```
+
+Example:
+
+```js
+url("data/test.html");
+
+=> "data/test.html?10538358428943"
+
+
+url("data/test.php?foo=bar");
+
+=> "data/test.php?foo=bar&10538358345554"
+```
+
+
+### Load tests in an iframe ###
+
+Loads a given page constructing a url with fileName: `"./data/" + fileName + 
".html"`
+and fires the given callback on jQuery ready (using the jQuery loading from 
that page)
+and passes the iFrame's jQuery to the callback.
+
+```js
+testIframe( fileName, testName, callback );
+```
+
+Callback arguments:
+
+```js
+callback( jQueryFromIFrame, iFrameWindow, iFrameDocument );
+```
+
+### Load tests in an iframe (window.iframeCallback) ###
+
+Loads a given page constructing a url with fileName: `"./data/" + fileName + 
".html"`
+The given callback is fired when window.iframeCallback is called by the page
+The arguments passed to the callback are the same as the
+arguments passed to window.iframeCallback, whatever that may be
+
+```js
+testIframeWithCallback( testName, fileName, callback );
+```
+
+Questions?
+----------
+
+If you have any questions, please feel free to ask on the
+[Developing jQuery Core forum](http://forum.jquery.com/developing-jquery-core) 
or in #jquery on irc.freenode.net.

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/3c9a22b4/console/bower_components/jquery/component.json
----------------------------------------------------------------------
diff --git a/console/bower_components/jquery/component.json 
b/console/bower_components/jquery/component.json
new file mode 100644
index 0000000..99b1206
--- /dev/null
+++ b/console/bower_components/jquery/component.json
@@ -0,0 +1,8 @@
+{
+  "name"        : "jquery",
+  "version"     : "1.8.2",
+  "main"        : "./jquery.js",
+  "dependencies": {
+  }
+}
+

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/3c9a22b4/console/bower_components/jquery/grunt.js
----------------------------------------------------------------------
diff --git a/console/bower_components/jquery/grunt.js 
b/console/bower_components/jquery/grunt.js
new file mode 100644
index 0000000..a2db873
--- /dev/null
+++ b/console/bower_components/jquery/grunt.js
@@ -0,0 +1,445 @@
+/**
+ * Resources
+ *
+ * https://gist.github.com/2489540
+ *
+ */
+
+/*jshint node: true */
+/*global config:true, task:true, process:true*/
+module.exports = function( grunt ) {
+
+       // readOptionalJSON
+       // by Ben Alman
+       // https://gist.github.com/2876125
+       function readOptionalJSON( filepath ) {
+               var data = {};
+               try {
+                       data = grunt.file.readJSON( filepath );
+                       grunt.verbose.write( "Reading " + filepath + "..." 
).ok();
+               } catch(e) {}
+               return data;
+       }
+
+       var task = grunt.task;
+       var file = grunt.file;
+       var utils = grunt.utils;
+       var log = grunt.log;
+       var verbose = grunt.verbose;
+       var fail = grunt.fail;
+       var option = grunt.option;
+       var config = grunt.config;
+       var template = grunt.template;
+       var distpaths = [
+               "dist/jquery.js",
+               "dist/jquery.min.js"
+       ];
+
+       grunt.initConfig({
+               pkg: "<json:package.json>",
+               dst: readOptionalJSON("dist/.destination.json"),
+               meta: {
+                       banner: "/*! jQuery v<%= pkg.version %> jquery.com | 
jquery.org/license */"
+               },
+               compare_size: {
+                       files: distpaths
+               },
+               selector: {
+                       "src/selector.js": [
+                               "src/sizzle-jquery.js",
+                               "src/sizzle/sizzle.js"
+                       ]
+               },
+               build: {
+                       "dist/jquery.js": [
+                               "src/intro.js",
+                               "src/core.js",
+                               "src/callbacks.js",
+                               "src/deferred.js",
+                               "src/support.js",
+                               "src/data.js",
+                               "src/queue.js",
+                               "src/attributes.js",
+                               "src/event.js",
+                               "src/selector.js",
+                               "src/traversing.js",
+                               "src/manipulation.js",
+
+                               { flag: "deprecated", src: "src/deprecated.js" 
},
+                               { flag: "css", src: "src/css.js" },
+                               "src/serialize.js",
+                               { flag: "ajax", src: "src/ajax.js" },
+                               { flag: "ajax/jsonp", src: "src/ajax/jsonp.js", 
needs: [ "ajax", "ajax/script" ]  },
+                               { flag: "ajax/script", src: 
"src/ajax/script.js", needs: ["ajax"]  },
+                               { flag: "ajax/xhr", src: "src/ajax/xhr.js", 
needs: ["ajax"]  },
+                               { flag: "effects", src: "src/effects.js", 
needs: ["css"] },
+                               { flag: "offset", src: "src/offset.js", needs: 
["css"] },
+                               { flag: "dimensions", src: "src/dimensions.js", 
needs: ["css"] },
+
+                               "src/exports.js",
+                               "src/outro.js"
+                       ]
+               },
+               min: {
+                       "dist/jquery.min.js": [ "<banner>", "dist/jquery.js" ]
+               },
+
+               lint: {
+                       dist: "dist/jquery.js",
+                       grunt: "grunt.js",
+                       tests: "test/unit/**/*.js"
+               },
+
+               jshint: (function() {
+                       function jshintrc( path ) {
+                               return readOptionalJSON( (path || "") + 
".jshintrc" ) || {};
+                       }
+
+                       return {
+                               options: jshintrc(),
+                               dist: jshintrc( "src/" ),
+                               tests: jshintrc( "test/" )
+                       };
+               })(),
+
+               qunit: {
+                       files: "test/index.html"
+               },
+               watch: {
+                       files: [
+                               "<config:lint.grunt>", "<config:lint.tests>",
+                               "src/**/*.js"
+                       ],
+                       tasks: "dev"
+               },
+               uglify: {}
+       });
+
+       // Default grunt.
+       grunt.registerTask( "default", "submodules selector build:*:* lint min 
dist:* compare_size" );
+
+       // Short list as a high frequency watch task
+       grunt.registerTask( "dev", "selector build:*:* lint" );
+
+       // Load grunt tasks from NPM packages
+       grunt.loadNpmTasks( "grunt-compare-size" );
+       grunt.loadNpmTasks( "grunt-git-authors" );
+
+       grunt.registerTask( "testswarm", function( commit, configFile ) {
+               var testswarm = require( "testswarm" ),
+                       testUrls = [],
+                       config = grunt.file.readJSON( configFile ).jquery,
+                       tests = "ajax attributes callbacks core css data 
deferred dimensions effects event manipulation offset queue serialize support 
traversing Sizzle".split(" ");
+
+               tests.forEach(function( test ) {
+                       testUrls.push( config.testUrl + commit + 
"/test/index.html?module=" + test );
+               });
+
+               testswarm({
+                       url: config.swarmUrl,
+                       pollInterval: 10000,
+                       timeout: 1000 * 60 * 30,
+                       done: this.async()
+               }, {
+                       authUsername: config.authUsername,
+                       authToken: config.authToken,
+                       jobName: 'jQuery commit #<a 
href="https://github.com/jquery/jquery/commit/' + commit + '">' + 
commit.substr( 0, 10 ) + '</a>',
+                       runMax: config.runMax,
+                       "runNames[]": tests,
+                       "runUrls[]": testUrls,
+                       "browserSets[]": ["popular"]
+               });
+       });
+
+       // Build src/selector.js
+       grunt.registerMultiTask( "selector", "Build src/selector.js", 
function() {
+
+               var name = this.file.dest,
+                               files = this.file.src,
+                               sizzle = {
+                                       api: file.read( files[0] ),
+                                       src: file.read( files[1] )
+                               },
+                               compiled, parts;
+
+               /**
+
+                       sizzle-jquery.js -> sizzle between "EXPOSE" blocks,
+                       replace define & window.Sizzle assignment
+
+
+                       // EXPOSE
+                       if ( typeof define === "function" && define.amd ) {
+                               define(function() { return Sizzle; });
+                       } else {
+                               window.Sizzle = Sizzle;
+                       }
+                       // EXPOSE
+
+                       Becomes...
+
+                       Sizzle.attr = jQuery.attr;
+                       jQuery.find = Sizzle;
+                       jQuery.expr = Sizzle.selectors;
+                       jQuery.expr[":"] = jQuery.expr.pseudos;
+                       jQuery.unique = Sizzle.uniqueSort;
+                       jQuery.text = Sizzle.getText;
+                       jQuery.isXMLDoc = Sizzle.isXML;
+                       jQuery.contains = Sizzle.contains;
+
+                */
+
+               // Break into 3 pieces
+               parts = sizzle.src.split("// EXPOSE");
+               // Replace the if/else block with api
+               parts[1] = sizzle.api;
+               // Rejoin the pieces
+               compiled = parts.join("");
+
+
+               verbose.write("Injected sizzle-jquery.js into sizzle.js");
+
+               // Write concatenated source to file
+               file.write( name, compiled );
+
+               // Fail task if errors were logged.
+               if ( this.errorCount ) {
+                       return false;
+               }
+
+               // Otherwise, print a success message.
+               log.writeln( "File '" + name + "' created." );
+       });
+
+
+       // Special "alias" task to make custom build creation less grawlix-y
+       grunt.registerTask( "custom", function() {
+               var done = this.async(),
+                               args = [].slice.call(arguments),
+                               modules = args.length ? args[0].replace(/,/g, 
":") : "";
+
+
+               // Translation example
+               //
+               //   grunt custom:+ajax,-dimensions,-effects,-offset
+               //
+               // Becomes:
+               //
+               //   grunt build:*:*:+ajax:-dimensions:-effects:-offset
+
+               grunt.log.writeln( "Creating custom build...\n" );
+
+               grunt.utils.spawn({
+                       cmd: "grunt",
+                       args: [ "build:*:*:" + modules, "min" ]
+               }, function( err, result ) {
+                       if ( err ) {
+                               grunt.verbose.error();
+                               done( err );
+                               return;
+                       }
+
+                       grunt.log.writeln( result.replace("Done, without 
errors.", "") );
+
+                       done();
+               });
+       });
+
+       // Special concat/build task to handle various jQuery build requirements
+       //
+       grunt.registerMultiTask(
+               "build",
+               "Concatenate source (include/exclude modules with +/- flags), 
embed date/version",
+               function() {
+                       // Concat specified files.
+                       var i,
+                               compiled = "",
+                               modules = this.flags,
+                               explicit = Object.keys(modules).length > 1,
+                               optIn = !modules["*"],
+                               name = this.file.dest,
+                               excluded = {},
+                               version = config( "pkg.version" ),
+                               excluder = function( flag, needsFlag ) {
+                                       // explicit > implicit, so set this 
first and let it be overridden by explicit
+                                       if ( optIn && !modules[ flag ] && 
!modules[ "+" + flag ] ) {
+                                               excluded[ flag ] = false;
+                                       }
+
+                                       if ( excluded[ needsFlag ] || modules[ 
"-" + flag ] ) {
+                                               // explicit exclusion from flag 
or dependency
+                                               excluded[ flag ] = true;
+                                       } else if ( modules[ "+" + flag ] && ( 
excluded[ needsFlag ] === false ) ) {
+                                               // explicit inclusion from flag 
or dependency overriding a weak inclusion
+                                               delete excluded[ needsFlag ];
+                                       }
+                               };
+
+                       // append commit id to version
+                       if ( process.env.COMMIT ) {
+                               version += " " + process.env.COMMIT;
+                       }
+
+                       // figure out which files to exclude based on these 
rules in this order:
+                       //  explicit > implicit (explicit also means a 
dependency/dependent that was explicit)
+                       //  exclude > include
+                       // examples:
+                       //  *:                 none (implicit exclude)
+                       //  *:*                all (implicit include)
+                       //  *:*:-effects       all except effects (explicit > 
implicit)
+                       //  *:*:-css           all except css and its deps 
(explicit)
+                       //  *:*:-css:+effects  all except css and its deps 
(explicit exclude from dep. trumps explicit include)
+                       //  *:+effects         none except effects and its deps 
(explicit include from dep. trumps implicit exclude)
+                       this.file.src.forEach(function( filepath ) {
+                               var flag = filepath.flag;
+
+                               if ( flag ) {
+
+                                       excluder(flag);
+
+                                       // check for dependencies
+                                       if ( filepath.needs ) {
+                                               
filepath.needs.forEach(function( needsFlag ) {
+                                                       excluder( flag, 
needsFlag );
+                                               });
+                                       }
+                               }
+                       });
+
+                       // append excluded modules to version
+                       if ( Object.keys( excluded ).length ) {
+                               version += " -" + Object.keys( excluded ).join( 
",-" );
+                               // set pkg.version to version with excludes, so 
minified file picks it up
+                               grunt.config.set( "pkg.version", version );
+                       }
+
+
+                       // conditionally concatenate source
+                       this.file.src.forEach(function( filepath ) {
+                               var flag = filepath.flag,
+                                               specified = false,
+                                               omit = false,
+                                               message = "";
+
+                               if ( flag ) {
+                                       if ( excluded[ flag ] !== undefined ) {
+                                               message = ( "Excluding " + flag 
).red;
+                                               specified = true;
+                                               omit = true;
+                                       } else {
+                                               message = ( "Including " + flag 
).green;
+
+                                               // If this module was actually 
specified by the
+                                               // builder, then st the flag to 
include it in the
+                                               // output list
+                                               if ( modules[ "+" + flag ] ) {
+                                                       specified = true;
+                                               }
+                                       }
+
+                                       // Only display the inclusion/exclusion 
list when handling
+                                       // an explicit list.
+                                       //
+                                       // Additionally, only display modules 
that have been specified
+                                       // by the user
+                                       if ( explicit && specified ) {
+                                               grunt.log.writetableln([ 27, 30 
], [
+                                                       message,
+                                                       ( "(" + filepath.src + 
")").grey
+                                               ]);
+                                       }
+
+                                       filepath = filepath.src;
+                               }
+
+                               if ( !omit ) {
+                                       compiled += file.read( filepath );
+                               }
+                       });
+
+                       // Embed Date
+                       // Embed Version
+                       compiled = compiled.replace( "@DATE", new Date() )
+                               .replace( /@VERSION/g, version );
+
+                       // Write concatenated source to file
+                       file.write( name, compiled );
+
+                       // Fail task if errors were logged.
+                       if ( this.errorCount ) {
+                               return false;
+                       }
+
+                       // Otherwise, print a success message.
+                       log.writeln( "File '" + name + "' created." );
+               });
+
+       grunt.registerTask( "submodules", function() {
+               var done = this.async();
+
+               grunt.verbose.write( "Updating submodules..." );
+
+               // TODO: migrate remaining `make` to grunt tasks
+               //
+               grunt.utils.spawn({
+                       cmd: "make"
+               }, function( err, result ) {
+                       if ( err ) {
+                               grunt.verbose.error();
+                               done( err );
+                               return;
+                       }
+
+                       grunt.log.writeln( result );
+
+                       done();
+               });
+       });
+
+       // Allow custom dist file locations
+       grunt.registerTask( "dist", function() {
+               var flags, paths, stored;
+
+               // Check for stored destination paths
+               // ( set in dist/.destination.json )
+               stored = Object.keys( config("dst") );
+
+               // Allow command line input as well
+               flags = Object.keys( this.flags );
+
+               // Combine all output target paths
+               paths = [].concat( stored, flags ).filter(function( path ) {
+                       return path !== "*";
+               });
+
+
+               // Proceed only if there are actual
+               // paths to write to
+               if ( paths.length ) {
+
+                       // 'distpaths' is declared at the top of the
+                       // module.exports function scope. It is an array
+                       // of default files that jQuery creates
+                       distpaths.forEach(function( filename ) {
+                               paths.forEach(function( path ) {
+                                       var created;
+
+                                       if ( !/\/$/.test( path ) ) {
+                                               path += "/";
+                                       }
+
+                                       created = path + filename.replace( 
"dist/", "" );
+
+                                       if ( !/^\//.test( path ) ) {
+                                               log.error( "File '" + created + 
"' was NOT created." );
+                                               return;
+                                       }
+
+                                       file.write( created, 
file.read(filename) );
+
+                                       log.writeln( "File '" + created + "' 
created." );
+                               });
+                       });
+               }
+       });
+};


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to