Skip to content

Commit 06c805d

Browse files
committed
lint: rm useless comments in transform modules
1 parent 96bcbfc commit 06c805d

File tree

2 files changed

+3
-20
lines changed

2 files changed

+3
-20
lines changed

src/transforms/filter.js

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,12 @@
1010

1111
var isNumeric = require('fast-isnumeric');
1212

13-
// var Lib = require('@src/lib');
1413
var Lib = require('../lib');
1514

16-
/* eslint no-unused-vars: 0*/
17-
18-
// so that Plotly.register knows what to do with it
1915
exports.moduleType = 'transform';
2016

21-
// determines to link between transform type and transform module
2217
exports.name = 'filter';
2318

24-
// ... as trace attributes
2519
exports.attributes = {
2620
operation: {
2721
valType: 'enumerated',
@@ -35,11 +29,7 @@ exports.attributes = {
3529
filtersrc: {
3630
valType: 'enumerated',
3731
values: ['x', 'y', 'ids'],
38-
dflt: 'x',
39-
ids: {
40-
valType: 'data_array',
41-
description: 'A list of keys for object constancy of data points during animation'
42-
}
32+
dflt: 'x'
4333
}
4434
};
4535

@@ -56,7 +46,7 @@ exports.attributes = {
5646
* @return {object} transformOut
5747
* copy of transformIn that contains attribute defaults
5848
*/
59-
exports.supplyDefaults = function(transformIn, fullData, layout) {
49+
exports.supplyDefaults = function(transformIn) {
6050
var transformOut = {};
6151

6252
function coerce(attr, dflt) {

src/transforms/groupby.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,12 @@
88

99
'use strict';
1010

11-
// var Lib = require('@src/lib');
1211
var Lib = require('../lib');
1312

14-
/* eslint no-unused-vars: 0*/
15-
16-
17-
// so that Plotly.register knows what to do with it
1813
exports.moduleType = 'transform';
1914

20-
// determines to link between transform type and transform module
2115
exports.name = 'groupby';
2216

23-
// ... as trace attributes
2417
exports.attributes = {
2518
active: {
2619
valType: 'boolean',
@@ -49,7 +42,7 @@ exports.attributes = {
4942
* @return {object} transformOut
5043
* copy of transformIn that contains attribute defaults
5144
*/
52-
exports.supplyDefaults = function(transformIn, fullData, layout) {
45+
exports.supplyDefaults = function(transformIn) {
5346
var transformOut = {};
5447

5548
function coerce(attr, dflt) {

0 commit comments

Comments
 (0)