Skip to content

Commit

Permalink
simplify logic to display version
Browse files Browse the repository at this point in the history
  • Loading branch information
kfarr committed Aug 8, 2023
1 parent 2362122 commit 8ac658e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
/* global AFRAME, THREE, XMLHttpRequest */
if (typeof VERSION === 'undefined') { var VERSION = 'local'; }
if (VERSION !== 'local') {
console.log(`3DStreet Version: ${VERSION} (Date: ${new Date(COMMIT_DATE).toISOString().split('T')[0]}, Commit Hash: #${COMMIT_HASH})`);
} else {
console.log('Running in local development environment');
}
if (typeof VERSION !== 'undefined') { console.log(`3DStreet Version: ${VERSION} (Date: ${new Date(COMMIT_DATE).toISOString().split('T')[0]}, Commit Hash: #${COMMIT_HASH})`); }
var streetmixParsers = require('./aframe-streetmix-parsers');
var streetmixUtils = require('./tested/streetmix-utils');
require('./components/anisotropy');
Expand Down Expand Up @@ -471,4 +466,4 @@ AFRAME.registerComponent('wheel', {
this.wheel_B_R.rotateY(rateOfRotation);
}
}
});
});

0 comments on commit 8ac658e

Please sign in to comment.