Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@doodle/i18n / dist / cjs / node_modules / lodash / _baseSetToString.js
Size: Mime:
'use strict';

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

var _defineProperty = require('./_defineProperty.js');
var identity = require('./identity.js');
var constant = require('./constant.js');

/**
 * The base implementation of `setToString` without support for hot loop shorting.
 *
 * @private
 * @param {Function} func The function to modify.
 * @param {Function} string The `toString` result.
 * @returns {Function} Returns `func`.
 */
var baseSetToString = !_defineProperty.default ? identity.default : function(func, string) {
  return _defineProperty.default(func, 'toString', {
    'configurable': true,
    'enumerable': false,
    'value': constant.default(string),
    'writable': true
  });
};

var _baseSetToString = baseSetToString;

exports.__moduleExports = _baseSetToString;
exports.default = _baseSetToString;
//# sourceMappingURL=_baseSetToString.js.map