JonJagger/cyber-dojo

Property 'name' of object [object DOMWindow] is not a function

mlainez opened this issue · 2 comments

Hi,

I've tried to create a new kata on cyber-dojo.com with no luck. The error in the js console is the one in the title. It seems there is a property name on the window already and it gets confused by the declaration of the name() function here:

https://github.com/JonJagger/cyberdojo/blob/master/app/views/dojo/_name_save_cancel.html.erb#L5

I cloned the repo and renamed the function to make it work, can anybody confirm they have that issue as well?

Cheers

Hi Marc,
thanks so much for reporting this.
I can confirm that in Chrome (on Mac 17.0.963.56) I got the same issue.
I've made a quick fix and cyber-dojo.com is ok in Chrome now.
Cheers
Jon

Cool, btw yesterday night we tried the roman numerals it was fun :) Thanks for the time you put in creating that dojo.