From cdc56e703c11f01ed074e814be446e49684b6112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Thu, 14 Sep 2017 17:10:51 +0200 Subject: [PATCH] Rename BaseWidget by BaseDataview --- lib/cartodb/models/dataview/list.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cartodb/models/dataview/list.js b/lib/cartodb/models/dataview/list.js index b241819e..064a4cdc 100644 --- a/lib/cartodb/models/dataview/list.js +++ b/lib/cartodb/models/dataview/list.js @@ -1,4 +1,4 @@ -var BaseWidget = require('./base'); +var BaseDataview = require('./base'); var TYPE = 'list'; @@ -20,13 +20,13 @@ function List(query, options) { throw new Error('List expects `columns` array in widget options'); } - BaseWidget.apply(this); + BaseDataview.apply(this); this.query = query; this.columns = options.columns; } -List.prototype = new BaseWidget(); +List.prototype = new BaseDataview(); List.prototype.constructor = List; module.exports = List;