File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1953,5 +1953,8 @@ Examples:
19531953*/
19541954 jsPDF . API = { 'events' : [ ] } ;
19551955
1956+ if ( typeof define === 'function' ) {
1957+ define ( function ( ) { return jsPDF } ) ;
1958+ }
19561959 return global . jsPDF = jsPDF ;
19571960} ( this ) ) ;
Original file line number Diff line number Diff line change @@ -38,10 +38,10 @@ def minifyfiles(context):
3838 minified .text = compress_with_closure_compiler ( dst .text )
3939
4040 # AMD-compatible version:
41- (minified - '.min.js' + '.amd.min.js' ).text = """;(function(){
42- %s
43- ;define(function(){return jsPDF})})();
44- """ % minified .text
41+ # (minified - '.min.js' + '.amd.min.js').text = """;(function(){
42+ # %s
43+ # ;define(function(){return jsPDF})})();
44+ # """ % minified.text
4545
4646 # jQuery "NoConflict" version:
4747 # only needed if some of the modules compiled into jsPDF need $
You can’t perform that action at this time.
0 commit comments