mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 22:09:21 +00:00
25 lines
367 B
JavaScript
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
|
|
});
|
|
|
|
}
|
|
|
|
|
|
} |