cubicweb/web/data/cubicweb.js
changeset 12503 b01dd0ef43aa
parent 11057 0b59724cb3f2
equal deleted inserted replaced
12502:e651d5f24cb5 12503:b01dd0ef43aa
   424 
   424 
   425 // cubes: tag, keyword and apycot seem to use this, including require/provide
   425 // cubes: tag, keyword and apycot seem to use this, including require/provide
   426 // backward compat
   426 // backward compat
   427 CubicWeb = cw;
   427 CubicWeb = cw;
   428 
   428 
   429 jQuery.extend(cw, {
       
   430     require: cw.utils.deprecatedFunction(
       
   431         '[3.9] CubicWeb.require() is not used anymore',
       
   432         function(module) {}),
       
   433     provide: cw.utils.deprecatedFunction(
       
   434         '[3.9] CubicWeb.provide() is not used anymore',
       
   435         function(module) {})
       
   436 });
       
   437 
       
   438 jQuery(document).ready(function() {
   429 jQuery(document).ready(function() {
   439     $(cw).trigger('server-response', [false, document]);
   430     $(cw).trigger('server-response', [false, document]);
   440 });
   431 });