Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove misspelled and deprecated getComputedAttrib
  • Loading branch information
mrxz committed Feb 15, 2024
commit 34c93ab38cd71d8694571bd795de8da47e8bdb3d
10 changes: 0 additions & 10 deletions src/core/scene/a-scene.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ var initPostMessageAPI = require('./postMessage');
var isIOS = utils.device.isIOS();
var isMobile = utils.device.isMobile();
var isWebXRAvailable = utils.device.isWebXRAvailable;
var warn = utils.debug('core:a-scene:warn');

if (isIOS) { require('../../utils/ios-orientationchange-blank-bug'); }

Expand Down Expand Up @@ -500,15 +499,6 @@ class AScene extends AEntity {
return AEntity.prototype.getAttribute.call(this, attr);
}

/**
* `getAttribute` used to be `getDOMAttribute` and `getComputedAttribute` used to be
* what `getAttribute` is now. Now legacy code.
*/
getComputedAttribut (attr) {
warn('`getComputedAttribute` is deprecated. Use `getAttribute` instead.');
this.getAttribute(attr);
}

/**
* Wraps Entity.getDOMAttribute to take into account for systems.
* If system exists, then return system data rather than possible component data.
Expand Down