|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
392 bytes
|
| Line | |
|---|
| 1 | var baseSetToString = require('./_baseSetToString'),
|
|---|
| 2 | shortOut = require('./_shortOut');
|
|---|
| 3 |
|
|---|
| 4 | /**
|
|---|
| 5 | * Sets the `toString` method of `func` to return `string`.
|
|---|
| 6 | *
|
|---|
| 7 | * @private
|
|---|
| 8 | * @param {Function} func The function to modify.
|
|---|
| 9 | * @param {Function} string The `toString` result.
|
|---|
| 10 | * @returns {Function} Returns `func`.
|
|---|
| 11 | */
|
|---|
| 12 | var setToString = shortOut(baseSetToString);
|
|---|
| 13 |
|
|---|
| 14 | module.exports = setToString;
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.