Skip to content

Commit 88979dc

Browse files
if needs to be ready, should have an index of -1, not 0. 0 is a valid index.
1 parent b107fa8 commit 88979dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "thaw.js",
33
"main": "thaw.js",
4-
"version": "1.1.7",
4+
"version": "1.1.8",
55
"homepage": "https://github.com/robertleeplummerjr/thaw.js",
66
"authors": [
77
"Robert Plummer <robertleeplummerjr@gmail.com> (http://visop-dev.com)"

thaw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ var Thaw = (function(window) {
7777
* @returns {boolean} if had to get ready
7878
*/
7979
makeReady: function() {
80-
if (this.i < 1) {
80+
if (this.i < 0) {
8181
this.i = this.items.length;
8282
return true;
8383
}

0 commit comments

Comments
 (0)