lib/daddy/formatter/daddy.js in daddy-0.1.17 vs lib/daddy/formatter/daddy.js in daddy-0.1.18
- old
+ new
@@ -1,3 +1,8 @@
function toggle_feature_dir(feature_dir) {
$(feature_dir).parent('div.feature_dir').nextUntil('div.feature_dir').toggle(250);
};
+
+function toggle_step_file(step_file) {
+ $(step_file).closest('li').next('.step_contents').toggle(250);
+ event.stopPropagation();
+};