New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

a-frame-components

Package Overview
Dependencies
Maintainers
1
Versions
321
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a-frame-components - npm Package Compare versions

Comparing version 1.0.46 to 1.0.47

25

dist/gui/components/radio.js

@@ -14,14 +14,12 @@ var __assign = (this && this.__assign) || function () {

import { createElement } from "../../util";
import mixin from "./mixin";
export default function () {
AFRAME.registerComponent('radio-component', {
schema: {
AFRAME.registerComponent('radio-component', __assign(__assign({ schema: {
options: { type: 'string', default: '' },
value: { type: 'string', default: '' }
},
init: function () {
}, init: function () {
var me = this;
me.radioContainer = null;
this.render();
},
update: function (oldData) {
}, update: function (oldData) {
var me = this;

@@ -34,4 +32,3 @@ if (oldData.options !== this.data.options) {

}
},
updateChecked: function () {
}, updateChecked: function () {
var me = this;

@@ -45,4 +42,3 @@ if (me.optionValues) {

}
},
render: function () {
}, render: function () {
var me = this;

@@ -94,12 +90,9 @@ if (me.radioContainer) {

}
},
getWidth: function () {
} }, mixin), { getWidth: function () {
var me = this;
return parseFloat("".concat(me.radioContainer.getWidth()));
},
getHeight: function () {
}, getHeight: function () {
var me = this;
return parseFloat("".concat(me.radioContainer.getHeight()));
},
});
} }));
AFRAME.registerPrimitive('a-radio', {

@@ -106,0 +99,0 @@ defaultComponents: {

{
"name": "a-frame-components",
"version": "1.0.46",
"version": "1.0.47",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

import { AFRAME } from "../../react/root";
import { createContainer, createElement, createInteractiveButton } from "../../util";
import mixin from "./mixin";
export default function () {

@@ -86,2 +87,3 @@ AFRAME.registerComponent('radio-component', {

},
...mixin,
getWidth: function () {

@@ -88,0 +90,0 @@ let me = this;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc