Skip to Content
0
Former Member
Mar 22, 2015 at 10:01 PM

how to use jQuery.sap.require

372 Views

HI

I want to use jQuery sap require so I use declare like following

jQuery.sap.declare("sap.a.b.c");

define(function() {

var a = function testFn(){

return "test";

};

now I use in different file jQuery.sap.require("sap.a.b.c");

but in the debugger I see just sap.a.b and I cannot use sap.a.b.c.testFn()

what can be the problem?Example will be very helpful