Merge branch 'master' of git.esoui.com:eso-ItemSort-55

CrazyDutchGuy [06-27-14 - 23:29]
Merge branch 'master' of git.esoui.com:eso-ItemSort-55

Conflicts:
	Libs/LibSort/LibSort-1.0.lua
	MrPlow.lua
	MrPlow.txt
Filename
Libs/LibSort/LibSort-1.0.lua
Libs/LibSort/LibStub.lua
MrPlow.txt
diff --git a/Libs/LibSort/LibSort-1.0.lua b/Libs/LibSort/LibSort-1.0.lua
index 00c385f..bb29c6c 100644
--- a/Libs/LibSort/LibSort-1.0.lua
+++ b/Libs/LibSort/LibSort-1.0.lua
@@ -181,4 +181,4 @@ end

 function LibSort:SetDebugging(flag)
 	self.isDebugging = flag
-end
\ No newline at end of file
+end
diff --git a/Libs/LibSort/LibStub.lua b/Libs/LibSort/LibStub.lua
new file mode 100644
index 0000000..bfd96df
--- /dev/null
+++ b/Libs/LibSort/LibStub.lua
@@ -0,0 +1,34 @@
+-- LibStub is a simple versioning stub meant for use in Libraries.  http://www.wowace.com/wiki/LibStub for more info
+-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
+-- LibStub developed for World of Warcraft by above members of the WowAce community.
+-- Ported to Elder Scrolls Online by Seerah
+
+local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 1  -- NEVER MAKE THIS AN SVN REVISION! IT NEEDS TO BE USABLE IN ALL REPOS!
+local LibStub = _G[LIBSTUB_MAJOR]
+
+local strformat = string.format
+if not LibStub or LibStub.minor < LIBSTUB_MINOR then
+	LibStub = LibStub or {libs = {}, minors = {} }
+	_G[LIBSTUB_MAJOR] = LibStub
+	LibStub.minor = LIBSTUB_MINOR
+
+	function LibStub:NewLibrary(major, minor)
+		assert(type(major) == "string", "Bad argument #2 to `NewLibrary' (string expected)")
+		minor = assert(tonumber(zo_strmatch(minor, "%d+")), "Minor version must either be a number or contain a number.")
+
+		local oldminor = self.minors[major]
+		if oldminor and oldminor >= minor then return nil end
+		self.minors[major], self.libs[major] = minor, self.libs[major] or {}
+		return self.libs[major], oldminor
+	end
+
+	function LibStub:GetLibrary(major, silent)
+		if not self.libs[major] and not silent then
+			error(("Cannot find a library instance of %q."):strformat(tostring(major)), 2)
+		end
+		return self.libs[major], self.minors[major]
+	end
+
+	function LibStub:IterateLibraries() return pairs(self.libs) end
+	setmetatable(LibStub, { __call = LibStub.GetLibrary })
+end
diff --git a/MrPlow.txt b/MrPlow.txt
index a17e631..1f45687 100644
--- a/MrPlow.txt
+++ b/MrPlow.txt
@@ -1,6 +1,6 @@
-## Title: MrPlow
-## Author: Wobin
-## Version: 1.3.1-33427aa
+## Title: |cFFFFB0MrPlow|r by |c00C000Wobin & CrazyDutchGuy|r
+## Author: Wobin & CrazyDutchGuy
+## Version: @project-version@
 ## APIVersion: 100004
 ## OptionalDependsOn: LibStub LibSort-1.0