summaryrefslogtreecommitdiff
path: root/script-beta/vm/getClass.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script-beta/vm/getClass.lua')
-rw-r--r--script-beta/vm/getClass.lua9
1 files changed, 0 insertions, 9 deletions
diff --git a/script-beta/vm/getClass.lua b/script-beta/vm/getClass.lua
index 1623090c..a8bd7e40 100644
--- a/script-beta/vm/getClass.lua
+++ b/script-beta/vm/getClass.lua
@@ -12,15 +12,6 @@ local function lookUpDocClass(source)
end
local function getClass(source, classes, depth, deep)
- local lib = vm.getLibrary(source, deep)
- if lib then
- if lib.value.type == 'table' then
- classes[#classes+1] = lib.value.name
- else
- classes[#classes+1] = lib.value.type
- end
- return
- end
local docClass = lookUpDocClass(source)
if docClass then
classes[#classes+1] = docClass