[DE] refactoring
This commit is contained in:
		
							parent
							
								
									a3e7dbab24
								
							
						
					
					
						commit
						873b9e6695
					
				| 
						 | 
				
			
			@ -56,7 +56,7 @@ require.config({
 | 
			
		|||
        socketio        : '../vendor/socketio/socket.io.min',
 | 
			
		||||
        allfonts        : '../../sdkjs/common/AllFonts',
 | 
			
		||||
        sdk             : '../../sdkjs/word/sdk-all-min',
 | 
			
		||||
        api             : 'api/documents/api',
 | 
			
		||||
        // api             : 'api/documents/api',
 | 
			
		||||
        core            : 'common/main/lib/core/application',
 | 
			
		||||
        notification    : 'common/main/lib/core/NotificationCenter',
 | 
			
		||||
        keymaster       : 'common/main/lib/core/keymaster',
 | 
			
		||||
| 
						 | 
				
			
			@ -128,7 +128,7 @@ require([
 | 
			
		|||
    'bootstrap',
 | 
			
		||||
    'core',
 | 
			
		||||
    'sdk',
 | 
			
		||||
    'api',
 | 
			
		||||
    // 'api',
 | 
			
		||||
    'analytics',
 | 
			
		||||
    'gateway',
 | 
			
		||||
    'locale'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2284,7 +2284,8 @@ define([
 | 
			
		|||
            onServerVersion: function(buildVersion) {
 | 
			
		||||
                if (this.changeServerVersion) return true;
 | 
			
		||||
 | 
			
		||||
                if (DocsAPI.DocEditor.version() !== buildVersion && !window.compareVersions) {
 | 
			
		||||
                const cur_version = this.getApplication().getController('LeftMenu').leftMenu.getMenu('about').txtVersionNum;
 | 
			
		||||
                if (!window.compareVersions && cur_version !== buildVersion) {
 | 
			
		||||
                    this.changeServerVersion = true;
 | 
			
		||||
                    Common.UI.warning({
 | 
			
		||||
                        title: this.titleServerVersion,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -54,7 +54,7 @@ require.config({
 | 
			
		|||
        jmousewheel     : '../vendor/perfect-scrollbar/src/jquery.mousewheel',
 | 
			
		||||
        xregexp         : '../vendor/xregexp/xregexp-all-min',
 | 
			
		||||
        socketio        : '../vendor/socketio/socket.io.min',
 | 
			
		||||
        api             : 'api/documents/api',
 | 
			
		||||
        // api             : 'api/documents/api',
 | 
			
		||||
        core            : 'common/main/lib/core/application',
 | 
			
		||||
        notification    : 'common/main/lib/core/NotificationCenter',
 | 
			
		||||
        keymaster       : 'common/main/lib/core/keymaster',
 | 
			
		||||
| 
						 | 
				
			
			@ -116,7 +116,7 @@ require([
 | 
			
		|||
    'backbone',
 | 
			
		||||
    'bootstrap',
 | 
			
		||||
    'core',
 | 
			
		||||
    'api',
 | 
			
		||||
    // 'api',
 | 
			
		||||
    'analytics',
 | 
			
		||||
    'gateway',
 | 
			
		||||
    'locale',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue