Skip to content

Commit

Permalink
Bumped version to 0.4.12
Browse files Browse the repository at this point in the history
  • Loading branch information
andris9 committed Jul 23, 2014
1 parent 6934e7a commit 5f4075a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 20 deletions.
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jStorage",
"version": "0.4.11",
"version": "0.4.12",
"main": "./jstorage.js",
"author": "Andris Reinman <[email protected]>",
"dependencies": {}
Expand Down
13 changes: 9 additions & 4 deletions jstorage.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,15 @@
* For more information, please refer to <http://unlicense.org/>
*/

/* global ActiveXObject: false */
/* jshint browser: true */

(function() {
'use strict';

var
/* jStorage version */
JSTORAGE_VERSION = '0.4.11',
JSTORAGE_VERSION = '0.4.12',

/* detect a dollar object or create one if not found */
$ = window.jQuery || window.$ || (window.$ = {}),
Expand Down Expand Up @@ -531,7 +534,7 @@
* Checks if there's any events on hold to be fired to listeners
*/
function _handlePubSub() {
var i, j, len;
var i, len;
if (!_storage.__jstorage_meta.PubSub) {
return;
}
Expand All @@ -547,8 +550,8 @@
}
}

for(j = needFired.length - 1; j >= 0; j--){
_fireSubscribers(needFired[j][1], needFired[j][2]);
for (i = needFired.length - 1; i >= 0; i--) {
_fireSubscribers(needFired[i][1], needFired[i][2]);
}

_pubsub_last = _pubsubCurrent;
Expand Down Expand Up @@ -658,8 +661,10 @@
switch (l) {
case 3:
h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
/* falls through */
case 2:
h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
/* falls through */
case 1:
h ^= (str.charCodeAt(i) & 0xff);
h = (((h & 0xffff) * 0x5bd1e995) + ((((h >>> 16) * 0x5bd1e995) & 0xffff) << 16));
Expand Down
31 changes: 16 additions & 15 deletions jstorage.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5f4075a

Please sign in to comment.