| 1 2 3 4 5 6 7 8 9 10 11 12 | 1 1 1 1 1 | /* global gt:true */
/* jshint indent:2 */
console.assert(gt, 'gt framework not registered');
var _ = require('lodash');
Eif (typeof gt.equiv === 'undefined') {
// deep equiality comparison
gt.equiv = _.isEqual;
}
console.assert(typeof gt.equiv === 'function',
'expected .equiv property to be a function');
|