Merge pull request #17 from graycoder/master

safe jQuery & faster live binding
This commit is contained in:
Nathan Van der Auwera 2011-10-10 01:27:32 -07:00
commit dd64101b68
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
$(document).ready(function() { (function($) {
function replace_in_content(content, regexp_str, with_str) { function replace_in_content(content, regexp_str, with_str) {
reg_exp = new RegExp(regexp_str); reg_exp = new RegExp(regexp_str);
@ -58,4 +58,4 @@ $(document).ready(function() {
$(this).closest(".nested-fields").hide(); $(this).closest(".nested-fields").hide();
}); });
}); })(jQuery);