function(data, target) {
      //Keys which we will exclude from the dataMap
      const excludeKeys = self.initRun ? [] : ['option', 'query', 'shorthand', 'mixin'];
      self.initRun = false;
      //data map struc to be popultated
      const emptyDataMap = Immutable.Map({
        static: Immutable.OrderedMap(),
        obj: Immutable.OrderedMap()
      });

      //check for use keywork, if false we don't use the data
      data = self.doNotUse(data);
      if (!data) {
        return {
          emptyDataMap,
          target
        };
      }

      //we need to map out the raw objects into two maps, obj and staic
      const dataMap = _.reduce(data, function (map, val, key) {
        const addTo = _.isPlainObject(val) ? 'obj' : 'static';
        if (!_.includes(excludeKeys, key)) {
          return map.update(addTo, function (m) {
            return m.set(key, val);
          });
        }
        return map;
      }, emptyDataMap);

      return {
        dataMap,
        target
      };
    }
function(data, target) {
      
      const excludeKeys = self.initRun ? [] : ['option', 'query', 'shorthand', 'mixin'];
      self.initRun = false;
      
      const emptyDataMap = Immutable.Map({
        static: Immutable.OrderedMap(),
        obj: Immutable.OrderedMap()
      });

      
      data = self.doNotUse(data);
      if (!data) {
        return {
          emptyDataMap,
          target
        };
      }

      
      const dataMap = _.reduce(data, function (map, val, key) {
        const addTo = _.isPlainObject(val) ? 'obj' : 'static';
        if (!_.includes(excludeKeys, key)) {
          return map.update(addTo, function (m) {
            return m.set(key, val);
          });
        }
        return map;
      }, emptyDataMap);

      return {
        dataMap,
        target
      };
    }
function ( data , target ) { //Keys which we will exclude from the dataMap const excludeKeys = self . initRun ? [ ] : [ 'option' , 'query' , 'shorthand' , 'mixin' ] ; self . initRun = false ; //data map struc to be popultated const emptyDataMap = Immutable . Map ( { static : Immutable . OrderedMap ( ) , obj : Immutable . OrderedMap ( ) } ) ; //check for use keywork, if false we don't use the data data = self . doNotUse ( data ) ; if ( ! data ) { return { emptyDataMap , target } ; } //we need to map out the raw objects into two maps, obj and staic const dataMap = _ . reduce ( data , function ( map , val , key ) { const addTo = _ . isPlainObject ( val ) ? 'obj' : 'static' ; if ( ! _ . includes ( excludeKeys , key ) ) { return map . update ( addTo , function ( m ) { return m . set ( key , val ) ; } ) ; } return map ; } , emptyDataMap ) ; return { dataMap , target } ; }
config data
config data