Uses es6 object literal shorthand

This commit is contained in:
Joffrey JAFFEUX 2017-06-29 00:27:02 +02:00
parent ad4694cdcd
commit 6e1a06d07f
1 changed files with 3 additions and 3 deletions

View File

@ -168,9 +168,9 @@ function render(page, offset, options) {
}
const model = {
toolbarItems: toolbarItems,
skinTones: skinTones,
rows: rows,
toolbarItems,
skinTones,
rows,
prevDisabled: offset === 0,
nextDisabled: (max + 1) > icons.length,
modalClass: options.modalClass