RusticiSoftware/TinCanTests — pull request #4 by davidells-scorm (2013-03-07 20:59:22+00:00)
Title: Tests for Context Activities as Arrays

@bscSCORM @brianjmiller

This PR will add a 1.0 test for context activities as arrays, to make sure elements within the array can be used to query for statements.

But, this also includes a change to reflect the rule that an 1.0 LRS will always normalize context activities to arrays, even if a single element. That created the need for a more measured divergence between 0.95 and 1.0, which has been added here, see common/util.js , v0.95/util.js, and v1.0/util.js...

As part of this, I've moved some common code to the common/ folder, and moved third party code that was there into the common/vendor/ folder...