-
- Downloads
Project 'sbbs/sbbs' was moved to 'main/sbbs'. Please update any links and bookmarks that may still have the old path.
JS File.iniGetObject() and .iniGetAllObjects() now support blank strings
If an .ini file is read by either the iniGetObject() or iniGetAllObjects() methods and contains a key with a blank value, that property would be created with an "undefined" value. Both the iniGetObject() and iniGetAllObjects() methods now accept an additional Boolean argument (which defaults to false), to specify that "blanks" are acceptable. When the "blanks" argument is true, then keys with empty values in the .ini file are created as properties with empty string values (length of 0). This is going to be useful for modopts.js to read potentially-blank strings from modopts.ini and differentiate between a blank string key and a missing key.
parent
bd78d5c5
No related branches found
No related tags found
Please register or sign in to comment