Skip to content

Commit c02d627

Browse files
committed
now using idbwrapper lib
1 parent 50c905a commit c02d627

30 files changed

+5353
-95
lines changed

app/components/idbwrapper/.gitignore

Whitespace-only changes.

app/components/idbwrapper/CHANGELOG

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
1.2.0 /
2+
------------------
3+
4+
* Add autoContinue option to iterate() method [maxogden]
5+
* Make put() method work with out-of-line keys [maxogden]
6+
* Make batch() method work with out-of-line keys [maxogden]
7+
* Misc Refactoring
8+
9+
10+
11+
1.1.0 / 2013-03-26
12+
------------------
13+
14+
* Move all callbacks from request level to transaction level
15+
* Misc Refactoring
16+
17+
18+
19+
1.0.0 / 2013-02-05
20+
------------------
21+
22+
* Add query() method
23+
* Add storePrefix property to constructor [englercj]
24+
* Add JSDoc
25+
* Add input checks to the batch() method
26+
* Add Closure Compiler to repository
27+
* Add MAKEFILE
28+
* Misc cleanup
29+
30+
31+
32+
0.3.1 / 2013-01-04
33+
------------------
34+
35+
* lowercase idbstore.js
36+
* Add minified version
37+
* Add version property to IDBStore
38+
39+
40+
41+
0.3.0 / 2012-12-18
42+
------------------
43+
44+
* Fix potentially non-unique generated IDs
45+
* Add batch() method [Raynos]
46+
* Fix a bug where the success handler could be called even if there was an error
47+
* Fix a bug where old IndexedDB implementations were not detected successfully
48+
49+
50+
51+
0.2.1 / 2012-11-20
52+
------------------
53+
54+
* Add error handler to constructor
55+
* Remove support for numeric transaction and cursor types.
56+
* Misc cleanup
57+
58+
59+
60+
0.2.0 / 2012-11-20
61+
------------------
62+
63+
* Start versioning
64+

app/components/idbwrapper/LICENSE

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
Copyright (c) 2011 - 2013 Jens Arps
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy
4+
of this software and associated documentation files (the "Software"), to deal
5+
in the Software without restriction, including without limitation the rights
6+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7+
copies of the Software, and to permit persons to whom the Software is
8+
furnished to do so, subject to the following conditions:
9+
10+
The above copyright notice and this permission notice shall be included in
11+
all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19+
THE SOFTWARE.
20+
21+
This repository contains the following external libraries (each with their own
22+
license):
23+
24+
- Closure Compiler: http://code.google.com/p/closure-compiler/source/browse/trunk/COPYING

app/components/idbwrapper/Makefile

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#
2+
# For the jsdoc and jshint targets, the following binaries need to be installed
3+
# and available in your PATH:
4+
#
5+
# * jsdoc (https://github.com/jsdoc3/jsdoc)
6+
# * jshint (https://github.com/jshint/jshint/)
7+
#
8+
# Both can be installed via NPM.
9+
#
10+
11+
WORKSPACE=${CURDIR}
12+
13+
CLOSURE=java -jar lib/closure/compiler.jar
14+
15+
#
16+
# make targets:
17+
#
18+
19+
default: build
20+
21+
mkjsdoc:
22+
mkdir -p ${WORKSPACE}/jsdoc
23+
24+
doc: jsdoc
25+
jsdoc: mkjsdoc
26+
jsdoc -d ${WORKSPACE}/jsdoc/ ${WORKSPACE}/idbstore.js
27+
28+
jshint:
29+
jshint ${WORKSPACE}/idbstore.js
30+
31+
minify:
32+
${CLOSURE} --js idbstore.js --js_output_file idbstore.min.js
33+
34+
build: jshint minify

0 commit comments

Comments
 (0)