updated elasticsearch-js to use master branch on github
This commit is contained in:
parent
5a4aa292b4
commit
70589f1834
|
@ -4,7 +4,9 @@
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"description": "Kibana TNG",
|
"description": "Kibana TNG",
|
||||||
"main": "Gulpfile.js",
|
"main": "Gulpfile.js",
|
||||||
"dependencies": {},
|
"dependencies": {
|
||||||
|
"elasticsearch": "git://github.com/elasticsearch/elasticsearch-js.git#master"
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"lodash": "~2.4.1",
|
"lodash": "~2.4.1",
|
||||||
"expect.js": "~0.2.0",
|
"expect.js": "~0.2.0",
|
||||||
|
|
13
src/bower_components/elasticsearch/.bower.json
vendored
13
src/bower_components/elasticsearch/.bower.json
vendored
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "elasticsearch",
|
"name": "elasticsearch",
|
||||||
"version": "1.5.10",
|
"version": "2.1.4",
|
||||||
"authors": [
|
"authors": [
|
||||||
"Spencer Alger <spencer@spenceralger.com>"
|
"Spencer Alger <spencer@spenceralger.com>"
|
||||||
],
|
],
|
||||||
|
@ -12,13 +12,14 @@
|
||||||
],
|
],
|
||||||
"license": "Apache 2.0",
|
"license": "Apache 2.0",
|
||||||
"homepage": "https://github.com/elasticsearch/bower-elasticsearch-js",
|
"homepage": "https://github.com/elasticsearch/bower-elasticsearch-js",
|
||||||
"_release": "1.5.10",
|
"_release": "2.1.4",
|
||||||
"_resolution": {
|
"_resolution": {
|
||||||
"type": "version",
|
"type": "version",
|
||||||
"tag": "v1.5.10",
|
"tag": "v2.1.4",
|
||||||
"commit": "adcf5f1793fed158022d8a5baa106d27a754d707"
|
"commit": "c80f81c220ca5087ddc79257280261fe40452aba"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/elasticsearch/bower-elasticsearch-js.git",
|
"_source": "git://github.com/elasticsearch/bower-elasticsearch-js.git",
|
||||||
"_target": "*",
|
"_target": "~2.1.4",
|
||||||
"_originalSource": "elasticsearch"
|
"_originalSource": "elasticsearch",
|
||||||
|
"_direct": true
|
||||||
}
|
}
|
50
src/bower_components/elasticsearch/README.md
vendored
50
src/bower_components/elasticsearch/README.md
vendored
|
@ -1,50 +0,0 @@
|
||||||
# elasticsearch
|
|
||||||
|
|
||||||
Elasticsearch client builds for bower.
|
|
||||||
|
|
||||||
# Install
|
|
||||||
|
|
||||||
Install with `bower`
|
|
||||||
```
|
|
||||||
bower install elasticsearch
|
|
||||||
```
|
|
||||||
|
|
||||||
Add a `<script>` to your html file and off you go!:
|
|
||||||
```
|
|
||||||
<script src="/bower_components/elasticsearch/elasticsearch.js"></script>
|
|
||||||
<script>
|
|
||||||
var client = elasticsearch.Client({
|
|
||||||
host: 'localhost:9200'
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
```
|
|
||||||
|
|
||||||
## If you are using Angular
|
|
||||||
Use `elasticsearch.angular.js` instead. This will create an `elasticsearch` module with an `esFactory` that you can use.
|
|
||||||
```
|
|
||||||
/*
|
|
||||||
* create your app module, specify "elasticsearch" as a dependency
|
|
||||||
*/
|
|
||||||
var app = angular.module('myApp', ['elasticsearch']);
|
|
||||||
|
|
||||||
/*
|
|
||||||
* create a service, which provides your elasticsearch client
|
|
||||||
* to other parts of your application
|
|
||||||
*/
|
|
||||||
app.service('es', function (esFactory) {
|
|
||||||
return esFactory({
|
|
||||||
host: 'localhost:9200',
|
|
||||||
// ...
|
|
||||||
});
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
## If you are using jQuery
|
|
||||||
Use elasticsearch.jquery.js` instead. Rather than a global `elasticsearch` it will create a `jQuery.es` namespace.
|
|
||||||
```
|
|
||||||
var client = new $.es.Client({
|
|
||||||
hosts: 'localhost:9200'
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
# Submit Issues, Pull Requests, etc to [elasticsearch-js](https://github.com/elasticsearch/elasticsearch-js).
|
|
14
src/bower_components/elasticsearch/bower.json
vendored
14
src/bower_components/elasticsearch/bower.json
vendored
|
@ -1,14 +0,0 @@
|
||||||
{
|
|
||||||
"name": "elasticsearch",
|
|
||||||
"version": "1.5.10",
|
|
||||||
"authors": [
|
|
||||||
"Spencer Alger <spencer@spenceralger.com>"
|
|
||||||
],
|
|
||||||
"description": "The official low-level Elasticsearch client, for use in the browser.",
|
|
||||||
"main": "elasticsearch.js",
|
|
||||||
"keywords": [
|
|
||||||
"elasticsearch",
|
|
||||||
"client"
|
|
||||||
],
|
|
||||||
"license": "Apache 2.0"
|
|
||||||
}
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
12095
src/bower_components/elasticsearch/elasticsearch.js
vendored
12095
src/bower_components/elasticsearch/elasticsearch.js
vendored
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue