web/data/cubicweb.js
changeset 10407 18d1ef2d2a3e
parent 9990 c84ad981fc4a
child 10433 523a7f098066
equal deleted inserted replaced
10406:9c7461bf99a7 10407:18d1ef2d2a3e
    13      * see http://dev.jquery.com/ticket/6184 for more details
    13      * see http://dev.jquery.com/ticket/6184 for more details
    14      */
    14      */
    15     removeEventListener: function() {},
    15     removeEventListener: function() {},
    16     detachEvent: function() {},
    16     detachEvent: function() {},
    17 
    17 
    18     log: function () {
    18     log: function log() {
    19         var args = [];
       
    20         for (var i = 0; i < arguments.length; i++) {
       
    21             args.push(arguments[i]);
       
    22         }
       
    23         if (typeof(window) != "undefined" && window.console && window.console.log) {
    19         if (typeof(window) != "undefined" && window.console && window.console.log) {
    24             window.console.log(args.join(' '));
    20             // NOTE console.log requires "console" to be the console to be "this"
       
    21             window.console.log.apply(console, arguments);
    25         }
    22         }
    26     },
    23     },
    27 
    24 
    28     //removed: getElementsByTagAndClassName, replaceChildNodes, toggleElementClass
    25     //removed: getElementsByTagAndClassName, replaceChildNodes, toggleElementClass
    29     //         partial, merge, isNotEmpty, update,
    26     //         partial, merge, isNotEmpty, update,