@@ -10,7 +10,7 @@ Available on Github at https://github.com/AntikoreDev/file-compressed
1010 * @desc Loads the struct from a file saved previously with `file_compressed_save`
1111 *
1212 * @arg {string} filename Name of the file to load
13- * @arg {any} default Value to return if loaded unsucessfully , defaults to undefined
13+ * @arg {any} default Value to return if loaded unsuccessfully , defaults to undefined
1414 *
1515 * @return {struct} JSON containing the data from the file or default if couldn't load correctly
1616 */
@@ -63,7 +63,7 @@ function file_compressed_load_async(_filename){
6363 * @desc Parses the data from a buffer loaded with `file_compressed_load_async` and converts it to an struct
6464 *
6565 * @arg {real} buffer Buffer ID to parse
66- * @arg {any} default Value to return if loaded unsucessfully , defaults to undefined
66+ * @arg {any} default Value to return if loaded unsuccessfully , defaults to undefined
6767 *
6868 * @return {struct} JSON containing the data from the buffer or default if couldn't load correctly
6969 */
@@ -98,7 +98,7 @@ function file_compressed_load_parse(_buffer, _default = undefined){
9898 * @arg {string} filename The file to save the file to
9999 * @arg {struct} data The json data to save onto the file
100100 *
101- * @return {boolean} true if sucess , otherwise false
101+ * @return {boolean} true if success , otherwise false
102102 */
103103function file_compressed_save (_filename, _data){
104104
0 commit comments