Skip to content

EpicEditor with Module Loaders

Oscar Godson edited this page Jul 6, 2013 · 2 revisions

RequireJS

In the requirejs config:

paths: {
    [...],
    'marked': 'libs/EpicEditor-v0.2.1.1/js/epiceditor'
}

In file that needs EpicEditor loaded:

define([
  'marked'
], function(marked){

Thanks @aaronz8