Skip to content

Commit

Permalink
patch to export c3 as window.c3 again
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings committed Jul 28, 2017
1 parent f0b7201 commit b92147d
Show file tree
Hide file tree
Showing 4 changed files with 13,776 additions and 13,654 deletions.
3 changes: 2 additions & 1 deletion entry.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
window.PubNub = require('pubnub');
window.c3 = require('c3');
require('./node_modules/c3/c3.css');
module.exports = function(options) {
eonChart = require('./src/pubnub-c3');
return new eonChart(options, require('c3'), require("visibilityjs"));
return new eonChart(options, window.c3, require("visibilityjs"), window.PubNub);
};
Loading

0 comments on commit b92147d

Please sign in to comment.