Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modernize lib/rarity-map.js #1485

Merged
merged 4 commits into from Aug 27, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Prev

remove initial fill

  • Loading branch information
jimmywarting committed Aug 27, 2018
commit 6815346091a5fd4235d61c705f5b74d28ec83053
@@ -7,7 +7,7 @@ class RarityMap {
constructor (torrent) {
this._torrent = torrent
this._numPieces = torrent.pieces.length
this._pieces = new Array(this._numPieces).fill(0)
this._pieces = new Array(this._numPieces)

this._onWire = wire => {
this.recalculate()
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.