index.js
function (testIdx, testCount, variationCount) {
    if (variationCount === undefined) {
      return typeof this.xml[0].children[testIdx].children[testCount].attrs === 'undefined';
    }

    return typeof this.xml[0].children[testIdx].children[testCount].children[variationCount].attrs === 'undefined';
  }
function (testIdx, testCount, variationCount) {
    if (variationCount === undefined) {
      return typeof this.xml[0].children[testIdx].children[testCount].attrs === 'undefined';
    }

    return typeof this.xml[0].children[testIdx].children[testCount].children[variationCount].attrs === 'undefined';
  }
function ( testIdx , testCount , variationCount ) { if ( variationCount === undefined ) { return typeof this . xml [ 0 ] . children [ testIdx ] . children [ testCount ] . attrs === 'undefined' ; } return typeof this . xml [ 0 ] . children [ testIdx ] . children [ testCount ] . children [ variationCount ] . attrs === 'undefined' ; }
Helper method to check if attributes should be set to an empty object literal

@method _checkNodeAttributes
@param {string} testIdx Id of the test node
@param {string} testCount Id of the child node
@param {string} variationCount Id of the testCount child node
Helper method to check if attributes should be set to an empty object literal