Skip to content

Commit

Permalink
Good-bye pogyield :C
Browse files Browse the repository at this point in the history
  • Loading branch information
paulo_local committed Mar 24, 2019
1 parent 975d3af commit d3cd03b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions structures/datastructures/linear/Array.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global VisualisationItem, codeFollowEditor, util, activeOperation, pogyield*/
/* global VisualisationItem, codeFollowEditor, util, activeOperation*/
class StaticArray extends VisualisationItem {
constructor(itemData) {
const length = 10;
Expand Down Expand Up @@ -78,9 +78,6 @@ class StaticArray extends VisualisationItem {
// Define a step
await this.step() && (yield);

if (pogyield) yield;

console.log("RESETING COLOR!!", element);
// Reset color
element.resetColor();

Expand Down
2 changes: 1 addition & 1 deletion views/visualiser/visualiser.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ let speedSliderElement = document.getElementById('step_speed');
/**************** Active Item Definition ****************/
// Represents the active data structure meta data!
// (NOT THE DS ITSELF!)
var activeItem = null; var pogyield =false;
var activeItem = null;
var items = null;

// Operation object literal to deal with the DS operation coroutines in a easy manner!
Expand Down

0 comments on commit d3cd03b

Please sign in to comment.