lib/ctr-nodes/index.js
function (optionObj) {
        //@hacky fix for #388
        if (_.hasIn(optionObj, ['transitionDefault'])) {
          _M._option.updateTransDefault(optionObj.transitionDefault);
          delete optionObj.transitionDefault;
        }
        //cycle to check if it option object has any global opts
        _.each(optionObj, function (val, key) {
          //if sub-object
          if (_.isObject(val)) {
            _.each(val, function (_val, _key) {
              mergeOption(_val, [key, _key]);
            });
          }else {
            mergeOption(val, [key]);
          }
        });
      }
function (optionObj) {
        //@hacky fix for #388
        if (_.hasIn(optionObj, ['transitionDefault'])) {
          _M._option.updateTransDefault(optionObj.transitionDefault);
          delete optionObj.transitionDefault;
        }
        //cycle to check if it option object has any global opts
        _.each(optionObj, function (val, key) {
          //if sub-object
          if (_.isObject(val)) {
            _.each(val, function (_val, _key) {
              mergeOption(_val, [key, _key]);
            });
          }else {
            mergeOption(val, [key]);
          }
        });
      }
wrapper for set option