File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,8 +140,12 @@ <h2>A long multi-line heading</h2>
140140}
141141
142142function checkChrome ( min ) {
143- var minText = '<a href="https://www.google.com/chrome/browser/canary.html">Chrome Canary</a>, '
144- + min . join ( "." ) + " or later" ;
143+ var minText = [
144+ [ "Chrome Beta" , "https://www.google.com/chrome/browser/beta.html" ] ,
145+ [ "Chrome Dev channel" , "https://www.google.com/chrome/browser/desktop/index.html?extra=devchannel" ] ,
146+ [ "Chrome Canary" , "https://www.google.com/chrome/browser/canary.html" ] ,
147+ ] . map ( function ( d ) { return '<a href="' + d [ 1 ] + '">' + d [ 0 ] + '</a>' } )
148+ . join ( " or " ) + ", " + min . join ( "." ) + " or later" ;
145149 var chrome = / C h r o m e \/ ( [ \d . ] + ) / . exec ( navigator . userAgent ) ;
146150 if ( ! chrome )
147151 return "Open this page in " + minText + "." ;
You can’t perform that action at this time.
0 commit comments