Skip to content

Commit

Permalink
Dead code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Avaer Kazmer committed Dec 17, 2022
1 parent 3703b68 commit c868e67
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions zine-format.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ function checkEventKeypathPrefix(e, prefix) {
function keyPathEquals(a, b) {
return a.length === b.length && a.every((key, i) => key === b[i]);
}
function isKeyPathSub(prefix, keyPath) {
return prefix.length <= keyPath.length &&
prefix.every((key, i) => keyPath[i] === key);
}
// function isKeyPathSub(prefix, keyPath) {
// return prefix.length <= keyPath.length &&
// prefix.every((key, i) => keyPath[i] === key);
// }

export class ZineStoryboard extends EventTarget {
constructor() {
Expand Down

0 comments on commit c868e67

Please sign in to comment.