{"issue":{"created_at":"2011-12-07T21:50:09Z","state":"closed","updated_at":"2011-12-08T07:10:13Z","comments":1,"user":{"gravatar_id":"08a2bc1ddfd19efd69cb92167b0fe52a","id":170681,"url":"https://api.github.com/users/jhardy","avatar_url":"https://secure.gravatar.com/avatar/08a2bc1ddfd19efd69cb92167b0fe52a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jhardy"},"body":"Append method was appending duplicate samurai.js scripts to the document head each time the page was visited, causing multiple forms to be added to the page.","assignee":null,"id":2480602,"labels":[],"pull_request":{"patch_url":"https://github.com/FeeFighters/samurai-example-nodejs/pull/1.patch","html_url":"https://github.com/FeeFighters/samurai-example-nodejs/pull/1","diff_url":"https://github.com/FeeFighters/samurai-example-nodejs/pull/1.diff"},"number":1,"title":"Insert method for samurai.js example","html_url":"https://github.com/FeeFighters/samurai-example-nodejs/issues/1","closed_at":"2011-12-08T07:10:12Z","url":"https://api.github.com/repos/FeeFighters/samurai-example-nodejs/issues/1","milestone":null},"action":"created","comment":{"created_at":"2011-12-08T07:10:13Z","updated_at":"2011-12-08T07:10:13Z","user":{"gravatar_id":"34a6415cf2b612639b56a71a119f36fb","id":20262,"url":"https://api.github.com/users/tisho","avatar_url":"https://secure.gravatar.com/avatar/34a6415cf2b612639b56a71a119f36fb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"tisho"},"body":"Good catch! Thanks for taking care of it. The solution is actually a little different, because 'head' should be a dynamicHelper (gets executed on every request), instead of just a helper. This way the head string gets trashed on every reload and there's no duplication.","id":3058715,"url":"https://api.github.com/repos/FeeFighters/samurai-example-nodejs/issues/comments/3058715"}}