mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
updated elasticsearch-js to use master branch on github
This commit is contained in:
parent
5a4aa292b4
commit
70589f1834
10 changed files with 22256 additions and 1440 deletions
|
@ -4,7 +4,9 @@
|
|||
"version": "0.0.0",
|
||||
"description": "Kibana TNG",
|
||||
"main": "Gulpfile.js",
|
||||
"dependencies": {},
|
||||
"dependencies": {
|
||||
"elasticsearch": "git://github.com/elasticsearch/elasticsearch-js.git#master"
|
||||
},
|
||||
"devDependencies": {
|
||||
"lodash": "~2.4.1",
|
||||
"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",
|
||||
"version": "1.5.10",
|
||||
"version": "2.1.4",
|
||||
"authors": [
|
||||
"Spencer Alger <spencer@spenceralger.com>"
|
||||
],
|
||||
|
@ -12,13 +12,14 @@
|
|||
],
|
||||
"license": "Apache 2.0",
|
||||
"homepage": "https://github.com/elasticsearch/bower-elasticsearch-js",
|
||||
"_release": "1.5.10",
|
||||
"_release": "2.1.4",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "v1.5.10",
|
||||
"commit": "adcf5f1793fed158022d8a5baa106d27a754d707"
|
||||
"tag": "v2.1.4",
|
||||
"commit": "c80f81c220ca5087ddc79257280261fe40452aba"
|
||||
},
|
||||
"_source": "git://github.com/elasticsearch/bower-elasticsearch-js.git",
|
||||
"_target": "*",
|
||||
"_originalSource": "elasticsearch"
|
||||
"_target": "~2.1.4",
|
||||
"_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…
Add table
Add a link
Reference in a new issue