More fixes.

pull/12928/head
nobuti 7 years ago
parent 4325674cee
commit 629a93096d

@ -16,7 +16,7 @@ class AuthenticatedClient extends PublicClient {
getDerivedVisualizations (options, callback) {
const VIZ_API_PATH = `api/v1/viz`;
var params = Object.assign({}, {
var params = Object.assign({
type: 'derived',
privacy: 'public'
}, options);

@ -225,9 +225,9 @@ module.exports = cdb.core.View.extend({
cdb.god.trigger('closeDialogs');
},
clear: function () {
clean: function () {
$(window).off('resize', this._onWindowResize);
this.el.removeEventListener('orientationchange', this._onOrientationChange);
cdb.core.View.prototype.clear.call(this);
cdb.core.View.prototype.clean.call(this);
}
});

@ -1,4 +1,3 @@
describe('Form', function() {
var view;
beforeEach(function() {

@ -1,4 +1,5 @@
var _ = require('underscore');
var $ = require('jquery-cdb-v3');
var _ = require('underscore-cdb-v3');
var cdb = require('cartodb.js-v3');
var PublicMapDatasetsStatic = require('../../../../javascripts/cartodb/public_map/public_map_datasets_static');
var vizdataJson = require('../../vizdata_sample.json');

@ -1,4 +1,5 @@
var _ = require('underscore');
var $ = require('jquery-cdb-v3');
var _ = require('underscore-cdb-v3');
var cdb = require('cartodb.js-v3');
var PublicMapInfoView = require('../../../../javascripts/cartodb/public_map/public_map_info_static');
var vizdataJson = require('../../vizdata_sample.json');
@ -52,7 +53,7 @@ describe('public_map/public_map_info_static', function () {
it('should have three visible tags', function () {
var vizdataWithTags = _.extend(VIZDATA, {
tags: ['tag1', 'tag2']
})
});
this.view = new PublicMapInfoView({
currentUser: CURRENT_USER,

@ -9,7 +9,6 @@ exports.task = function () {
'test_specs_for_browserify_modules',
'dashboard_static',
'profile_static',
'password_protected_static',
'public_map_static'
];

Loading…
Cancel
Save