Skip to content

Commit

Permalink
Remove unused isEdge helper from test code
Browse files Browse the repository at this point in the history
  • Loading branch information
nmielnik committed Feb 7, 2016
1 parent 62cd678 commit 317b86e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions spec/helpers/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,6 @@ function isIE() {
return ((navigator.appName === 'Microsoft Internet Explorer') || ((navigator.appName === 'Netscape') && (new RegExp('Trident/.*rv:([0-9]{1,}[.0-9]{0,})').exec(navigator.userAgent) !== null)));
}

function isEdge() {
return new RegExp('Edge/\\d+').exec(navigator.userAgent) !== null;
}

function isFirefox() {
return navigator.userAgent.toLowerCase().indexOf('firefox') !== -1;
}
Expand Down
2 changes: 1 addition & 1 deletion spec/paste.spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*global selectElementContents,
selectElementContentsAndFire, isEdge */
selectElementContentsAndFire */

describe('Pasting content', function () {
'use strict';
Expand Down

0 comments on commit 317b86e

Please sign in to comment.