jettro/c3-angular-directive

Using c3-angular with require.js - problem!!

Offen

#83 geöffnet am 01.01.2016

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (96 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (201 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Hello, I am introducing require.js modularisation in my app, which uses c3-angular.

I get an error c3 is not defined which puzzles me a lot, because I have specified that c3-angular depends on c3.

Here are a couple of my requirejs shims for c3-angular. Have you got any experience with this sort issues?

'c3-angular' : { deps: ['angular','c3'] },
'c3' : { deps: ['d3'], exports: 'c3' },   

One of the major reasons of trouble in this case is that all c3-angular code is minified. An uncompressed version would help me enormously with analyzing this problem, and I am opening another issue just for that.

Contributor Guide