Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
sdkjs
Commits
1c55a178
Commit
1c55a178
authored
May 05, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add fictive load sdk-all in develop version
parent
f36433e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
common/applyDocumentChanges.js
common/applyDocumentChanges.js
+4
-1
common/editorscommon.js
common/editorscommon.js
+5
-2
No files found.
common/applyDocumentChanges.js
View file @
1c55a178
window
[
'
AscApplyChanges
'
]
=
true
;
// Флаг для проверки
window
[
'
AscChanges
'
]
=
[
];
// Массив строк изменений - изменения всех пользователей [[changes_1],[changes_2],..,[changes_n]]
\ No newline at end of file
];
// Массив строк изменений - изменения всех пользователей [[changes_1],[changes_2],..,[changes_n]]
// Только для не минимизированной версии. В сборку этот файл не включать!!!
window
[
'
AscNotLoadAllScript
'
]
=
true
;
// Флаг для проверки
common/editorscommon.js
View file @
1c55a178
...
...
@@ -2628,7 +2628,6 @@ CUserCacheColor.prototype.init = function(nColor) {
this
.
Dark
=
new
CColor
(
R
,
G
,
B
,
255
);
};
var
isLoadSdk
=
false
;
function
loadScript
(
url
,
callback
)
{
var
script
=
document
.
createElement
(
'
script
'
);
script
.
type
=
'
text/javascript
'
;
...
...
@@ -2641,7 +2640,11 @@ CUserCacheColor.prototype.init = function(nColor) {
document
.
head
.
appendChild
(
script
);
}
function
loadSdk
(
sdkName
,
callback
)
{
loadScript
(
'
/sdkjs/
'
+
sdkName
+
'
/sdk-all.js
'
,
callback
);
if
(
window
[
'
AscNotLoadAllScript
'
])
{
setTimeout
(
callback
,
1
);
}
else
{
loadScript
(
'
/sdkjs/
'
+
sdkName
+
'
/sdk-all.js
'
,
callback
);
}
}
var
g_oIdCounter
=
new
CIdCounter
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment