medium-editor
Version:
Medium.com WYSIWYG editor clone.
16 lines (14 loc) • 503 B
JavaScript
(function (root, factory) {
'use strict';
var isElectron = typeof module === 'object' && typeof process !== 'undefined' && process && process.versions && process.versions.electron;
if (!isElectron && typeof module === 'object') {
module.exports = factory;
} else if (typeof define === 'function' && define.amd) {
define(function () {
return factory;
});
} else {
root.MediumEditor = factory;
}
}(this, function () {
'use strict';