Permalink
Browse files

Merge pull request #310 from vuongdothanhhuy/requirejs-patch

requirejs patch for anonymous define() - closes #288
  • Loading branch information...
2 parents 08f795d + 6f9361b commit 8fb976ef54ac3bf1521c19f6333991bc46e43203 @diegocr diegocr committed Jul 17, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 dist/jspdf.debug.js
  2. +1 −1 jspdf.js
View
@@ -1700,7 +1700,7 @@ var jsPDF = (function(global) {
jsPDF.version = "1.0.178-debug 2014-06-27T15:34:diegocr";
if (typeof define === 'function' && define.amd) {
- define(function() {
+ define('jsPDF', function() {
return jsPDF;
});
} else {
View
@@ -1700,7 +1700,7 @@ var jsPDF = (function(global) {
jsPDF.version = "1.0.0-trunk";
if (typeof define === 'function' && define.amd) {
- define(function() {
+ define('jsPDF', function() {
return jsPDF;
});
} else {

0 comments on commit 8fb976e

Please sign in to comment.