Proyectos de Subversion LeadersLinked - Backend

Rev

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

Rev 224 Rev 225
Línea 1439... Línea 1439...
1439
     */
1439
     */
1440
    const removeTags = (str) => str.toString().replace( /(<([^>]+)>)/ig, '')
1440
    const removeTags = (str) => str.toString().replace( /(<([^>]+)>)/ig, '')
1441
    /**
1441
    /**
1442
     * Render Sections data
1442
     * Render Sections data
1443
     */
1443
     */
-
 
1444
    const renderSectionData = (data) =>{
-
 
1445
console.log(data);
1444
    const renderSectionData = (data) => $("#rows").html($("#sectionTemplate").render(data, {
1446
        return  $("#rows").html($("#sectionTemplate").render(data, {
1445
        getType: getQuestionTypeBySlug,
1447
        getType: getQuestionTypeBySlug,
1446
        removeTags: removeTags
1448
        removeTags: removeTags
1447
    }));
1449
    }));
-
 
1450
 
-
 
1451
    }
1448
    /**
1452
    /**
1449
     * Clear Div Section data 
1453
     * Clear Div Section data 
1450
     */
1454
     */
1451
    const clearSectionData = () => $("#rows").html('');
1455
    const clearSectionData = () => $("#rows").html('');
1452
    /**
1456
    /**