'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _constants;

function _load_constants() {
  return _constants = require('../../../constants');
}

/**
 * Add default binding prefix to version model
 * @param {*} versionModel - The parsed component model
 */
function addBindingPrefix(versionModel) {
  if (!versionModel.bindingPrefix) {
    versionModel.bindingPrefix = (_constants || _load_constants()).DEFAULT_BINDINGS_PREFIX;
  }
  return versionModel;
}


var addBindingPrefixDeclartaion = {
  name: 'add binding prefix',
  migrate: addBindingPrefix
};

exports.default = addBindingPrefixDeclartaion;