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
de7c78be
Commit
de7c78be
authored
Aug 01, 2017
by
GoshaZotov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete unused code
parent
fe2fe058
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
26 deletions
+3
-26
cell/model/FormulaObjects/_xlfnFunctions.js
cell/model/FormulaObjects/_xlfnFunctions.js
+2
-26
cell/model/FormulaObjects/dateandtimeFunctions.js
cell/model/FormulaObjects/dateandtimeFunctions.js
+1
-0
No files found.
cell/model/FormulaObjects/_xlfnFunctions.js
View file @
de7c78be
...
...
@@ -49,7 +49,7 @@
/*new funcions with _xlnf-prefix*/
cFormulaFunctionGroup
[
'
DateAndTime
'
]
=
cFormulaFunctionGroup
[
'
DateAndTime
'
]
||
[];
cFormulaFunctionGroup
[
'
DateAndTime
'
].
push
(
c
DAYS
,
c
ISOWEEKNUM
);
cFormulaFunctionGroup
[
'
DateAndTime
'
].
push
(
cISOWEEKNUM
);
cFormulaFunctionGroup
[
'
TextAndData
'
]
=
cFormulaFunctionGroup
[
'
TextAndData
'
]
||
[];
cFormulaFunctionGroup
[
'
TextAndData
'
].
push
(
cDBCS
,
cUNICHAR
,
cUNICODE
);
cFormulaFunctionGroup
[
'
Statistical
'
]
=
cFormulaFunctionGroup
[
'
Statistical
'
]
||
[];
...
...
@@ -65,7 +65,7 @@
cFormulaFunctionGroup
[
'
Information
'
].
push
(
cSHEET
,
cSHEETS
);
cFormulaFunctionGroup
[
'
NotRealised
'
]
=
cFormulaFunctionGroup
[
'
NotRealised
'
]
||
[];
cFormulaFunctionGroup
[
'
NotRealised
'
].
push
(
c
DAYS
,
c
ISOWEEKNUM
,
cFormulaFunctionGroup
[
'
NotRealised
'
].
push
(
cISOWEEKNUM
,
cDBCS
,
cUNICHAR
,
cUNICODE
,
cBINOM_DIST_RANGE
,
cF_TEST
,
cFORECAST_ETS
,
cFORECAST_ETS_CONFINT
,
cFORECAST_ETS_SEASONALITY
,
cFORECAST_ETS_STAT
,
cHYPGEOM_DIST
,
cPDURATION
,
cAGGREGATE
,
cMUNIT
,
cFORMULATEXT
,
cSHEET
,
cSHEETS
);
...
...
@@ -94,30 +94,6 @@
cBINOM_DIST_RANGE
.
prototype
=
Object
.
create
(
cBaseFunction
.
prototype
);
cBINOM_DIST_RANGE
.
prototype
.
constructor
=
cBINOM_DIST_RANGE
;
/**
* @constructor
* @extends {AscCommonExcel.cBaseFunction}
*/
function
cCOMBINA
()
{
cBaseFunction
.
call
(
this
,
"
COMBINA
"
);
this
.
isXLFN
=
true
;
}
cCOMBINA
.
prototype
=
Object
.
create
(
cBaseFunction
.
prototype
);
cCOMBINA
.
prototype
.
constructor
=
cCOMBINA
;
/**
* @constructor
* @extends {AscCommonExcel.cBaseFunction}
*/
function
cDAYS
()
{
cBaseFunction
.
call
(
this
,
"
DAYS
"
);
this
.
isXLFN
=
true
;
}
cDAYS
.
prototype
=
Object
.
create
(
cBaseFunction
.
prototype
);
cDAYS
.
prototype
.
constructor
=
cDAYS
;
/**
* @constructor
* @extends {AscCommonExcel.cBaseFunction}
...
...
cell/model/FormulaObjects/dateandtimeFunctions.js
View file @
de7c78be
...
...
@@ -601,6 +601,7 @@
cDAYS
.
prototype
.
argumentsMin
=
2
;
cDAYS
.
prototype
.
argumentsMax
=
2
;
cDAYS
.
prototype
.
numFormat
=
AscCommonExcel
.
cNumFormatNone
;
cDAYS
.
prototype
.
isXLFN
=
true
;
cDAYS
.
prototype
.
Calculate
=
function
(
arg
)
{
var
oArguments
=
this
.
_prepareArguments
(
arg
,
arguments
[
1
],
true
);
var
argClone
=
oArguments
.
args
;
...
...
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