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
1804b072
Commit
1804b072
authored
Aug 24, 2016
by
Alexander.Trofimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fragment.prototype = {} -> Fragment.prototype.
parent
c2cb9881
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
19 deletions
+23
-19
cell/model/WorkbookElems.js
cell/model/WorkbookElems.js
+23
-19
No files found.
cell/model/WorkbookElems.js
View file @
1804b072
...
...
@@ -425,31 +425,35 @@ ColorManager.prototype =
};
g_oColorManager
=
new
ColorManager
();
/** @constructor */
function
Fragment
(
val
)
{
this
.
text
=
null
;
this
.
format
=
null
;
this
.
sFormula
=
null
;
this
.
sId
=
null
;
if
(
null
!=
val
)
{
this
.
set
(
val
);
/** @constructor */
function
Fragment
(
val
)
{
this
.
text
=
null
;
this
.
format
=
null
;
this
.
sFormula
=
null
;
this
.
sId
=
null
;
if
(
null
!=
val
)
{
this
.
set
(
val
);
}
}
}
Fragment
.
prototype
=
{
clone
:
function
()
{
Fragment
.
prototype
.
clone
=
function
()
{
return
new
Fragment
(
this
);
}
,
set
:
function
(
oVal
)
{
if
(
null
!=
oVal
.
text
)
}
;
Fragment
.
prototype
.
set
=
function
(
oVal
)
{
if
(
null
!=
oVal
.
text
)
{
this
.
text
=
oVal
.
text
;
if
(
null
!=
oVal
.
format
)
}
if
(
null
!=
oVal
.
format
)
{
this
.
format
=
oVal
.
format
;
if
(
null
!=
oVal
.
sFormula
)
}
if
(
null
!=
oVal
.
sFormula
)
{
this
.
sFormula
=
oVal
.
sFormula
;
if
(
null
!=
oVal
.
sId
)
}
if
(
null
!=
oVal
.
sId
)
{
this
.
sId
=
oVal
.
sId
;
}
};
}
};
var
g_oFontProperties
=
{
fn
:
0
,
scheme
:
1
,
...
...
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