Comparing version 0.1.1 to 0.1.3
{ | ||
"name": "caveman", | ||
"main": "caveman.js", | ||
"version": "0.1.1", | ||
"version": "0.1.3", | ||
"homepage": "https://github.com/andrewchilds/caveman", | ||
@@ -6,0 +6,0 @@ "authors": [ |
@@ -251,3 +251,5 @@ /** | ||
var resetIndex = ''; | ||
if (id >= 0) { | ||
var lastState = getBlockState()[id] + ''; | ||
var lastStateIsForBlock = lastState.indexOf('_ds.pop()') !== -1; | ||
if (id >= 0 && lastStateIsForBlock) { | ||
resetIndex = '_i = _i' + id + '; _len = _len' + id + ';'; | ||
@@ -254,0 +256,0 @@ } |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "0.1.1", | ||
"version": "0.1.3", | ||
"main": "caveman.js", | ||
@@ -10,0 +10,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
44415
342