Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92336357
cell.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Nov 19, 12:07
Size
546 B
Mime Type
text/x-c++
Expires
Thu, Nov 21, 12:07 (2 d)
Engine
blob
Format
Raw Data
Handle
22425844
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
cell.js
View Options
const
t
=
require
(
'typical'
)
const
_value
=
new
WeakMap
()
const
_column
=
new
WeakMap
()
class
Cell
{
constructor
(
value
,
column
)
{
this
.
value
=
value
_column
.
set
(
this
,
column
)
}
set
value
(
val
)
{
_value
.
set
(
this
,
val
)
}
get
value
()
{
let
cellValue
=
_value
.
get
(
this
)
if
(
typeof
cellValue
===
'function'
)
cellValue
=
cellValue
.
call
(
_column
.
get
(
this
))
if
(
cellValue
===
undefined
)
{
cellValue
=
''
}
else
{
cellValue
=
String
(
cellValue
)
}
return
cellValue
}
}
module
.
exports
=
Cell
Event Timeline
Log In to Comment