Stackedit/js/main.js

23 lines
551 B
JavaScript
Raw Normal View History

2013-04-02 18:42:47 +00:00
requirejs.config({
paths: {
custo: [
'dev/custo',
'prod/custo'
]
},
shim: {
'jquery-ui': ['jquery'],
'bootstrap': ['jquery'],
'jgrowl': ['jquery'],
'layout': ['jquery-ui'],
'Markdown.Sanitizer': ['Markdown.Converter'],
'Markdown.Editor': ['Markdown.Sanitizer']
}
});
require(["jquery", "core", "file-manager", "config", "custo"], function($, core, fileManager) {
2013-03-24 19:42:15 +00:00
$(function() {
2013-03-27 15:28:31 +00:00
core.init();
fileManager.init();
2013-03-24 19:42:15 +00:00
});
2013-04-02 18:42:47 +00:00
});