Gotcha.


On Wed, Jan 8, 2014 at 1:12 AM, Jon Wear <notifications@github.com> wrote:

> In basic_calc.html:
>
> > @@ -28,7 +28,7 @@
> >  				</td>
> >  				
> >  				<td>
> > -					<input type='button' value = '=' onclick = "bcalcdom.eval();"/>
> > +					<input type='button' value = '=' onclick = "bcalcdom.evaluate();"/>
>
> Fine to change the name here, but since it's name-spaced with bcalcdom,
> the eval() on line 31 won't conflict with the global. Part of the reason I
> did this was to show the imporntance of name spacing so that we don't
> override a global(or other library) function by inadvertently giving it the
> same name.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Circle-of-Hackers/basic_calc/pull/1/files#r8716373>
> .
>