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 03232e0 commit 28def12Copy full SHA for 28def12
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