Skip to content

Commit

Permalink
"var src = src =" should be "var src =" in assets.js
Browse files Browse the repository at this point in the history
  • Loading branch information
takahirox committed Oct 27, 2016
1 parent 03a03dc commit 5318e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/a-assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ registerElement('a-asset-item', {
attachedCallback: {
value: function () {
var self = this;
var src = src = this.getAttribute('src');
var src = this.getAttribute('src');
xhrLoader.load(src, function (textResponse) {
THREE.Cache.files[src] = textResponse;
self.data = textResponse;
Expand Down

0 comments on commit 5318e0d

Please sign in to comment.