Hi,
I was wondering how to use forcetk in Lightning.
I have a lightning component, where I've added forcetk and jQuery:
<ltng:require scripts="{!join(',',$Resource.forcetk,$Resource.jQueryMin_2_2_4)}" />
However, when I want to create the client in component's controller/helper, the following is not working:
var client = new forcetk.Client();
Do you have any ideas, what I might be doing wrong?
Hi,
I was wondering how to use forcetk in Lightning.
I have a lightning component, where I've added forcetk and jQuery:
<ltng:require scripts="{!join(',',$Resource.forcetk,$Resource.jQueryMin_2_2_4)}" />However, when I want to create the client in component's controller/helper, the following is not working:
var client = new forcetk.Client();Do you have any ideas, what I might be doing wrong?