App with generic services will not run with new v2.0 libraries
Hello,
After switching to v2.0 libraries version in Appery Builder my app stopped working. It throws this errors at the console:
Uncaught ReferenceError: $t is not defined genericServiceArttableQuery.js:1
Uncaught ReferenceError: $t is not defined genericServiceGroupQuery.js:1
Uncaught ReferenceError: $t is not defined genericServiceGrouptreeQuery.js:1
Uncaught ReferenceError: $t is not defined genericFavouritesQuery.js:1
Uncaught TypeError: undefined is not a function service.js:46
Uncaught TypeError: Cannot set property 'serviceLoaderOptions' of undefined appery.js:1352
All these errors are generated by generic JS services (based on Appery tutorial examples). This is where it comes from:
$t.genericServiceArttableQuery = $t.createClass(null, {
// This is Generic Service custom JS - Arttable
init : function(requestOptions) {
this.__requestOptions = $.extend({}, requestOptions);
},
Code: Select all
process : function(settings) { It is just the fragment of the generic service code, as you can see there is a problematic "$t" at the beginning of it.
Can you help me fix it please?