Skip to content

Commit

Permalink
Fix library to work on IE11 (backport to version 21)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpharoah-d2l committed Jan 5, 2018
1 parent fd75a8c commit 0cb7409
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ifrau",
"version": "0.21.2",
"version": "0.21.3",
"description": "Free-range app utility for IFRAME-based FRAs",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/promise-or-lie.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';

module.exports = typeof Promise === undefined
module.exports = typeof Promise === 'undefined'
? require('lie')
: global.Promise;

0 comments on commit 0cb7409

Please sign in to comment.