-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added transaction support , jsstore version -2.2.1, using promise to …
…execute multiple lines code
- Loading branch information
1 parent
7988111
commit ac89104
Showing
10 changed files
with
95 additions
and
83 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
import * as JsStore from 'jsstore'; | ||
import * as workerPath from "file-loader?name=scripts/[name].[hash].js!jsstore/dist/jsstore.worker.min.js"; | ||
import * as workerPath from "file-loader?name=scripts/[name].[hash].js!jsstore/dist/jsstore.worker.js"; | ||
|
||
export class ServiceHelper { | ||
static idbCon = new JsStore.Instance(new Worker(workerPath)); | ||
} | ||
} | ||
|
||
(window as any).con = ServiceHelper.idbCon; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta http-equiv="X-UA-Compatible" content="ie=edge"><meta name="keywords" content="idbstudio, jsstore, indexeddb, tools, idb"><meta name="description" content="idbstudio is a management tools for indexeddb library jsstore. It helps users to execute , debug and learn jsstore query."><meta name="robots" content="index, follow"><meta name="author" content="Ujjwal Gupta"><meta name="Revisit-After" content="1 days"><meta name="Rating" content="General"><meta property="og:title" content="IDBStudio"><meta property="og:type" content="IndexedDB management tool"><meta property="og:url" content="https://ujjwalguptaofficial.github.io/idbstudio/"><meta property="og:site_name" content="IDBStudio"><meta property="og:description" content="idbstudio is a management tools for indexeddb library jsstore. It helps users to execute , debug and learn jsstore query."><meta property="og:image" content="/img/JsStore_1200_630.png"><meta name="twitter:creator" content="@ujjwal_kr_gupta"><meta name="twitter:title" content="IDBStudio"><meta name="twitter:description" content="idbstudio is a management tools for indexeddb library jsstore. It helps users to execute , debug and learn jsstore query."><meta name="twitter:image" content="http://jsstore.net/img/JsStore_1200_630.png"><title>IDBStudio</title><link href="./assets/css/fontawesome-all.min.css" rel="stylesheet"><script src="./assets/scripts/ace.min.js"></script><script src="./assets/scripts/mode-javascript.js"></script></head><body><div id="app"></div><script src="scripts/bundle.js?3e7f3ead60fa3c9f587c"></script></body></html> | ||
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta http-equiv="X-UA-Compatible" content="ie=edge"><meta name="keywords" content="idbstudio, jsstore, indexeddb, tools, idb"><meta name="description" content="idbstudio is a management tools for indexeddb library jsstore. It helps users to execute , debug and learn jsstore query."><meta name="robots" content="index, follow"><meta name="author" content="Ujjwal Gupta"><meta name="Revisit-After" content="1 days"><meta name="Rating" content="General"><meta property="og:title" content="IDBStudio"><meta property="og:type" content="IndexedDB management tool"><meta property="og:url" content="https://ujjwalguptaofficial.github.io/idbstudio/"><meta property="og:site_name" content="IDBStudio"><meta property="og:description" content="idbstudio is a management tools for indexeddb library jsstore. It helps users to execute , debug and learn jsstore query."><meta property="og:image" content="/img/JsStore_1200_630.png"><meta name="twitter:creator" content="@ujjwal_kr_gupta"><meta name="twitter:title" content="IDBStudio"><meta name="twitter:description" content="idbstudio is a management tools for indexeddb library jsstore. It helps users to execute , debug and learn jsstore query."><meta name="twitter:image" content="http://jsstore.net/img/JsStore_1200_630.png"><title>IDBStudio</title><link href="./assets/css/fontawesome-all.min.css" rel="stylesheet"><script src="./assets/scripts/ace.min.js"></script><script src="./assets/scripts/mode-javascript.js"></script></head><body><div id="app"></div><script src="scripts/bundle.js?378a89433bd31e65e065"></script></body></html> |
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
Large diffs are not rendered by default.
Oops, something went wrong.