Skip to content

Commit

Permalink
Bump aframe-master dist/ builds. (aframevr/aframe@e55b306...9fe641c)
Browse files Browse the repository at this point in the history
  • Loading branch information
SupermediumBot committed May 3, 2024
1 parent 9fe641c commit 4b4c560
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 13 deletions.
21 changes: 12 additions & 9 deletions dist/aframe-master.js
Original file line number Diff line number Diff line change
Expand Up @@ -26242,7 +26242,8 @@ Component.prototype = {

// Parse the new value into attrValue (re-using objects where possible)
var newAttrValue = key ? this.attrValue[key] : this.attrValue;
newAttrValue = parseProperty(newValue, propertySchema, newAttrValue);
// Some property types (like selectors) depend on external state (e.g. DOM) during parsing and can't be cached.
newAttrValue = propertySchema.isCacheable ? parseProperty(newValue, propertySchema, newAttrValue) : newValue;
// In case the output is a string, store the unparsed value (no double parsing and helps inspector)
if (typeof newAttrValue === 'string') {
// Quirk: empty strings aren't considered values for single-property schemas
Expand Down Expand Up @@ -26654,7 +26655,6 @@ module.exports.registerGeometry = function (name, definition) {

var coordinates = __webpack_require__(/*! ../utils/coordinates */ "./src/utils/coordinates.js");
var debug = __webpack_require__(/*! debug */ "./node_modules/debug/src/browser.js");
var error = debug('core:propertyTypes:warn');
var warn = debug('core:propertyTypes:warn');
var propertyTypes = module.exports.propertyTypes = {};
var nonCharRegex = /[,> .[\]:]/;
Expand All @@ -26665,15 +26665,15 @@ registerPropertyType('audio', '', assetParse);
registerPropertyType('array', [], arrayParse, arrayStringify, arrayEquals);
registerPropertyType('asset', '', assetParse);
registerPropertyType('boolean', false, boolParse);
registerPropertyType('color', '#FFF', defaultParse, defaultStringify);
registerPropertyType('color', '#FFF');
registerPropertyType('int', 0, intParse);
registerPropertyType('number', 0, numberParse);
registerPropertyType('map', '', assetParse);
registerPropertyType('model', '', assetParse);
registerPropertyType('selector', null, selectorParse, selectorStringify);
registerPropertyType('selectorAll', null, selectorAllParse, selectorAllStringify);
registerPropertyType('selector', null, selectorParse, selectorStringify, defaultEquals, false);
registerPropertyType('selectorAll', null, selectorAllParse, selectorAllStringify, arrayEquals, false);
registerPropertyType('src', '', srcParse);
registerPropertyType('string', '', defaultParse, defaultStringify);
registerPropertyType('string', '');
registerPropertyType('time', 0, intParse);
registerPropertyType('vec2', {
x: 0,
Expand Down Expand Up @@ -26701,16 +26701,18 @@ registerPropertyType('vec4', {
* @param {function} [parse=defaultParse] - Parse string function.
* @param {function} [stringify=defaultStringify] - Stringify to DOM function.
* @param {function} [equals=defaultEquals] - Equality comparator.
* @param {boolean} [cachable=false] - Whether or not the parsed value of a property can be cached.
*/
function registerPropertyType(type, defaultValue, parse, stringify, equals) {
function registerPropertyType(type, defaultValue, parse, stringify, equals, cacheable) {
if (type in propertyTypes) {
throw new Error('Property type ' + type + ' is already registered.');
}
propertyTypes[type] = {
default: defaultValue,
parse: parse || defaultParse,
stringify: stringify || defaultStringify,
equals: equals || defaultEquals
equals: equals || defaultEquals,
isCacheable: cacheable !== false
};
}
module.exports.registerPropertyType = registerPropertyType;
Expand Down Expand Up @@ -28420,6 +28422,7 @@ function processPropertyDefinition(propDefinition, componentName) {
propDefinition.parse = propDefinition.parse || propType.parse;
propDefinition.stringify = propDefinition.stringify || propType.stringify;
propDefinition.equals = propDefinition.equals || propType.equals;
propDefinition.isCacheable = propDefinition.isCacheable === true || propType.isCacheable;

// Fill in type name.
propDefinition.type = typeName;
Expand Down Expand Up @@ -30340,7 +30343,7 @@ __webpack_require__(/*! ./core/a-mixin */ "./src/core/a-mixin.js");
// Extras.
__webpack_require__(/*! ./extras/components/ */ "./src/extras/components/index.js");
__webpack_require__(/*! ./extras/primitives/ */ "./src/extras/primitives/index.js");
console.log('A-Frame Version: 1.5.0 (Date 2024-04-25, Commit #c4f491bb)');
console.log('A-Frame Version: 1.5.0 (Date 2024-05-03, Commit #9fe641ce)');
console.log('THREE Version (https://github.com/supermedium/three.js):', pkg.dependencies['super-three']);
console.log('WebVR Polyfill Version:', pkg.dependencies['webvr-polyfill']);

Expand Down
2 changes: 1 addition & 1 deletion dist/aframe-master.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/aframe-master.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/aframe-master.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ require('./core/a-mixin');
require('./extras/components/');
require('./extras/primitives/');

console.log('A-Frame Version: 1.5.0 (Date 2024-04-25, Commit #c4f491bb)');
console.log('A-Frame Version: 1.5.0 (Date 2024-05-03, Commit #9fe641ce)');
console.log('THREE Version (https://github.com/supermedium/three.js):',
pkg.dependencies['super-three']);
console.log('WebVR Polyfill Version:', pkg.dependencies['webvr-polyfill']);
Expand Down

0 comments on commit 4b4c560

Please sign in to comment.