Sha256: b63eee380adf712701634407c192d75b5477eb2504c3e62ae5308f51e1593ec4
Contents?: true
Size: 879 Bytes
Versions: 8
Compression:
Stored size: 879 Bytes
Contents
Rich.Cms = {}; (function requireMissingLibs() { var id = "rc_dummy_script"; document.write('<script id="' + id + '"></script>'); var dummy_script = document.getElementById(id); var element = dummy_script.previousSibling; while (element && (element.tagName.toLowerCase() != "script" || element.getAttribute("src").indexOf("rich_cms") == -1)) { element = element.previousSibling; } dummy_script.parentNode.removeChild(dummy_script); var libs_file = ["core", "widget", "mouse", "draggable"][$.inArray("undefined", [typeof($.ui), typeof($.widget), typeof(($.ui || {}).mouse), typeof(($.ui || {}).draggable)])]; if (libs_file) { var src = element.getAttribute("src").replace(/(development\/)?(\w+)(\-min)?\.js.*$/, "jquery/ui/rich_cms/" + libs_file + ".js"); document.write('<script src="' + src + '" type="text/javascript"></script>'); } }());
Version data entries
8 entries across 8 versions & 1 rubygems