Using classes to show galaxy

This commit is contained in:
Amadeus Demarzi
2014-07-26 01:05:31 -07:00
parent 3f54a5fa18
commit 64adfce427
3 changed files with 17 additions and 8 deletions

View File

@@ -81,14 +81,7 @@ Engine = Base.extend({
start: function(){
var parent = this.canvas.parentNode;
this.background.style.opacity = 1;
this.background.style.webkitTransform = 'translate3d(0,0,0) scale(1)';
this.background.style.mozTransform = 'translate3d(0,0,0) scale(1)';
this.background.style.msTransform = 'translate3d(0,0,0) scale(1)';
this.background.style.oTransform = 'translate3d(0,0,0) scale(1)';
this.background.style.transform = 'translate3d(0,0,0) scale(1)';
this.background.className += ' show';
this.canvas.style.opacity = 1;
new Chainable()