hunk.code_window:                         <label>
                               <input
                                   type='radio'
                                   name='emailNotifications'
                                   checked={this.props.enableEmail === 'true' && this.state.emailInterval === INTERVAL_FIFTEEN_MINUTES}
                                   onChange={this.handleChange.bind(this, 'true', INTERVAL_FIFTEEN_MINUTES)}
                               />
                               <FormattedMessage
                                   id='user.settings.notifications.email.everyXMinutes'
                                   defaultMessage='Every {count} minutes'
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:                                 checked={this.props.enableEmail && this.state.emailInterval === INTERVAL_FIFTEEN_MINUTES}
  
hunk.file_path: webapp/components/user_settings/email_notification_setting.jsx
hunk.type: replace
file: // Copyright 2015 The Go Authors. All rights reserved.
  // Use of this source code is governed by a BSD-style
  // license that can be found in the LICENSE file.
  
  package websocket
  
  import (
  	"crypto/tls"
  	"net"
  )
  
  func dialWithDialer(dialer *net.Dialer, config *Config) (conn net.Conn, err error) {
  	switch config.Location.Scheme {
  	case "ws":
  		conn, err = dialer.Dial("tcp", parseAuthority(config.Location))
  
  	case "wss":
  		conn, err = tls.DialWithDialer(dialer, "tcp", parseAuthority(config.Location), config.TlsConfig)
  
  	default:
  		err = ErrBadScheme
  	}
  	return
  }
  