code: function(name) {
      var nameList = name.split('.');
  
      return nameList
        .map(function(item, i, list) {
          return list.slice(0, i+1).join('.');
        })
        .filter(function(item) {
          return item !== null;
        });
    }
docs: Get a list of parent states
  
  @param  {String} name   A unique identifier for the state; using dot-notation
  @return {Array}         An Array of parent states