display option ready

This commit is contained in:
vitalets
2012-12-06 00:33:07 +04:00
parent 212d161f08
commit 8ed61d6b6b
14 changed files with 203 additions and 128 deletions

@ -117,6 +117,13 @@
return k;
}
}
},
/**
method to escape html.
**/
escape: function(str) {
return $('<div>').text(str).html();
}
};
}(window.jQuery));