From 4f8f63c0e8d28ed484929754064dd693aaaf8994 Mon Sep 17 00:00:00 2001 From: Austin Murdock Date: Thu, 7 May 2015 11:35:10 -0500 Subject: [PATCH] fix(AMD-module): updating to enforce the AMD standard https://github.com/amdjs/amdjs-api/blob/master/AMD.md designates that the factory should be a function. --- c3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c3.js b/c3.js index 49d8fd3..8ffbe02 100644 --- a/c3.js +++ b/c3.js @@ -7091,7 +7091,7 @@ } if (typeof define === 'function' && define.amd) { - define("c3", ["d3"], c3); + define("c3", ["d3"], function () { return c3; }); } else if ('undefined' !== typeof exports && 'undefined' !== typeof module) { module.exports = c3; } else {