Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
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
web-apps
Commits
79bfa777
Commit
79bfa777
authored
May 05, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete asc_SetFontsPath
route fonts by path "fonts/"
parent
b8a2a6ea
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
0 additions
and
11 deletions
+0
-11
apps/api/documents/cache-scripts.html
apps/api/documents/cache-scripts.html
+0
-1
apps/documenteditor/embed/js/ApplicationController.js
apps/documenteditor/embed/js/ApplicationController.js
+0
-1
apps/documenteditor/main/app/controller/Main.js
apps/documenteditor/main/app/controller/Main.js
+0
-1
apps/documenteditor/mobile/app/controller/Main.js
apps/documenteditor/mobile/app/controller/Main.js
+0
-1
apps/presentationeditor/embed/js/ApplicationController.js
apps/presentationeditor/embed/js/ApplicationController.js
+0
-1
apps/presentationeditor/main/app/controller/Main.js
apps/presentationeditor/main/app/controller/Main.js
+0
-1
apps/presentationeditor/mobile/app/controller/Main.js
apps/presentationeditor/mobile/app/controller/Main.js
+0
-1
apps/spreadsheeteditor/embed/js/ApplicationController.js
apps/spreadsheeteditor/embed/js/ApplicationController.js
+0
-2
apps/spreadsheeteditor/main/app/controller/Main.js
apps/spreadsheeteditor/main/app/controller/Main.js
+0
-1
apps/spreadsheeteditor/mobile/app/controller/Main.js
apps/spreadsheeteditor/mobile/app/controller/Main.js
+0
-1
No files found.
apps/api/documents/cache-scripts.html
View file @
79bfa777
...
...
@@ -18,7 +18,6 @@
<div
id=
"editor_sdk"
>
<script
type=
"text/javascript"
>
var
editor
=
new
Asc
.
asc_docs_api
(
"
editor_sdk
"
);
editor
.
asc_SetFontsPath
(
"
../../../../sdkjs/fonts/
"
);
editor
.
LoadFontsFromServer
();
</script>
</body>
...
...
apps/documenteditor/embed/js/ApplicationController.js
View file @
79bfa777
...
...
@@ -708,7 +708,6 @@ var ApplicationController = new(function(){
if
(
api
){
api
.
CreateComponents
();
api
.
asc_SetFontsPath
(
"
../../../../sdkjs/fonts/
"
);
api
.
Init
();
api
.
asc_registerCallback
(
'
asc_onError
'
,
onError
);
...
...
apps/documenteditor/main/app/controller/Main.js
View file @
79bfa777
...
...
@@ -122,7 +122,6 @@ define([
window
[
"
flat_desine
"
]
=
true
;
this
.
api
.
CreateComponents
();
this
.
api
.
asc_SetFontsPath
(
"
../../../../sdkjs/fonts/
"
);
this
.
api
.
Init
();
this
.
api
.
asc_registerCallback
(
'
asc_onError
'
,
_
.
bind
(
this
.
onError
,
this
));
...
...
apps/documenteditor/mobile/app/controller/Main.js
View file @
79bfa777
...
...
@@ -61,7 +61,6 @@ Ext.define('DE.controller.Main', {
api
=
new
Asc
.
asc_docs_api
(
"
id-sdkeditor
"
);
api
.
SetMobileVersion
(
true
);
api
.
CreateComponents
();
api
.
asc_SetFontsPath
(
"
../../../../sdkjs/fonts/
"
);
api
.
Init
();
api
.
initEvents2MobileAdvances
();
...
...
apps/presentationeditor/embed/js/ApplicationController.js
View file @
79bfa777
...
...
@@ -716,7 +716,6 @@ var ApplicationController = new(function(){
if
(
api
){
api
.
CreateComponents
();
api
.
asc_SetFontsPath
(
"
../../../../sdkjs/fonts/
"
);
api
.
SetThemesPath
(
"
../../../../sdkjs/slide/themes/
"
);
api
.
Init
();
...
...
apps/presentationeditor/main/app/controller/Main.js
View file @
79bfa777
...
...
@@ -112,7 +112,6 @@ define([
this
.
api
.
CreateComponents
();
this
.
api
.
SetDrawingFreeze
(
true
);
this
.
api
.
asc_SetFontsPath
(
"
../../../../sdkjs/fonts/
"
);
this
.
api
.
SetThemesPath
(
"
../../../../sdkjs/slide/themes/
"
);
this
.
api
.
Init
();
...
...
apps/presentationeditor/mobile/app/controller/Main.js
View file @
79bfa777
...
...
@@ -63,7 +63,6 @@ Ext.define('PE.controller.Main', {
api
=
new
Asc
.
asc_docs_api
(
"
id-sdkeditor
"
);
api
.
SetMobileVersion
(
true
);
api
.
CreateComponents
();
api
.
asc_SetFontsPath
(
"
../../../../sdkjs/fonts/
"
);
api
.
SetThemesPath
(
"
../../../../sdkjs/slide/themes/
"
);
api
.
Init
();
api
.
initEvents2MobileAdvances
();
...
...
apps/spreadsheeteditor/embed/js/ApplicationController.js
View file @
79bfa777
...
...
@@ -691,8 +691,6 @@ var ApplicationController = new(function(){
api
=
new
Asc
.
spreadsheet_api
(
"
editor_sdk
"
);
if
(
api
){
api
.
asc_SetFontsPath
(
"
../../../../sdkjs/fonts/
"
);
api
.
asc_registerCallback
(
'
asc_onStartAction
'
,
onLongActionBegin
);
api
.
asc_registerCallback
(
'
asc_onEndAction
'
,
onLongActionEnd
);
api
.
asc_registerCallback
(
'
asc_onError
'
,
onError
);
...
...
apps/spreadsheeteditor/main/app/controller/Main.js
View file @
79bfa777
...
...
@@ -113,7 +113,6 @@ define([
// Initialize api
this
.
api
=
new
Asc
.
spreadsheet_api
(
"
editor_sdk
"
,
"
ce-cell-content
"
);
this
.
api
.
asc_setFontRenderingMode
(
parseInt
(
value
));
this
.
api
.
asc_SetFontsPath
(
"
../../../../sdkjs/fonts/
"
);
this
.
api
.
asc_registerCallback
(
'
asc_onOpenDocumentProgress
'
,
_
.
bind
(
this
.
onOpenDocument
,
this
));
this
.
api
.
asc_registerCallback
(
'
asc_onEndAction
'
,
_
.
bind
(
this
.
onLongActionEnd
,
this
));
...
...
apps/spreadsheeteditor/mobile/app/controller/Main.js
View file @
79bfa777
...
...
@@ -65,7 +65,6 @@ Ext.define('SSE.controller.Main', {
// Initialize api
this
.
api
=
new
Asc
.
spreadsheet_api
(
"
id-sdkeditor
"
,
""
,
SSE
.
controller
.
ApiEvents
,
{},
{});
this
.
api
.
asc_SetFontsPath
(
"
../../../../sdkjs/fonts/
"
);
this
.
api
.
asc_setMobileVersion
(
true
);
this
.
api
.
asc_registerCallback
(
'
asc_onAdvancedOptions
'
,
Ext
.
bind
(
this
.
onAdvancedOptions
,
this
));
...
...
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