Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
api:non-standard-lua-libs [2017/06/11 09:22]
payonel
api:non-standard-lua-libs [2019/07/03 12:57]
forecaster [Modules]
Line 49: Line 49:
   if the user tries to load "​foobar"​   if the user tries to load "​foobar"​
  
-  `local foobar = require(*foobar"​)`+  `local foobar = require("foobar"​)`
  
   Following is the order of files `require` looks for to resolve require("​foobar"​). To make it interesting,​ we are assuming the current working directory is /tmp/   Following is the order of files `require` looks for to resolve require("​foobar"​). To make it interesting,​ we are assuming the current working directory is /tmp/