Skip to content

Commit

Permalink
ensure closure compiler won't clobber 'polyfill'
Browse files Browse the repository at this point in the history
  • Loading branch information
unscriptable committed Dec 8, 2011
1 parent c7f9455 commit 2e6e222
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/poly.js
Expand Up @@ -32,8 +32,8 @@ define(['exports'], function (exports) {

try {
// augment native
if (module.polyfill) {
module.polyfill();
if (module['polyfill']) {
module['polyfill']();
}
}
catch (ex) {
Expand Down

0 comments on commit 2e6e222

Please sign in to comment.