Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Back in your own branch

  • Loading branch information...
commit 43835daac75919bf487df8b6762675655e15ef08 1 parent e817909
@Zariel authored
Showing with 0 additions and 43 deletions.
  1. +0 −2  display.lua
  2. +0 −41 slash.lua
View
2  display.lua
@@ -714,7 +714,5 @@ function Display:ToolTip()
self.dropDown = drop
- ns.slasher:tooltip2slash(self.menu, text)
-
return drop
end
View
41 slash.lua
@@ -1,41 +0,0 @@
---[[ Take blizzard tooltip table and conver it into a slash menu, hm.
---
---2 Part process, parse the menu into tokens then generate a slash command
---listing
-]]
-
-local slashHandler = function(str)
- local t = { str.spit(" ") }
-
- for k, v in pairs(t) do
- print(v)
- end
-end
-
-local recurse
-local recurse = function(table)
- local t = {}
-
- for k, v in pairs(table) do
- if(v.title) then
- if(v.menuList) then
- t[v.title] = recurse(v.menuList)
- elseif(v.func) then
- t[v.title] = v.func
- end
- end
- end
-
- return t
-end
-
-local makeHelp = function(t)
-end
-
-function tooltip2slash(t, name)
- local obj = {
- name = name,
- }
-
-
-end

0 comments on commit 43835da

Please sign in to comment.
Something went wrong with that request. Please try again.