Commit a79ee791 authored by Romain Courteaud's avatar Romain Courteaud

Release version 0.20.1

parent ffd3d0c2
This diff is collapsed.
......@@ -1818,7 +1818,6 @@ if (typeof document.contains !== 'function') {
scope_increment += 1;
}
}
parent_gadget.__sub_gadget_dict[scope] = gadget_instance;
gadget_instance.element.setAttribute("data-gadget-scope",
scope);
......@@ -1838,6 +1837,10 @@ if (typeof document.contains !== 'function') {
if (document.contains(gadget_instance.element)) {
startService(gadget_instance);
}
// Always set the parent reference when all ready are finished
// in case the gadget declaration is cancelled
// (and ready are not finished)
parent_gadget.__sub_gadget_dict[scope] = gadget_instance;
// Always return the gadget instance after ready function
return gadget_instance;
}
......
{
"name": "renderjs",
"version": "0.20.0",
"version": "0.20.1",
"description": "RenderJs provides HTML5 gadgets",
"main": "dist/renderjs-latest.js",
"dependencies": {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment