[SSE PE] changed order of skd loading

This commit is contained in:
Maxim Kadushkin 2022-12-19 23:19:59 +03:00
parent d823738849
commit bf6e0377a3
3 changed files with 4 additions and 7 deletions

View file

@ -103,7 +103,6 @@ require.config({
sdk: { sdk: {
deps: [ deps: [
'jquery', 'jquery',
'underscore',
'allfonts', 'allfonts',
'xregexp', 'xregexp',
'socketio' 'socketio'
@ -123,14 +122,14 @@ require.config({
}); });
require([ require([
'sdk',
'backbone', 'backbone',
'bootstrap', 'bootstrap',
'core', 'core',
'sdk',
'analytics', 'analytics',
'gateway', 'gateway',
'locale' 'locale'
], function (Backbone, Bootstrap, Core) { ], function (Sdk, Backbone, Bootstrap, Core) {
if (Backbone.History && Backbone.History.started) if (Backbone.History && Backbone.History.started)
return; return;
Backbone.history.start(); Backbone.history.start();

View file

@ -59,7 +59,6 @@ require.config({
sdk: { sdk: {
deps: [ deps: [
'jquery', 'jquery',
'underscore',
'allfonts', 'allfonts',
'xregexp', 'xregexp',
'socketio' 'socketio'

View file

@ -103,7 +103,6 @@ require.config({
sdk: { sdk: {
deps: [ deps: [
'jquery', 'jquery',
'underscore',
'allfonts', 'allfonts',
'xregexp', 'xregexp',
'socketio' 'socketio'
@ -123,14 +122,14 @@ require.config({
}); });
require([ require([
'sdk',
'backbone', 'backbone',
'bootstrap', 'bootstrap',
'core', 'core',
'sdk',
'analytics', 'analytics',
'gateway', 'gateway',
'locale' 'locale'
], function (Backbone, Bootstrap, Core) { ], function (Sdk, Backbone, Bootstrap, Core) {
if (Backbone.History && Backbone.History.started) if (Backbone.History && Backbone.History.started)
return; return;
Backbone.history.start(); Backbone.history.start();