CoreFiles by mySites.guru
tiny_mce_ext.js35 lines, 1,007 bytes, from wordpress-2.6.zip
Raw History Compare with 2.5.1
md5
5e97d9bfadfbaabaa0b26b61c45a400d
sha1
f874ff48146ec3214593077e7282ce228a6690a4
sha256
aa83fbf50d8e528b6d918f6f956b4d9a3f2a1f91f549ec377b0de8f1442df463
tinyMCEPreInit.start = function() {
	var t = this, each = tinymce.each, s = t.settings, sl = tinymce.ScriptLoader, ln = s.languages, th = s.themes;

	function load(u, sp) {
		var o;

		if (!sp)
			u = t.base + u;

		o = {url : u, state : 2};
		sl.queue.push(o);
		sl.lookup[o.url] = o;
	};

	sl.markDone(t.base + '/langs/' + ln + '.js');

	load('/themes/' + th + '/editor_template' + t.suffix + '.js');
	sl.markDone(t.base + '/themes/' + th + '/langs/' + ln + '.js');
	sl.markDone(t.base + '/themes/' + th + '/langs/' + ln + '_dlg.js');

	each(s.plugins.split(','), function(n) {
		if (n && n.charAt(0) != '-') {
			load('/plugins/' + n + '/editor_plugin' + t.suffix + '.js');

			sl.markDone(t.base + '/plugins/' + n + '/langs/' + ln + '.js');
			sl.markDone(t.base + '/plugins/' + n + '/langs/' + ln + '_dlg.js');
		}
	});
};
tinyMCEPreInit.load_ext = function(url,lang) {
	var sl = tinymce.ScriptLoader;

	sl.markDone(url + '/langs/' + lang + '.js');
	sl.markDone(url + '/langs/' + lang + '_dlg.js');
};

The same content is in 11 releases, WordPress 2.6-beta1 to 2.6.5. See them all, or every version of this file.