Do not define widget code twice

This commit is contained in:
Dmitriy Simushev 2015-01-20 14:44:21 +00:00
parent 78dfb230ed
commit ad7f3d6167

View File

@ -22,6 +22,11 @@
var Mibew = Mibew || {};
(function(Mibew){
if (Mibew.Widget) {
// It seems that the script was already loaded. We do not need to do the
// job twice so just stop here.
return;
}
/**
* @namespace Holds objects instances