web/data/cubicweb.compat.js
changeset 5699 f4f6ee3af50b
parent 5698 5c8fa1650299
child 5727 29afb9e715bb
--- a/web/data/cubicweb.compat.js	Wed Jun 09 12:39:55 2010 +0200
+++ b/web/data/cubicweb.compat.js	Wed Jun 09 12:43:21 2010 +0200
@@ -111,21 +111,3 @@
     KEY_ESC: 27,
     KEY_ENTER: 13
 };
-
-// XXX avoid crashes / backward compat
-CubicWeb = {
-    require: function(module) {},
-    provide: function(module) {}
-};
-
-jQuery(document).ready(function() {
-    jQuery(CubicWeb).trigger('server-response', [false, document]);
-});
-
-// XXX as of 2010-04-07, no known cube uses this
-jQuery(CubicWeb).bind('ajax-loaded', function() {
-    log('[3.7] "ajax-loaded" event is deprecated, use "server-response" instead');
-    jQuery(CubicWeb).trigger('server-response', [false, document]);
-});
-
-CubicWeb.provide('python.js');