Skip to content

Commit

Permalink
use addEventListener
Browse files Browse the repository at this point in the history
  • Loading branch information
patriciogonzalezvivo committed Apr 16, 2016
1 parent 96abfe0 commit 4d5e073
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions build/GlslCanvas.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions src/GlslCanvas.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ void main(){
}

version() {
return '0.0.3';
return '0.0.9';
}
}

Expand All @@ -386,6 +386,6 @@ function loadAllGlslCanvas() {
}
}

window.onload = function () {
window.addEventListener('load', function () {
loadAllGlslCanvas();
};
});

0 comments on commit 4d5e073

Please sign in to comment.