Added a check for string.split as a function

master
AardCrowley 2 years ago committed by GitHub
parent 8fe60eaaa5
commit 2e0774f25b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -57,6 +57,10 @@ returns
<script> <script>
<![CDATA[ <![CDATA[
if not type(string.split) == "function" then
require 'string_split'
end
function note_wrap(str, limit, indent, indent1) function note_wrap(str, limit, indent, indent1)
indent = indent or "" indent = indent or ""
indent1 = indent1 or indent indent1 = indent1 or indent

Loading…
Cancel
Save