Skip to content

Commit e58ab01

Browse files
committed
feat: establish compatibility with Fuse.js 7.0.0
1 parent c0ccbcf commit e58ab01

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This is a PHP port of the awesome [Fuse.js](https://github.com/krisk/fuse) proje
1717

1818
Check out their [demo](https://fusejs.io/demo.html) and [examples](https://fusejs.io/examples.html) to get a good feel for what this library is capable of.
1919

20-
> Latest compatible Fuse.js version: 6.6.2
20+
> Latest compatible Fuse.js version: 7.0.0
2121
2222
---
2323

src/Tools/KeyStore.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ public function __construct(array $keys)
7272

7373
$obj = static::createKey($key);
7474

75-
$totalWeight += $obj['weight'];
76-
7775
$this->keys[] = &$obj;
7876
$this->keyMap[$obj['id']] = &$obj;
7977

0 commit comments

Comments
 (0)