Skip to content

Commit

Permalink
修复导出对象为构造函数
Browse files Browse the repository at this point in the history
  • Loading branch information
阿发 authored May 8, 2017
1 parent 0599e12 commit 81bdc04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awesome-qr.js
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,7 @@ var AwesomeQRCode;

(function (window, factory) {
if (typeof exports === 'object') {
module.exports = factory();
module.exports = factory;
} else if (typeof define === 'function' && define.amd) {
define(factory);
} else {
Expand Down

0 comments on commit 81bdc04

Please sign in to comment.