Skip to content

Commit c3a8b48

Browse files
committed
wrap Plotly to avoid unexpected character
1 parent 4bbe89a commit c3a8b48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
'use strict';
22

3-
var Plotly = require('../src/core');
3+
var core = require('../src/core');
44

5-
Plotly.register([
5+
core.register([
66
require('../src/traces/bar'),
77
require('../src/traces/box'),
88
require('../src/traces/heatmap'),
@@ -56,4 +56,4 @@ Plotly.register([
5656
require('../src/components/calendars')
5757
]);
5858

59-
module.exports = Plotly;
59+
module.exports = (function(Plotly) { return Plotly; })(core);

0 commit comments

Comments
 (0)