-/** * Module with constants * @namespace Constants * @memberOf H * @author Bastien Eichenberger */H.Constants = (function (my) { /** * Object with constants * @private * @memberOf PS.Constants * @type {Object} * @property {String} MY_CONST * @property {Number} MY_INTEGER */ var MY_CONSTANTS = { MY_CONST: 'hello constante', MY_INTEGER: 1 }; /** * Function to get a constant * @function get * @memberOf PS.Constants * @param {string} name * @returns {*} */ my.get = function (name) { return MY_CONSTANTS[name]; } return my;})(H.Constants || {});
0 commit comments