diff --git a/jspdf.js b/jspdf.js index f6b40e6a6..8fc10bbc9 100644 --- a/jspdf.js +++ b/jspdf.js @@ -1695,7 +1695,7 @@ var jsPDF = (function(global) { jsPDF.API = {events:[]}; jsPDF.version = "1.0.0-trunk"; - if (typeof define === 'function') { + if (typeof define === 'function' && define.amd) { define(function() { return jsPDF; });