Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
feat: removing priorities
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov committed Jul 23, 2017
1 parent 459ff10 commit 267c333
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,6 @@ const log = debug('libp2p:websockets:dialer')
const createListener = require('./listener')

class WebSockets {
get priority () {
return 1 // TODO: move to a constants file that all transports can share
}

set priority (val) {
throw new Error('Priority is read only!')
}

dial (ma, options, callback) {
if (typeof options === 'function') {
callback = options
Expand Down

0 comments on commit 267c333

Please sign in to comment.