mirror of
https://github.com/albertodemichelis/squirrel.git
synced 2026-01-13 15:08:43 +01:00
Normalize whitespace.
Convert source files to Unix EOL mode, convert .bat files to DOS EOL mode, de-tabify and strip trailing whitespace.
This commit is contained in:
@ -17,7 +17,7 @@ Global Symbols
|
||||
.. js:function:: endswith(str, cmp)
|
||||
|
||||
returns `true` if the end of the string `str` matches a the string `cmp` otherwise returns `false`
|
||||
|
||||
|
||||
.. js:function:: escape(str)
|
||||
|
||||
Returns a string with backslashes before characters that need to be escaped(`\",\a,\b,\t,\n,\v,\f,\r,\\,\",\',\0,\xnn`).
|
||||
@ -66,7 +66,7 @@ Global Symbols
|
||||
.. js:function:: startswith(str, cmp)
|
||||
|
||||
returns `true` if the beginning of the string `str` matches the string `cmp`; otherwise returns `false`
|
||||
|
||||
|
||||
.. js:function:: strip(str)
|
||||
|
||||
Strips white-space-only characters that might appear at the beginning or end of the given string and returns the new stripped string.
|
||||
|
||||
Reference in New Issue
Block a user