/* Inverted IOC container v99 https://github.com/philmander/inverted-js Copyright (c) 2013, Phil Mander Licensed under the MIT license */ "function"!==typeof define&&(var define=require("amdefine")(module);); define("inverted/Util",function(){var k={isArray:function(a){return Array.isArray?Array.isArray(a):"[object Array]"===Object.prototype.toString.call(a)},inArray:function(a,g){if(g.indexOf)return g.indexOf(a);for(var h=0,f=g.length;hh.inArray(c.module,this.modules)&&this.modules.push(c.module)}catch(e){if(e.circular&&this.allowCircular)return d;throw e;}var b=d.addChild();if(c.extendsRef){var g=h.parseProtoReference(c.extendsRef).protoId;this._getDependencies(g,b)}c.args&&this._getDependenciesFromArgs(c.args,b);if(c.props)for(var k in c.props)c.props.hasOwnProperty(k)&&this._getDependenciesFromArgs([c.props[k]],b);if(c.mixin&&c.mixin.length){k=c.mixin.length;for(var m,g=0;g