Mercurial > wow > inventory
comparison Core.lua @ 180:05b4f8ad6445
Added some comments. Nothing more.
author | Zerotorescue |
---|---|
date | Sun, 30 Jan 2011 15:44:27 +0100 |
parents | a44a4147b34f |
children | 5cee31b1418a |
comparison
equal
deleted
inserted
replaced
179:a44a4147b34f | 180:05b4f8ad6445 |
---|---|
5 local _G = _G; | 5 local _G = _G; |
6 local sformat, ssplit, slower, strim, smatch = _G.string.format, _G.string.split, _G.string.lower, _G.string.trim, _G.string.match; | 6 local sformat, ssplit, slower, strim, smatch = _G.string.format, _G.string.split, _G.string.lower, _G.string.trim, _G.string.match; |
7 local floor, print, pairs, tonumber = _G.floor, _G.print, _G.pairs, _G.tonumber; | 7 local floor, print, pairs, tonumber = _G.floor, _G.print, _G.pairs, _G.tonumber; |
8 | 8 |
9 --@debug@ | 9 --@debug@ |
10 local addonRevision = 1; | 10 local addonRevision = 1; -- used to update the database whenever required |
11 --@end-debug@ | 11 --@end-debug@ |
12 --[===[@non-debug@ | 12 --[===[@non-debug@ |
13 local addonRevision = @project-revision@; | 13 local addonRevision = @project-revision@; |
14 --@end-non-debug@]===] | 14 --@end-non-debug@]===] |
15 | 15 |
202 if values.minimumStock then | 202 if values.minimumStock then |
203 values.minGlobalStock = values.minimumStock; | 203 values.minGlobalStock = values.minimumStock; |
204 values.minimumStock = nil; | 204 values.minimumStock = nil; |
205 end | 205 end |
206 end | 206 end |
207 -- end of old version which didn't have version numbers recorded | |
207 end | 208 end |
208 | 209 |
209 -- Remember the version of our database | 210 -- Remember the version of our database |
210 self.db.global.version = addonRevision; | 211 self.db.global.version = addonRevision; |
211 end | 212 end |