Mercurial > wow > inventory
comparison Core.lua @ 178:38cc9221202d
Added a test page used to determine loading times.
author | Zerotorescue |
---|---|
date | Sun, 30 Jan 2011 15:40:16 +0100 |
parents | 26c750a10b14 |
children | a44a4147b34f |
comparison
equal
deleted
inserted
replaced
177:210cf5679fc1 | 178:38cc9221202d |
---|---|
1 --@debug@ | |
2 IMStartLoadTime = GetTime(); | |
3 collectgarbage("collect"); | |
4 IMStartLoadMemory = collectgarbage("count"); | |
5 --@end-debug@ | |
6 | |
1 -- You can access this addon's object through: LibStub("AceAddon-3.0"):GetAddon("Inventorium") | 7 -- You can access this addon's object through: LibStub("AceAddon-3.0"):GetAddon("Inventorium") |
2 local addon = select(2, ...); | 8 local addon = select(2, ...); |
3 addon = LibStub("AceAddon-3.0"):NewAddon(addon, "Inventorium", "AceEvent-3.0"); | 9 addon = LibStub("AceAddon-3.0"):NewAddon(addon, "Inventorium", "AceEvent-3.0"); |
4 | 10 |
5 local _G = _G; | 11 local _G = _G; |