Monday, 22 July 2013

Instant Meteor JavaScript Framework Starter "Grapher is not defined"

The image above is the view from the front of the boat taken on the 13th of July 2013. It's pretty is all so I thought I'd put it here. It's got nothing to do with the excellent book in the title of this post!

The excellent book does, however, have one small issue in that I couldn't get the application to work... I did all sorts of searches (using variations of the terms in the post title - which I found using FireBug) to no avail. Then I realised this was a Packt book and I really should check the books page on there, taht was when I found Errata link and the helpful:

Errata type: Code | Page number: 34 | Errata date: 28 May 2013

Only for versions 0.58 and higher

The first paragraph of page 34, where it states that the reader should add the line should read:

Grapher = {};

instead of:

var Grapher = {};

I hope that this helps someone as it was doing my poor little noggin in for about a week (Should remember to check the source!)!