Skip to content

Commit

Permalink
Back to github, removing alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
tykoth committed Jul 2, 2020
1 parent ff3fd4e commit d02b99a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
registry=https://npm.pkg.github.com/tykoth
#registry=https://npm.pkg.github.com/tykoth
registry=https://registry.npmjs.org/
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"type": "git",
"url": "git+https://github.com/tykoth/ra-data-dexie.git"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"license": "MIT",
"author": "Thiago Bocchile <[email protected]>",
Expand All @@ -27,5 +27,8 @@
"dependencies": {
"dexie": "^2.0.4",
"react-admin": "^2.3.1"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
}
}
2 changes: 0 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ import Dexie from 'dexie';
export default (databaseName, databaseVersion, databaseStores) => {

const db = new Dexie(databaseName);
// db.delete();
alert('db online');
db.version(databaseVersion).stores(databaseStores);

return (type, resource, params) => new Promise((resolve, reject) => {
Expand Down

0 comments on commit d02b99a

Please sign in to comment.