Skip to content

Commit

Permalink
Remove misspelled and deprecated getComputedAttrib (#5466)
Browse files Browse the repository at this point in the history
Co-authored-by: Noeri Huisman <mrxz@users.noreply.github.com>
  • Loading branch information
mrxz and mrxz committed Feb 17, 2024
1 parent 83506ab commit e3a8f56
Showing 1 changed file with 0 additions and 10 deletions.
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

0 comments on commit e3a8f56

Please sign in to comment.