UNPKG

275 BJavaScriptView Raw
1'use strict';
2
3const _ = require('lodash');
4
5class Query {
6 constructor() {
7 this._score = [];
8 this._filter = [];
9 }
10
11 filter(view) {
12 this._filter.push(view);
13 }
14
15 score(view) {
16 this._score.push(view);
17 }
18
19 render(vs) {
20
21 }
22
23}
24
25module.exports = Query;