Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 877 | Rev 879 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 877 Rev 878
Línea 479... Línea 479...
479
    });
479
    });
480
    /**
480
    /**
481
     * Add Behavior to array
481
     * Add Behavior to array
482
     */
482
     */
483
    const addBehavior = (description, level) => {
483
    const addBehavior = (description, level) => {
484
        var d = new Date();
-
 
485
        behaviors.push(
484
        behaviors.push({
486
            'id': d.getTime(),
485
            'id': new Date().getTime(),
487
            'description': description,
486
            'description': description,
488
            'level': level
487
            'level': level
489
        );
488
        });
490
        renderData(behaviors);
489
        renderData(behaviors);
491
    }
490
    }
492
    /**
491
    /**
493
     * Edit item behavior
492
     * Edit item behavior
494
     */
493
     */