Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADD OPTION TO STORE OBJECT WHEN PUSHING INTERVALS
Option to pass an object when pushing intervals (can be used to store ID or any other properties), really useful when querying points, intervals or overlaps. tree.pushInterval( 10, 20, { prop1 : 'Could be anything' , id : 500 } ); tree.pushArray( fromValues , toValues , [ { propFromObj1 : 'value' }, { propFromObj2 : 'value' }, { propFromObj3 : 'value' } ]);
- Loading branch information
1 parent
4978a6b
commit 20c5cf2
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters