diff options
Diffstat (limited to 'includes/external/school/node_modules/lodash/_baseSetToString.js')
-rw-r--r-- | includes/external/school/node_modules/lodash/_baseSetToString.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/includes/external/school/node_modules/lodash/_baseSetToString.js b/includes/external/school/node_modules/lodash/_baseSetToString.js deleted file mode 100644 index 89eaca3..0000000 --- a/includes/external/school/node_modules/lodash/_baseSetToString.js +++ /dev/null @@ -1,22 +0,0 @@ -var constant = require('./constant'), - defineProperty = require('./_defineProperty'), - identity = require('./identity'); - -/** - * 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 ? identity : function(func, string) { - return defineProperty(func, 'toString', { - 'configurable': true, - 'enumerable': false, - 'value': constant(string), - 'writable': true - }); -}; - -module.exports = baseSetToString; |