Never make run again success an example... I get "Undefined" in browser console


#1

Put JavaScript Design Patterns into Practice

I run initially the examples , but after take a break 1.5 wks and run again / continue… Never make run again success an example… I get “Undefined” in browser console…


#2

Have you tried the version of the code directly from the GitHub repo?


#3

Not remember where download but before 1 mo all worked … can you tell GitHub link…?


#4

Here you go: https://github.com/tutsplus/put-javascript-design-patterns-into-practice


#5

The examples in the GitHub repo work for me, after I run bower install.


#6

again No work… any hint? please note before was working …


#7

Ah-ha! Try

runExample("factory")

You wrote ["factory"]. The runExample identifier is a function, not an array.


#8

now worked
thanks