insertSteps was being hoisted to global.
Locally declared insertSteps by adding var s.t. it would no longer be a
global variable.
Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
Showing
Please
register
or
sign in
to comment