Skip to content

Feature: Support transactionalBatch;#5

Open
brettz9 wants to merge 1 commit into
treojs:masterfrom
brettz9:transactionalBatch2
Open

Feature: Support transactionalBatch;#5
brettz9 wants to merge 1 commit into
treojs:masterfrom
brettz9:transactionalBatch2

Conversation

@brettz9

@brettz9 brettz9 commented May 15, 2016

Copy link
Copy Markdown
Contributor

Addresses #1 and #2

Feature: Support transactionalBatch;
Feature: Allow preexisting transaction to be supplied to batch() (or transactionalBatch());
Feature: Support move, copy operations;
Testing: Fix test name/db; add 'clear' test
Imports: Avoid deprecation notice for regenerator;
Refactoring: Add babel-polyfill for iterators;
Refactoring: Use increment/decrement operators, avoid redundant Boolean cast;
Refactoring: For transaction, use addEventListener in place of on* handlers (may be reused, e.g., by function-type operations)

Feature: Allow preexisting transaction to be supplied to `batch()` (or `transactionalBatch()`);
Feature: Support `move`, `copy` operations;
Testing: Fix test name/db; add 'clear' test
Imports: Avoid deprecation notice for regenerator;
Refactoring: Add babel-polyfill for iterators;
Refactoring: Use increment/decrement operators, avoid redundant Boolean cast;
Refactoring: For transaction, use `addEventListener` in place of on* handlers (may be reused, e.g., by function-type operations)
@brettz9

brettz9 commented Oct 5, 2016

Copy link
Copy Markdown
Contributor Author

And any update re: reviews on this?

Comment thread src/index.js
@@ -1,3 +1,5 @@
import 'babel-polyfill' // Array.prototype.values, etc.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this library has to be minimal, therefor no "babel-polyfill" or usage of native ES2016 features like .values or .includes

@alekseykulikov

Copy link
Copy Markdown
Contributor

Hey @brettz9, I'm not sure about merging this PR, because it has to ditch Safari 9 in order to support multiple transactions.
I'm going to start use treo again in my coming project, so I will merge/comment on all your PRs and eventually finish 1.0
Thank you for all your work, I feel sorry for not being able to merge/review it for such a long period of time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants