electricessence / TypeScript.NET

A JavaScript-Friendly .NET Based TypeScript Library (Moved)
https://github.com/electricessence/TypeScript.NET-Core
Other
251 stars 36 forks source link

Added very basic string padding (left and right) #39

Closed galvesribeiro closed 8 years ago

electricessence commented 8 years ago

Ok going to integrate but will revise.

electricessence commented 8 years ago

Hmmm... So I'm confused why the padding functions are so different.

electricessence commented 8 years ago

@galvesribeiro Here's the code: https://github.com/electricessence/TypeScript.NET/blob/master/source/System/Text/Padding.ts Please review. This seems more 'TypeScript' than the general pad functions.