Created
May 14, 2014 09:27
-
-
Save acgotaku/4577929be8b4d6ce8dd6 to your computer and use it in GitHub Desktop.
clear xf resource limited.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EventHandler.check_dirty_words = function(str, has_dirty_func, no_dirty_func) { | |
jQuery.ajax({ | |
url: '/handler/lixian/check_dirty_words.php', | |
dataType: 'json', | |
type: 'post', | |
data: { | |
file_msg: str | |
}, | |
success: function(data) { | |
if (data.is_dirty === 1) { | |
no_dirty_func(); | |
} else { | |
no_dirty_func(); | |
} | |
} | |
}); | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment