/** * @author Tanin */ var whowishWordHelper = {}; whowishWordHelper.sanitize = function(content) { return content.replace(whowishWordVariables.attributeValuePattern,"$2") } whowishWordHelper.match = function(content) { return whowishWordHelper.matchWithResult(content) != null; } whowishWordHelper.matchWithResult = function(content) { return content.match(whowishWordVariables.attributeValuePattern); } whowishWordHelper.makeEditIconId = function(element, name) { return element.id + whowishWordVariables.separator + name; } whowishWordHelper.log = function(msg) { try { console.log(msg); } catch (e) {} }; whowishWordHelper.repositionAllEditIconPanels = function() { var editIconPanels = $w('.whowishWordEditIconPanel'); for (var i=0;i