Rename all 'widget' ocurrences by 'dataview'

This commit is contained in:
Daniel García Aubert 2017-09-14 16:12:39 +02:00
parent 746292610a
commit cc2cf78264

View File

@ -196,11 +196,11 @@ module.exports = class Aggregation extends BaseDataview {
super();
if (typeof options.column !== 'string') {
throw new Error(`Aggregation expects 'column' in widget options`);
throw new Error(`Aggregation expects 'column' in dataview options`);
}
if (typeof options.aggregation !== 'string') {
throw new Error(`Aggregation expects 'aggregation' operation in widget options`);
throw new Error(`Aggregation expects 'aggregation' operation in dataview options`);
}
if (!VALID_OPERATIONS[options.aggregation]) {