Skip to content

Commit

Permalink
Destructuring is not allowed in ES5
Browse files Browse the repository at this point in the history
  • Loading branch information
diarmidmackenzie committed Jul 21, 2023
1 parent 2b708f6 commit 1098756
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/systems/renderer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
var registerSystem = require('../core/system').registerSystem;
var utils = require('../utils/');
var THREE = require('../lib/three');
var {aframeSortTransparentDefault, aframeSortTransparentSpatial} = require('../core/scene/sortFunctions');
var aframeSortTransparentDefault = require('../core/scene/sortFunctions').aframeSortTransparentDefault;
var aframeSortTransparentSpatial = require('../core/scene/sortFunctions').aframeSortTransparentSpatial;

var debug = utils.debug;
var warn = debug('components:renderer:warn');
Expand Down

0 comments on commit 1098756

Please sign in to comment.