Skip to content

Commit

Permalink
Fixes #1 - Moved the 'use strict'; statement inside the function body…
Browse files Browse the repository at this point in the history
… to limit its scope if gridfader.js is minified into another script.
  • Loading branch information
xcjs committed Aug 30, 2014
1 parent 183d94f commit 13212e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gridfader.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

var GridFader = function(canvasId) {
'use strict';

this.palette = new Array();
this.gridColor = null;
this.canvas = null;
Expand Down

0 comments on commit 13212e4

Please sign in to comment.