Skip to content

Commit

Permalink
Fix(SpecHelper): remove isPhantom() dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoscaceres committed May 18, 2016
1 parent eb3cba8 commit 2790df2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tests/.jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"worker": false,
"wsh": false,
"yui": false,
"predef": [ "makeStandardOps", "makeDefaultBody", "makeRSDoc", "flushIframes", "isPhantom", "makeBasicConfig", "require", "pickRandomsFromList" ],
"predef": [ "makeStandardOps", "makeDefaultBody", "makeRSDoc", "flushIframes", "makeBasicConfig", "require", "pickRandomsFromList" ],
"globals": {
"expect": true
},
Expand Down
6 changes: 1 addition & 5 deletions tests/spec/SpecHelper.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*exported pickRandomsFromList, makeRSDoc, flushIframes,
makeStandardOps, makeDefaultBody, makeBasicConfig, isPhantom*/
makeStandardOps, makeDefaultBody, makeBasicConfig*/
"use strict";
var iframes = [];

Expand Down Expand Up @@ -112,10 +112,6 @@ function pickRandomsFromList(list, howMany) {
}, []);
}

function isPhantom() {
return window.callPhantom || window._phantom;
}

function makeBasicConfig() {
return {
editors: [{
Expand Down

0 comments on commit 2790df2

Please sign in to comment.