cukecooker 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/bin/cukecooker +6 -1
  2. metadata +3 -3
@@ -484,12 +484,17 @@ $(function() {
484
484
  $stepsLi.mouseenter(function(ev) {
485
485
  currentLi().removeClass("selected");
486
486
  selectedStepIndex = $stepsLi.index(this);
487
+ for(var i = 0; i < liIndices.length; i++) {
488
+ if (selectedStepIndex == liIndices[i]) {
489
+ selectedStepIndex = i;
490
+ break;
491
+ }
492
+ }
487
493
  currentLi().addClass("selected");
488
494
  });
489
495
 
490
496
  // When clicking an <li>, build it
491
497
  $stepsLi.click(function(ev) {
492
- selectedStepIndex = $stepsLi.index(this);
493
498
  prepareBuildStep();
494
499
  });
495
500
 
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cukecooker
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1
9
- version: "0.1"
8
+ - 2
9
+ version: "0.2"
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ary Borenszweig