Skip to content

Commit

Permalink
Restore 'use strict'. Define globals within SM2 closure scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottschiller committed May 28, 2017
1 parent fb4557b commit 9cd33aa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script/soundmanager2.js
Expand Up @@ -29,6 +29,9 @@

(function SM2(window, _undefined) {

/* global Audio, document, window, navigator, define, module, SM2_DEFER, opera, setTimeout, setInterval, clearTimeout, sm2Debugger */

'use strict';

if (!window || !window.document) {

Expand Down

0 comments on commit 9cd33aa

Please sign in to comment.