We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c57d09 + 9280ce6 commit 2775f86Copy full SHA for 2775f86
lib/string.js
@@ -411,8 +411,8 @@ helpers.raw = function(options) {
411
*/
412
413
helpers.remove = function(str, ch) {
414
- if (!utils.isString(str)) return '';
415
- if (!utils.isString(ch)) return str;
+ if (!util.isString(str)) return '';
+ if (!util.isString(ch)) return str;
416
return str.split(ch).join('');
417
};
418
@@ -430,8 +430,8 @@ helpers.remove = function(str, ch) {
430
431
432
helpers.removeFirst = function(str, ch) {
433
434
435
return str.replace(ch, '');
436
437
0 commit comments