Stackedit/js/main.js
2013-04-03 19:12:19 +01:00

23 lines
551 B
JavaScript

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) {
$(function() {
core.init();
fileManager.init();
});
});