diff options
author | Soumith Chintala <soumith@gmail.com> | 2015-01-15 21:31:20 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@gmail.com> | 2015-01-15 21:31:20 +0300 |
commit | 1e4d6e282e85e2bf97a213c26af2ec72612899c4 (patch) | |
tree | c10721595ea7536024046b7fcfd7f04c0b0415d5 | |
parent | 679c6dab55c22e68549b691a2f687afed56bea82 (diff) | |
parent | 118141cf60fb4711ccaa2346cbacaf857996e39c (diff) |
Merge pull request #3 from GeorgOstrovski/patch-1
Use rawset instead of direct assignment
-rw-r--r-- | inline.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -437,7 +437,7 @@ function dok.help(symbol, asstring) end end -help = dok.help +rawset(_G, 'help', dok.help) -------------------------------------------------------------------------------- -- browse() is a simpler function that simply triggers a browser @@ -456,7 +456,7 @@ function dok.browse() qtide = nil end -browse = dok.browse +rawset(_G, 'browse', dok.browse) -------------------------------------------------------------------------------- -- standard usage function: used to display automated help for functions |