cubicweb/web/data/cubicweb.compat.js
changeset 12503 b01dd0ef43aa
parent 11057 0b59724cb3f2
equal deleted inserted replaced
12502:e651d5f24cb5 12503:b01dd0ef43aa
    16     for (var i = 0, length = array.length; i < length; i++) {
    16     for (var i = 0, length = array.length; i < length; i++) {
    17         result.push(func(array[i]));
    17         result.push(func(array[i]));
    18     }
    18     }
    19     return result;
    19     return result;
    20 }
    20 }
    21 
       
    22 
       
    23 // skm cube still uses this
       
    24 getNodeAttribute = cw.utils.deprecatedFunction(
       
    25     '[3.9] getNodeAttribute(node, attr) is deprecated, use $(node).attr(attr)',
       
    26     function(node, attribute) {
       
    27         return $(node).attr(attribute);
       
    28     }
       
    29 );