harbour-nextcloudnotes/qml/js/showdown-1.9.0/src/loader.js

18 lines
334 B
JavaScript
Raw Normal View History

var root = this;
// AMD Loader
if (typeof define === 'function' && define.amd) {
define(function () {
'use strict';
return showdown;
});
// CommonJS/nodeJS Loader
} else if (typeof module !== 'undefined' && module.exports) {
module.exports = showdown;
// Regular Browser loader
} else {
root.showdown = showdown;
}