diff options
-rw-r--r-- | main-beta.lua | 2 | ||||
-rw-r--r-- | script-beta/vm/eachDef.lua | 3 | ||||
-rw-r--r-- | script-beta/vm/eachField.lua | 3 | ||||
-rw-r--r-- | script-beta/vm/eachRef.lua | 3 | ||||
-rw-r--r-- | script-beta/vm/getInfer.lua | 3 | ||||
-rw-r--r-- | script-beta/vm/getLibrary.lua | 3 |
6 files changed, 1 insertions, 16 deletions
diff --git a/main-beta.lua b/main-beta.lua index 8e2bdb29..a0c7ea64 100644 --- a/main-beta.lua +++ b/main-beta.lua @@ -19,5 +19,5 @@ xpcall(dofile, log.debug, rootPath .. '/debugger.lua') local service = require 'service' -- TODO -ALL_DEEP = true +--ALL_DEEP = true service.start() diff --git a/script-beta/vm/eachDef.lua b/script-beta/vm/eachDef.lua index 0cd3c6ca..37ba4ec5 100644 --- a/script-beta/vm/eachDef.lua +++ b/script-beta/vm/eachDef.lua @@ -26,9 +26,6 @@ local function eachDef(source, deep) end function vm.getDefs(source, deep) - if ALL_DEEP then - deep = 'deep' - end if guide.isGlobal(source) then local name = guide.getKeyName(source) local cache = vm.getCache('eachDefOfGlobal')[name] diff --git a/script-beta/vm/eachField.lua b/script-beta/vm/eachField.lua index 798566b4..ac104267 100644 --- a/script-beta/vm/eachField.lua +++ b/script-beta/vm/eachField.lua @@ -47,9 +47,6 @@ local function eachField(source, deep) end function vm.getFields(source, deep) - if ALL_DEEP then - deep = 'deep' - end if guide.isGlobal(source) then local name = guide.getKeyName(source) local cache = vm.getCache('eachFieldOfGlobal')[name] diff --git a/script-beta/vm/eachRef.lua b/script-beta/vm/eachRef.lua index cd003443..95b91343 100644 --- a/script-beta/vm/eachRef.lua +++ b/script-beta/vm/eachRef.lua @@ -25,9 +25,6 @@ local function getRefs(source, deep) end function vm.getRefs(source, deep) - if ALL_DEEP then - deep = 'deep' - end if guide.isGlobal(source) then local name = guide.getKeyName(source) local cache = vm.getCache('eachRefOfGlobal')[name] diff --git a/script-beta/vm/getInfer.lua b/script-beta/vm/getInfer.lua index c7c422f4..5272c389 100644 --- a/script-beta/vm/getInfer.lua +++ b/script-beta/vm/getInfer.lua @@ -77,9 +77,6 @@ end --- 获取对象的值 --- 会尝试穿透函数调用 function vm.getInfers(source, deep) - if ALL_DEEP then - deep = 'deep' - end if guide.isGlobal(source) then local name = guide.getKeyName(source) local cache = vm.getCache('getInfersOfGlobal')[name] diff --git a/script-beta/vm/getLibrary.lua b/script-beta/vm/getLibrary.lua index f5c643e9..91d7c2e4 100644 --- a/script-beta/vm/getLibrary.lua +++ b/script-beta/vm/getLibrary.lua @@ -37,9 +37,6 @@ local function getLibrary(source, deep) end function vm.getLibrary(source, deep) - if ALL_DEEP then - deep = 'deep' - end if guide.isGlobal(source) then local name = guide.getKeyName(source) local cache = vm.getCache('getLibraryOfGlobal')[name] |