Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Start the 2011 clean-up.

  • Loading branch information...
commit 5a9700dffe72ad142c96ad15a8a55b0c7092f480 1 parent 11f26e0
Trond A Ekseth authored
Showing with 5 additions and 2 deletions.
  1. +3 −0  init.lua
  2. +1 −0  oUF.xml
  3. +1 −2  ouf.lua
3  init.lua
View
@@ -0,0 +1,3 @@
+local parent, ns = ...
+ns.oUF = {}
+ns.oUF.Private = {}
1  oUF.xml
View
@@ -1,4 +1,5 @@
<Ui xmlns="http://www.blizzard.com/wow/ui/">
+ <Script file='init.lua' />
<Script file='ouf.lua' />
<Script file='elements\power.lua' />
3  ouf.lua
View
@@ -65,7 +65,7 @@ for eclass, color in next, FACTION_BAR_COLORS do
end
-- add-on object
-local oUF = {}
+local oUF = ns.oUF
local event_metatable = {
__call = function(funcs, self, ...)
for _, func in next, funcs do
@@ -785,4 +785,3 @@ if(global) then
_G[global] = oUF
end
end
-ns.oUF = oUF
Please sign in to comment.
Something went wrong with that request. Please try again.