mozilla/popcorn-docs — pull request #36 by kaushikgandhi (2013-10-30 16:46:19+00:00)
Title: Syntax error in http://popcornjs.org/popcorn-docs/parsers/#JSON%20parser

Updated pull request.
Wrong syntax:

var popcorn( "#video" );

should be:

var popcorn = Popcorn( "#video" );

also
popcorn.parseJSON( "data/data.json", function() {
alert( "JSON Parsed Successfully" );
});
should be wrapped within DOMContentLoaded event .

We had a discussion over this issue here http://webmademovies.lighthouseapp.com/projects/63272/tickets/1406-httppopcornjsorgpopcorn-docsparsersjson20parser-sample-code-has-bugs
So I am making a pull request with changes.