Permalink
Browse files

Start the 2011 clean-up.

  • Loading branch information...
1 parent 11f26e0 commit 5a9700dffe72ad142c96ad15a8a55b0c7092f480 @haste haste committed Jan 1, 2011
Showing with 5 additions and 2 deletions.
  1. +3 −0 init.lua
  2. +1 −0 oUF.xml
  3. +1 −2 ouf.lua
View
3 init.lua
@@ -0,0 +1,3 @@
+local parent, ns = ...
+ns.oUF = {}
+ns.oUF.Private = {}
View
1 oUF.xml
@@ -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' />
View
3 ouf.lua
@@ -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

0 comments on commit 5a9700d

Please sign in to comment.