Skip to content
Browse files

Added credits, updated examples

  • Loading branch information...
1 parent dc93a0a commit ea49b3648c204c56b92adbab0abb9ae6c7f10fba Parashuram committed Jul 27, 2012
Showing with 25 additions and 14 deletions.
  1. +2 −0 Readme.md
  2. +1 −1 examples/dbjs.html
  3. +1 −1 examples/pouchdb.html
  4. +21 −12 index.html
View
2 Readme.md
@@ -5,3 +5,5 @@ A polyfill to enable IndexedDB using WebSql.
IndexedBD is not supported on <a href = "http://caniuse.com/#search=IndexedDB" target="_blank">all browsers</a>.
This IndexedDB polyfill exposes the IndexedDB API in unsupported browsers using WebSQL. This shim is basically an IndexedDB-WebSql adapter.
+
+<a href = "http://nparashuram.com/IndexedDBShim">More details about the project at gh-pages</a>
View
2 examples/dbjs.html
@@ -1,7 +1,7 @@
<html>
<head>
<title>DB.JS on IndexedDB Shim</title>
- <script type = "text/javascript" src = "/IndexedDBShim/indexeddb.shim.js">
+ <script type = "text/javascript" src = "/IndexedDBShim/disy/IndexedDBShim.min.js">
</script>
<script type = "text/javascript">
var server;
View
2 examples/pouchdb.html
@@ -3,7 +3,7 @@
<title>Pouch DB on IndexedDB Shim</title>
<script type = "text/javascript" src = "http://cloud.github.com/downloads/daleharvey/pouchdb/pouch.alpha.js">
</script>
- <script type = "text/javascript" src = "/IndexedDBShim/indexeddb.shim.js">
+ <script type = "text/javascript" src = "/IndexedDBShim/dist/IndexedDBShim.min.js">
</script>
<script type = "text/javascript">
var db;
View
33 index.html
@@ -28,7 +28,9 @@
</div>
<div style ="margin-top: 10px;">
To keep the code manageable, the modules are in <a href = "https://github.com/axemclion/IndexedDBShim/tree/gh-pages/src">different files</a>. The link above is simply a concatenation of all these files.
- You can build a <a href = "dist/IndexedDBShim.min.js">development</a> or <a href = "dist/IndexedDBShim.min.js">production (minified)</a> version by running the default task in the <a href = "https://github.com/cowboy/grunt">gruntfile</a>. The two files will be put in the
+ You can build a <a href = "dist/IndexedDBShim.min.js">development</a>
+ or <a href = "dist/IndexedDBShim.min.js">production (minified)</a>
+ version by running the default task in the <a href = "https://github.com/cowboy/grunt">gruntfile</a>. The two files will be put in the
<code>
dist
</code>
@@ -96,17 +98,24 @@
</li>
</ul>
</div>
+ <div>
+ <h2>Credits</h2>
+ <div>
+ A big thanks to the <a href = "https://github.com/axemclion/IndexedDBShim/graphs/contributors">contributors</a>
+ to this project.
+ </div>
+ </div>
</div>
</div>
<script type = "text/javascript" src= "build.js">
</script>
<script type = "text/javascript">
function download(){
- var w = window.open(null, "Download IndexedDB Shim", "menubar=false,toolbar=false,dependent=yes,height=500,width=500,centerscreen=yes,resizable=yes,scrollbars=yes,status=no");
- w.document.body.innerHTML = "Loading";
- buildIndexedDB.concatScripts(function(script){
- w.document.body.innerHTML = ("<pre>" + script + "</pre>");
- });
+ var w = window.open(null, "Download IndexedDB Shim", "menubar=false,toolbar=false,dependent=yes,height=500,width=500,centerscreen=yes,resizable=yes,scrollbars=yes,status=no");
+ w.document.body.innerHTML = "Loading";
+ buildIndexedDB.concatScripts(function(script){
+ w.document.body.innerHTML = ("<pre>" + script + "</pre>");
+ });
}
</script>
<a href="http://github.com/axemclion/IndexedDBShim"><img style="position: absolute; top: 0; left: 0; border: 0;" src="https://a248.e.akamai.net/camo.github.com/bec6c51521dcc8148146135149fe06a9cc737577/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub"></a>
@@ -118,12 +127,12 @@
_gaq.push(['_trackPageview']);
(function(){
- var ga = document.createElement('script');
- ga.type = 'text/javascript';
- ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0];
- s.parentNode.insertBefore(ga, s);
+ var ga = document.createElement('script');
+ ga.type = 'text/javascript';
+ ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0];
+ s.parentNode.insertBefore(ga, s);
})();
</script>
</body>

0 comments on commit ea49b36

Please sign in to comment.
Something went wrong with that request. Please try again.