Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-12-18 05:03:31 +03:00
parent 848e0de040
commit bdb2680641

View File

@ -20,9 +20,11 @@ object.Mixin('StringProtoMixin', 'soft', {
this
: this[0].toUpperCase() + this.slice(1) },
// Indent a block of text...
//
// .indent(<width>)
// .indent(<str>)
// -> <str>
//
indent: function(indent){
indent = typeof(indent) == typeof('str') ?