Skip to content

Commit

Permalink
Fix: Breaking in IE8
Browse files Browse the repository at this point in the history
Fixes #10.
  • Loading branch information
NV committed Mar 2, 2014
1 parent 1b402bf commit a84a73d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flying-focus",
"version": "1.4.0",
"version": "1.4.1",
"homepage": "http://n12v.com/focus-transition/",
"authors": [
"Nikita Vasilyev <[email protected]>"
Expand Down
4 changes: 4 additions & 0 deletions standalone/flying-focus.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
(function() {
if (!window.addEventListener) {
return;
}

'use strict';

var DURATION = 150;
Expand Down
4 changes: 4 additions & 0 deletions standalone/flying-focus.jspp.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
(function() {
if (!window.addEventListener) {
return;
}

/*> ../chrome/flying-focus.js */

var style = doc.createElement('style');
Expand Down

0 comments on commit a84a73d

Please sign in to comment.