ComunicWeb/assets/js/components/textParser.js
2018-05-03 22:05:06 +02:00

25 lines
367 B
JavaScript

/**
* Comunic specific text parser
*
* @author Pierre HUBERT
*/
ComunicWeb.components.textParser = {
/**
* Parse an element that contains some user input
*
* @param {object} info Information about the element to parse
*/
parse: function(info){
//Parse emojies
ComunicWeb.components.emoji.parser.parse({
element: info.element
});
}
}