Uses es6 object literal shorthand
This commit is contained in:
parent
ad4694cdcd
commit
6e1a06d07f
|
@ -168,9 +168,9 @@ function render(page, offset, options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const model = {
|
const model = {
|
||||||
toolbarItems: toolbarItems,
|
toolbarItems,
|
||||||
skinTones: skinTones,
|
skinTones,
|
||||||
rows: rows,
|
rows,
|
||||||
prevDisabled: offset === 0,
|
prevDisabled: offset === 0,
|
||||||
nextDisabled: (max + 1) > icons.length,
|
nextDisabled: (max + 1) > icons.length,
|
||||||
modalClass: options.modalClass
|
modalClass: options.modalClass
|
||||||
|
|
Loading…
Reference in New Issue