{ plugin: 'vsms-py-v4.1', url: '//plugins.lexonomy.cjvt.si', ske_gdex: ["Hungarian-bilingual-v1", 300], editor: function(div, entry, uneditable) { $(div).append('

INIT

'); var progress_ctr = 2, config = null; $.getJSON(this.url + "/" + this.plugin + "/config.json", function(local_config) { config = local_config; if(--progress_ctr == 0) plugin_load(config, div, entry); }); var script_url = this.url + "/plugin-loader.js"; $.ajax({ dataType: "script", cache: true, url: script_url, success: function () { if(--progress_ctr == 0) plugin_load(config, div, entry); }}); }, harvester: function(div) { if(typeof plugin_save !== 'undefined') return plugin_save(div); } }