I am able to resolve this error, sharing details here.
After summer 16 release, we need to change the code to include the external JQuery/Css files from static resource. Here is an example of the same:
<ltng:require .... scripts="{!$Resource.JQuery}" />
Here JQuery is the static resource name, and this static resource is having only single JS File.
For a zip file having multiple files/folder follow another syntax:
<ltng:require .... scripts="{!join(',',
$Resource.jsLibraries + '/jsLibOne.js',
$Resource.jsLibraries + '/jsLibTwo.js')}" />
More details you can find in following salesforce doc:
https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/js_libs_platform.htm
This seems unrelated to the JS library you are using. What is most likely happening is the following: a parent component is trying to call a child helper using the verbose approach:
var concreteHelper = cmp.getConcreteComponent().getDef().getHelper();
We want to remove access to this API because it exposes the complex internal structure of the component. It's hard to test, and hard to maintain.
You need to remove the .getDef().getHelper()
and replace it with something else. The trick is to declare a method on your concrete component:
<aura:method name="myMethod" action="{!c.myMethodHandler}"/>
And call it from the super component:
component.getConcreteComponent().myMethod();
In Lightning, every level of inheritance creates a component. This is a better pattern, since the helper is not part of the public API of a component like a method. You can define the method on an interface and ensure every instance abides to the contract, something that the .getDef().getHelper();
was not allowing.
Best Answer
Try doing the same in the afterRender function in the renderer file.
})