olivernn / davis.js

RESTful degradable JavaScript routing using pushState
http://davisjs.com
532 stars 58 forks source link

toArray: Remove redundant local variable #60

Closed Krinkle closed 11 years ago

Krinkle commented 11 years ago
var start = start || 0;
call(start);

Variable 'start' already declared (as function argument).

start = start || 0;
call(start);

Variable only used once.

call(start || 0);
olivernn commented 11 years ago

Thanks for this, a fix is in the latest release