4 * Copyright 2009, Moxiecode Systems AB
5 * Released under LGPL License.
7 * License: http://tinymce.moxiecode.com/license
8 * Contributing: http://tinymce.moxiecode.com/contributing
11 tinymce.create('static tinymce.util.JSONP', {
16 var t = this, dom = tinymce.DOM, count = o.count !== undefined ? o.count : t.count, id = 'tinymce_jsonp_' + count;
18 t.callbacks[count] = function(json) {
20 delete t.callbacks[count];
25 dom.add(dom.doc.body, 'script', {id : id , src : o.url, type : 'text/javascript'});