-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Factor common steps out of add()/put()
Editorial only. Resolves #261 The steps between add() and put() operations on IDBObjectStore are identical except for the value of the no-overwrite flag. Factor out the common steps into a named procedure to save space and improve readability.
- Loading branch information
1 parent
df5c74d
commit b0e97eb
Showing
1 changed file
with
18 additions
and
86 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