This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-vis
mirror of
https://github.com/jrtechs/vis.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
82
Wiki
Activity
Browse Source
Moved some variables from ItemBox to Item
css_transitions
josdejong
10 years ago
parent
633932124c
commit
264cdd30b6
2 changed files
with
3 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
src/timeline/component/item/Item.js
+0
-3
src/timeline/component/item/ItemBox.js
+ 3
- 1
src/timeline/component/item/Item.js
View File
@ -15,7 +15,9 @@ function Item (parent, data, options, defaultOptions) {
this
.
defaultOptions
=
defaultOptions
||
{
}
;
this
.
selected
=
false
;
this
.
visible
=
false
;
this
.
displayed
=
false
;
this
.
dirty
=
true
;
this
.
top
=
null
;
this
.
left
=
null
;
this
.
width
=
null
;
+ 0
- 3
src/timeline/component/item/ItemBox.js
View File
@ -20,9 +20,6 @@ function ItemBox (parent, data, options, defaultOptions) {
}
}
;
this
.
displayed
=
false
;
this
.
dirty
=
true
;
// validate data
if
(
data
.
start
==
undefined
)
{
throw
new
Error
(
'Property "start" missing in item '
+
data
)
;
Write
Preview
Loading…
Cancel
Save