now we invoke gst consturctor as callback to javascript_loader, so dependencies are loaded first
This commit is contained in:
@@ -14,7 +14,9 @@ window.GraphicalSliderTool = function (el) {
|
||||
// with a unique DOM ID), we will iterate over all children, and for
|
||||
// each match, we will call GstMain module.
|
||||
$(el).children('.graphical_slider_tool').each(function (index, value) {
|
||||
GstMain($(value).attr('id'));
|
||||
JavascriptLoader.executeModuleScripts($(value), function(){
|
||||
GstMain($(value).attr('id'));
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user