Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update:Updating versions of the example #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"start": "node server.js"
},
"dependencies": {
"express": "^4.16.2",
"pouchdb-express-router": "^0.0.9",
"pouchdb": "^6.4.1"
"express": "^4.17.1",
"pouchdb-express-router": "^0.0.10",
"pouchdb": "^7.2.2"
},
"engines": {
"node": "8.x"
Expand All @@ -26,4 +26,4 @@
"glitch",
"express"
]
}
}
4 changes: 3 additions & 1 deletion views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ <h3>
<pre id="output"><code><button id="run">Run Code</button></code></pre>
</div>

<a href="https://github.com/pouchdb/pouchdb-bug-helper"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>

<script>
// Helper function to log data to the index.html
var logData = [];
Expand All @@ -42,7 +44,7 @@ <h3>

<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-promise/4.1.1/es6-promise.auto.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fetch/2.0.3/fetch.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/pouchdb@6.4.1/dist/pouchdb.min.js"></script>
<script src="//cdn.jsdelivr.net/npm/pouchdb@7.2.2/dist/pouchdb.min.js"></script>
<script src="/client.js"></script>

<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
Expand Down