a-frame-components
Advanced tools
Comparing version 1.0.344 to 1.0.345
@@ -53,3 +53,3 @@ import { watchAttribute } from "a-frame-components"; | ||
buttonContainer.addEventListener('click', function () { | ||
me.el.emit(me.data.selectionevent, { value: value, id: id, text: text, url: url, options: JSON.parse(args) }); | ||
me.el.emit(me.data.selectionevent, { value: value, id: id, text: text, url: url, options: (args) }); | ||
}); | ||
@@ -60,3 +60,3 @@ var menu = me.createMenu({ | ||
height: me.guiItem.height, | ||
options: JSON.parse(args) | ||
options: (args) | ||
}); | ||
@@ -63,0 +63,0 @@ buttonContainer.appendChild(imageEntity); |
{ | ||
"name": "a-frame-components", | ||
"version": "1.0.344", | ||
"version": "1.0.345", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -58,3 +58,3 @@ import { watchAttribute } from "a-frame-components"; | ||
buttonContainer.addEventListener('click', function () { | ||
me.el.emit(me.data.selectionevent, { value, id, text, url, options: JSON.parse(args) }); | ||
me.el.emit(me.data.selectionevent, { value, id, text, url, options: (args) }); | ||
}) | ||
@@ -66,3 +66,3 @@ | ||
height: me.guiItem.height, | ||
options: JSON.parse(args) | ||
options: (args) | ||
}); | ||
@@ -69,0 +69,0 @@ buttonContainer.appendChild(imageEntity); |
1794136