From 87300c018083850e28172ac90e7900bd5ea84f0c Mon Sep 17 00:00:00 2001 From: chrisben Date: Sun, 26 Jan 2014 18:00:50 +0100 Subject: [PATCH 01/15] work in progress for 0.7 See changelog for details --- CHANGELOG.md | 4 + LICENSE.md | 2 +- README.md | 2 +- examples/tests.html | 96 ++++-- js/imgcache.js | 746 +++++++++++++++++++++++++------------------- 5 files changed, 505 insertions(+), 345 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f63b5d..ed5e5f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ Release Notes ------------- +* 0.7.0 + Reorganised code to be clearer + Added API coverage check in unit test + Started to create jQuery agnostic adapter * 0.6.2 Added extra checks to make sure ImgCache is properly initialised first (#15) + added note in README about Phonegap plugins (#25) * 0.6.1 Added useCachedFileWithSource (#21) + added Bower package definition * 0.6 Updated deprecated Chrome storage API + Refactored code + improved automated test suites + fixes diff --git a/LICENSE.md b/LICENSE.md index d2460aa..4430219 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,7 +1,7 @@ Apache License ============== -Copyright 2012-2013 (c) Christophe BENOIT - [Wobis](http://www.wobis.fr) +Copyright 2012-2014 (c) Christophe BENOIT - [Wobis](http://www.wobis.fr) *Version 2.0, January 2004* diff --git a/README.md b/README.md index dbff11d..72e2e6c 100644 --- a/README.md +++ b/README.md @@ -170,7 +170,7 @@ See `CHANGELOG.md` for recent updates. License ------- -Copyright 2012-2013 (c) Christophe BENOIT - [Wobis](http://www.wobis.fr) +Copyright 2012-2014 (c) Christophe BENOIT - [Wobis](http://www.wobis.fr) Apache License - see LICENSE.md diff --git a/examples/tests.html b/examples/tests.html index 3485adb..d87611a 100644 --- a/examples/tests.html +++ b/examples/tests.html @@ -8,15 +8,29 @@ - - - - - - - - - -

imgcache.js - automated tests

- -
-

Don't forget to accept your browser request to store data on the local computer!

-
- -
-

If seen in Chrome from file://, run chrome with the following flags: --allow-file-access-from-files --allow-file-access in order to avoid a security error.

-

Otherwise run the page from a web server.

-
- - - - -
 
-
- -

- -
-
- - - -
- - - \ No newline at end of file diff --git a/index.html b/index.html index 0879481..e4a5b30 100644 --- a/index.html +++ b/index.html @@ -2,24 +2,386 @@ - Examples - + imgcache.js - Tests + + + + + + -

imgcache.js - examples

+

imgcache.js

-