Wrap existing JS modules in AMD module style

This commit is contained in:
Tautvidas Sipavičius
2015-08-12 16:33:15 +03:00
parent c1f9fb915b
commit 91f839dc49
9 changed files with 2183 additions and 999 deletions

View File

@@ -1,6 +1,14 @@
jQuery(function($) {
// dom ready
$(function() {
define('admin', [
'./ajax',
'notice.js',
'modal.js',
'lib/handlebars.min.js',
'handlebars_helpers.js'
], function() {
jQuery(function($) {
// dom ready
$(function() {
});
});
});