That's so bad to have to rewrite every script at each new version.
For instance, in previous versions, there was a function called jObjectBLOB which would return the blob.
Now, this function doesn't exist anymore so any call to it will crash the scripts.
Instead you've added a method : "blob()" in jGob class.
What'd be nice would be to keep that kind of function, and edit it to something like that :
- Code: Select all
function jObjectBLOB(object, index){
log_warning("jObjectBLOB is deprecated, use object.blob(index) instead.");
return object.blob(index);
}
function log_warning(txt){
sayArea("[!] Warning, "+txt); //log that the function is deprecated when it's called.
}
This way, all scripts will continue working whatever the current version of union is, and conscientious devs will be able to update their script easily.