We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23519f0 commit 71db785Copy full SHA for 71db785
src/plots/plots.js
@@ -41,7 +41,8 @@ plots.fontWeight = 'normal';
41
*/
42
plots.register = function(_module, thisType, categoriesIn, meta) {
43
if(modules[thisType]) {
44
- throw new Error('type ' + thisType + ' already registered');
+ console.warn('type ' + thisType + ' already registered');
45
+ return;
46
}
47
48
var categoryObj = {};
0 commit comments