push browser_buils to their own page

This commit is contained in:
Spencer Alger
2014-05-08 17:43:27 -07:00
parent 81ecbd5be3
commit dbf2de3319

View File

@ -1,11 +1,11 @@
[[browser-builds]]
==== Browser Builds
== Browser Builds
We also provide builds of the elasticsearch.js client for use in the browser. These versions of the client are currently ***experimental***. We test these builds using https://saucelabs.com/u/elasticsearch-js[saucelabs] in Chrome, Firefox, and Internet Explorer 10, and 11.
While there is https://github.com/elasticsearch/elasticsearch-js/issues/96#issuecomment-42617480[a way to get it working in IE 9], the browser severly limits what you can do with cross-domain requests. Because of these limits, many of the API calls and other functionality do not work.
===== Bower
=== Bower
If you use bower to manage your dependencies, then just run:
[source,shell]
@ -13,11 +13,12 @@ If you use bower to manage your dependencies, then just run:
bower install elasticsearch
---------
===== Download
=== Download
* v2.1.4: https://download.elasticsearch.org/elasticsearch/elasticsearch-js/elasticsearch-js-2.1.4.zip[zip], https://download.elasticsearch.org/elasticsearch/elasticsearch-js/elasticsearch-js-2.1.4.tar.gz[tar.gz]
===== Angular Build (elasticsearch.angular.js)
=== Angular Build
* use the file named `elasticsearch.angular.js` or `elasticsearch.angular.min.js`
* Registers the elasticsearch object as a factory `esFactory`
* Uses Angular's `$http` service
* Returns promises using Angular's `$q` service to properly trigger digest cycles within Angular
@ -33,7 +34,8 @@ module.service('es', function (esFactory) {
});
-------------------
===== jQuery Build (elasticsearch.jquery.js)
=== jQuery Build
* use the file named `elasticsearch.jquery.js` or `elasticsearch.jquery.min.js`
* Uses jQuery's `.ajax()` functionality
* Returns jQuery "promises"
* Registers the module at `jQuery.es`