export plugin attributes/settings to js now should be OK
[unfold.git] / engine / templates / plugin_setenv.js
1 {# from plugin.php Plugin.render() #}
2 {# Plugin initialization (if the plugin has the right structure) #}
3 if (typeof jQuery('#{{ uuid }}').{{ classname }} != 'undefined') {
4     jQuery('#{{ uuid }}').{{ classname }}({{ settings_json|safe }});
5     {#jQuery('#{{ uuid }}').{{ classname }}('show');#}
6 };