Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
karimnaaji committed Jan 27, 2020
1 parent 08fc3a9 commit 4e0f047
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/data/bucket/symbol_bucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@ export class SymbolBuffers {
}

isEmpty() {
return this.layoutVertexArray.length == 0 &&
this.indexArray.length == 0 &&
this.dynamicLayoutVertexArray.length == 0 &&
this.opacityVertexArray.length == 0;
return this.layoutVertexArray.length === 0 &&
this.indexArray.length === 0 &&
this.dynamicLayoutVertexArray.length === 0 &&
this.opacityVertexArray.length === 0;
}

upload(context: Context, dynamicIndexBuffer: boolean, upload?: boolean, update?: boolean) {
Expand Down

0 comments on commit 4e0f047

Please sign in to comment.