mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
Merge pull request #225 from adamcarr/master
fix(amd): remove define module name as it breaks aliasing the module name
This commit is contained in:
commit
1011c0f7ac
BIN
dist/showdown.js
vendored
BIN
dist/showdown.js
vendored
Binary file not shown.
BIN
dist/showdown.js.map
vendored
BIN
dist/showdown.js.map
vendored
Binary file not shown.
BIN
dist/showdown.min.js
vendored
BIN
dist/showdown.min.js
vendored
Binary file not shown.
BIN
dist/showdown.min.js.map
vendored
BIN
dist/showdown.min.js.map
vendored
Binary file not shown.
|
@ -6,7 +6,7 @@ if (typeof module !== 'undefined' && module.exports) {
|
|||
|
||||
// AMD Loader
|
||||
} else if (typeof define === 'function' && define.amd) {
|
||||
define('showdown', function () {
|
||||
define(function () {
|
||||
'use strict';
|
||||
return showdown;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user