Sha256: 85ccbcfa911865eab05b430cc6f1d8d9c80cce5040fd2eb88af9126799a25da8
Contents?: true
Size: 903 Bytes
Versions: 3
Compression:
Stored size: 903 Bytes
Contents
/** * @author Tanin Na Nakorn */ (function($w){ $w.extend({ whowishWord: function(recurring) { var elems = $w('body').find('*'); var matchers = whowishWordVariables.matchers; for (var i=0;i<elems.length;i++) { for (var j=0;j<matchers.length;j++) { if (matchers[j].match(elems[i])) { if (elems[i].id == "" || elems[i].id == undefined) { elems[i].id = "whowishWordId" + (whowishWordVariables.idRunner++); } matchers[j].createWhowishWord(elems[i]); } } } $w('.whowishWordEditIcon').die('click'); whowishWordHelper.repositionAllEditIconPanels(); $w('.whowishWordEditIcon').live('click', whowishWordHelper.editHandler); if (recurring != false) { setTimeout("$w.whowishWord(true);",1000); } } }); })(jQueryWhowishWord);
Version data entries
3 entries across 3 versions & 1 rubygems