code: function (configData, platform) {
              var preferences = this.getPreferences(platform),
                  type = 'preference';
  
              _.each(preferences, function (preference) {
                  var prefMappingData = preferenceMappingData[platform][preference.attrib.name],
                      target,
                      prefData;
  
                  if (prefMappingData) {
                      prefData = {
                          parent: prefMappingData.parent,
                          type: type,
                          destination: prefMappingData.destination,
                          data: preference
                      };
  
                      target = prefMappingData.target;
                      if(!configData[target]) {
                          configData[target] = [];
                      }
                      configData[target].push(prefData);
                  }
              });
          }
docs: Retrieves the config.xml's pereferences for a given platform and parses them into JSON data