diff options
Diffstat (limited to 'sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/src/app/data/dataSourceInterface.js')
-rw-r--r-- | sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/src/app/data/dataSourceInterface.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/src/app/data/dataSourceInterface.js b/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/src/app/data/dataSourceInterface.js deleted file mode 100644 index 001d53225..000000000 --- a/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/plugins/head/src/app/data/dataSourceInterface.js +++ /dev/null @@ -1,24 +0,0 @@ -(function( app ) { - - var data = app.ns("data"); - var ux = app.ns("ux"); - - data.DataSourceInterface = ux.Observable.extend({ - /* - properties - meta = { total: 0 }, - headers = [ { name: "" } ], - data = [ { column: value, column: value } ], - sort = { column: "name", dir: "desc" } - events - data: function( DataSourceInterface ) - */ - _getSummary: function(res) { - this.summary = i18n.text("TableResults.Summary", res._shards.successful, res._shards.total, res.hits.total, (res.took / 1000).toFixed(3)); - }, - _getMeta: function(res) { - this.meta = { total: res.hits.total, shards: res._shards, tool: res.took }; - } - }); - -})( this.app );
\ No newline at end of file |