luke315774
Posts: 0
Joined: Mon Mar 17, 2014 6:33 pm

Generic Security Context : ReferenceError $t is not defined

I followed the instruction to create a custom implementation for wrapping my REST calls as in the exemple : http://docs.appery.io/documentation/g...

My code in the custom js file is :

$t.BergerRESTImplementation = $t.createClass(SecurityContext, {

invoke: function(service, settings) {

Code: Select all

     //Do any logic before call 
     //alert('before invoke'); 

$t.BergerRESTImplementation.$super.invoke.call(this, service, settings);

Code: Select all

     //Do any logic after call 
     //alert('after invoke'); 

}

});

I get errors in the console :

Image

Is there something i'm missing that is not in the doc?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Generic Security Context : ReferenceError $t is not defined

Hello!

Please replace $t with Appery.

luke315774
Posts: 0
Joined: Mon Mar 17, 2014 6:33 pm

Generic Security Context : ReferenceError $t is not defined

Thanks you miss Brodina!

Return to “Issues”