8000 lib: rm lib/plotcss_utils.js <-> lib/index.js circular dep · codejets/plotly.js@e37d88b · GitHub
[go: up one dir, main page]

Skip to content

Commit e37d88b

Browse files
committed
lib: rm lib/plotcss_utils.js <-> lib/index.js circular dep
1 parent 7e5d706 commit e37d88b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/plotcss_utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
'use strict';
1111

12-
var lib = require('./index');
12+
var loggers = require('./loggers');
1313
var plotcss = require('../../build/plotcss');
1414

1515
// Inject styling information into the document containing the graph div
@@ -43,8 +43,8 @@ exports.injectStyles = function injectStyles(gd) {
4343
else if(targetStyleSheet.addRule) {
4444
targetStyleSheet.addRule(fullSelector, plotcss[selector], 0);
4545
}
46-
else lib.warn('injectStyles failed');
4746
}
47+
else loggers.warn('injectStyles failed');
4848
}
4949

5050
gd._plotCSSLoaded = true;

0 commit comments

Comments
 (0)
0