ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3cccf56795dad728de328f92e5bfac13d7a37031

commit 3cccf56795dad728de328f92e5bfac13d7a37031
Author: Andy Williams <a...@andywilliams.me>
Date:   Fri Dec 8 16:19:10 2017 +0000

    docs: Strip class type from URLs, avoid user confusion
---
 src/scripts/elua/apps/docgen/doctree.lua | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/scripts/elua/apps/docgen/doctree.lua 
b/src/scripts/elua/apps/docgen/doctree.lua
index df1e50e123..bbc1e50da7 100644
--- a/src/scripts/elua/apps/docgen/doctree.lua
+++ b/src/scripts/elua/apps/docgen/doctree.lua
@@ -29,7 +29,7 @@ M.Node = util.Object:clone {
         PROTECTED = eolian.object_scope.PROTECTED
     },
 
-    nspaces_get = function(self, subn, root)
+    nspaces_get = function(self, root)
         local tbl = self:namespaces_get()
         -- temporary workaround
         if type(tbl) ~= "table" then
@@ -38,7 +38,7 @@ M.Node = util.Object:clone {
         for i = 1, #tbl do
             tbl[i] = tbl[i]:lower()
         end
-        table.insert(tbl, 1, subn)
+
         tbl[#tbl + 1] = self:name_get():lower()
         if root ~= nil then
             tbl[#tbl + 1] = not not root
@@ -279,7 +279,7 @@ M.Class = Node:clone {
     end,
 
     nspaces_get = function(self, root)
-        return M.Node.nspaces_get(self, self:type_str_get(), root)
+        return M.Node.nspaces_get(self, root)
     end,
 
     is_same = function(self, other)
@@ -923,7 +923,7 @@ M.Typedecl = Node:clone {
     end,
 
     nspaces_get = function(self, root)
-        return M.Node.nspaces_get(self, self:type_str_get(), root)
+        return M.Node.nspaces_get(self, root)
     end,
 
     -- static getters
@@ -1215,7 +1215,7 @@ M.Variable = Node:clone {
     end,
 
     nspaces_get = function(self, root)
-        return M.Node.nspaces_get(self, self:type_str_get(), root)
+        return M.Node.nspaces_get(self, root)
     end,
 
     serialize = function(self)

-- 


Reply via email to