From e50396f5ae057a1c3f2984b2030d273b2cc43a21 Mon Sep 17 00:00:00 2001 From: Maxim Kadushkin Date: Mon, 31 Oct 2016 15:59:10 +0300 Subject: [PATCH] [DE] refactoring --- apps/documenteditor/embed/js/application.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/apps/documenteditor/embed/js/application.js b/apps/documenteditor/embed/js/application.js index 541640578..41d5f8cc9 100644 --- a/apps/documenteditor/embed/js/application.js +++ b/apps/documenteditor/embed/js/application.js @@ -30,11 +30,7 @@ * terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode * */ -(function ($) { - - $(function(){ - ApplicationView.create(); - ApplicationController.create(); - }) - -})(window.jQuery); ++function ($) { + ApplicationView.create(); + ApplicationController.create(); +}();