mozilla/popcorn-docs — pull request #35 by kaushikgandhi (2013-10-30 05:47:25+00:00)
Title: Syntqax error in http://popcornjs.org/popcorn-docs/parsers/#JSON%20parser

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 have made a pull request with changes.