removed global var

v1.18.x
barisusakli 10 years ago
parent 8e8375cbba
commit 81a5a4cfe0

@ -2,7 +2,7 @@
/* globals define, socket, app, config, ajaxify, utils, translator, templates, bootbox */ /* globals define, socket, app, config, ajaxify, utils, translator, templates, bootbox */
var dependencies = [ define('composer', [
'taskbar', 'taskbar',
'composer/controls', 'composer/controls',
'composer/uploads', 'composer/uploads',
@ -12,9 +12,7 @@ var dependencies = [
'composer/categoryList', 'composer/categoryList',
'composer/preview', 'composer/preview',
'composer/resize' 'composer/resize'
]; ], function(taskbar, controls, uploads, formatting, drafts, tags, categoryList, preview, resize) {
define('composer', dependencies, function(taskbar, controls, uploads, formatting, drafts, tags, categoryList, preview, resize) {
var composer = { var composer = {
active: undefined, active: undefined,
posts: {}, posts: {},

Loading…
Cancel
Save