Skip to content

Commit

Permalink
Removed obsolete mappings for win-detect-browsers.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregpabian committed Apr 16, 2015
1 parent e810dc7 commit bdb2ba0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions lib/detect.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,13 @@ var spawn = require( 'child_process' ).spawn,
}
},
winDetectMap = {
chrome: 'google-chrome',
chromium: 'chromium-browser',
ff: 'firefox',
phantom: 'phantomjs',
safari: 'safari',
ie: 'ie',
opera: 'opera'
chrome: 'google-chrome'
};

function checkWindows( callback ) {
winDetect( function( found ) {
var available = found.map( function( browser ) {
var br = browsers[ winDetectMap[ browser.name ] ];
var br = browsers[ winDetectMap[ browser.name ] || browser.name ];

return extend( {}, {
name: browser.name,
Expand Down

0 comments on commit bdb2ba0

Please sign in to comment.