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
84c44abe
Commit
84c44abe
authored
Dec 23, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change GetThemesColors
parent
f1346b5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
cell/apiBuilder.js
cell/apiBuilder.js
+6
-10
No files found.
cell/apiBuilder.js
View file @
84c44abe
...
@@ -151,25 +151,21 @@
...
@@ -151,25 +151,21 @@
/**
/**
* Returns an object that represents the active sheet
* Returns an object that represents the active sheet
* @memberof Api
* @memberof Api
* @returns {
ThemesColors
}
* @returns {
array
}
*/
*/
Api
.
prototype
.
GetThemesColors
=
function
()
{
Api
.
prototype
.
GetThemesColors
=
function
()
{
/**
var
result
=
[];
* @enum
AscCommon
.
g_oUserColorScheme
.
forEach
(
function
(
item
)
{
* @name ThemesColors
result
.
push
(
item
.
get_name
());
*/
var
result
=
{};
AscCommon
.
g_oUserColorScheme
.
forEach
(
function
(
item
,
i
)
{
result
[
item
.
get_name
()]
=
i
;
});
});
return
result
;
return
result
;
};
};
/**
/**
*
Returns an object that represents the active sheet
*
Set theme colors
* @memberof Api
* @memberof Api
* @param {
ThemesColors | string
} theme
* @param {
string | number
} theme
*/
*/
Api
.
prototype
.
SetThemeColors
=
function
(
theme
)
{
Api
.
prototype
.
SetThemeColors
=
function
(
theme
)
{
if
(
'
string
'
===
typeof
theme
)
{
if
(
'
string
'
===
typeof
theme
)
{
...
...
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