-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patch to export c3 as window.c3 again
- Loading branch information
1 parent
f0b7201
commit b92147d
Showing
4 changed files
with
13,776 additions
and
13,654 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | ||
}; |
Oops, something went wrong.