WP-API/client-js — pull request #16 by mattheu (2014-05-22 23:47:01+00:00)
Title: Fix post tests

Line 144 was commented out to fix an issue flagged by jshint - var is defined, but not used.

But this causes the test to fail.

Instead the parent post model should be passed when creating the collection and not assigned to a variable.

Also - added some comments & formatting.