aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-06-05 20:49:25 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2016-06-05 20:49:25 -0400
commitcb25042bdab297fd51319cc5a3b3f986b07f3da1 (patch)
treec832f50971eee7e3c9a3cc2a395d80b5f5434d3f
parent9294725b11e8a0c35c630749cc52b108b76857ec (diff)
downloadfuzzel-cb25042bdab297fd51319cc5a3b3f986b07f3da1.tar.gz
fuzzel-cb25042bdab297fd51319cc5a3b3f986b07f3da1.tar.bz2
fuzzel-cb25042bdab297fd51319cc5a3b3f986b07f3da1.zip
Changed example to use require instead of dofile
-rw-r--r--fuzzel.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzzel.lua b/fuzzel.lua
index 0496a68..f86de5c 100644
--- a/fuzzel.lua
+++ b/fuzzel.lua
@@ -58,7 +58,7 @@
Returns a function that will return the closest string to the string it was passed
-----------------FuzzelExample.lua------------------
--Include the module
- local fuzzel = dofile("fuzzel.lua")
+ local fuzzel = require("fuzzel.lua")
--A couple of options
local options = {