DeletedUser118875
Guest
Hey TW Team,
I am submitting this request because I noticed some issues with compliance for the jQuery Standards on a function your code is overwriting. It seems that the game includes either a customized version of jQuery or it is replacing getScript(...) with a slightly more locked-down version. However, the version of getScript(...) that is currently in the game does not honor/respect deferred objects, as included in the jQuery 1.5 specifications ( https://api.jquery.com/category/deferred-object/ ). The following web console output screenshot demonstrates this problem:
As you can see, $.getScriptOrig(...) (the original version of getScript from the jQuery library) works exactly how it should in jQuery v1.9.1 (the jQuery version the game is running), but the forked replacement for getScript(...) causes unexpected behavior.
Should script developers rely on getScriptOrig(...), and can we do so with any kind of guarantee of reliability in future game updates, or can the Tribal Wars team make their replacement version of getScript(...) compliant to produce expected behavior/results?
Thank you,
Ghost
I am submitting this request because I noticed some issues with compliance for the jQuery Standards on a function your code is overwriting. It seems that the game includes either a customized version of jQuery or it is replacing getScript(...) with a slightly more locked-down version. However, the version of getScript(...) that is currently in the game does not honor/respect deferred objects, as included in the jQuery 1.5 specifications ( https://api.jquery.com/category/deferred-object/ ). The following web console output screenshot demonstrates this problem:
As you can see, $.getScriptOrig(...) (the original version of getScript from the jQuery library) works exactly how it should in jQuery v1.9.1 (the jQuery version the game is running), but the forked replacement for getScript(...) causes unexpected behavior.
Should script developers rely on getScriptOrig(...), and can we do so with any kind of guarantee of reliability in future game updates, or can the Tribal Wars team make their replacement version of getScript(...) compliant to produce expected behavior/results?
Thank you,
Ghost