From 92b239c77a05dac6bda4d80094caf3b159212efd Mon Sep 17 00:00:00 2001 From: Arian Stolwijk Date: Thu, 23 Jan 2014 23:13:48 +0100 Subject: [PATCH] Fixes #1 - rename `wordlist` to `exprProfanity`, fixes ReferenceError --- lib/profanity.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/profanity.js b/lib/profanity.js index 0f16f68..0d6e142 100644 --- a/lib/profanity.js +++ b/lib/profanity.js @@ -1,6 +1,6 @@ "use strict"; -var wordlist = require('./wordlist'); +var exprProfanity = require('./wordlist'); var config = { "enabled": true, @@ -58,4 +58,4 @@ function generateProfanity (str) { return match + replacement + ' '; }); -} \ No newline at end of file +}