/** * hilojs 2.0.3 for cmd * Copyright 2016 alibaba.com * Licensed under the MIT License */ define(function(e,r,n){function o(e){var r,n,o=/\/?[^\/]+?\.(\w+)\??(\?\S+)?$/i;return(r=e.match(o))&&(n=r[1].toLowerCase()),n||null}var t=e("hilo/core/Class"),a=e("hilo/event/EventMixin"),c=e("hilo/loader/ImageLoader"),i=e("hilo/loader/ScriptLoader"),s=t.create({Mixes:a,constructor:function(e){this._source=[],this.add(e)},maxConnections:2,_source:null,_loaded:0,_connections:0,_currentIndex:-1,add:function(e){var r=this;return e&&(e=e instanceof Array?e:[e],r._source=r._source.concat(e)),r},get:function(e){if(e)for(var r=this._source,n=0;n=n)return void e.fire("complete");if(e._currentIndex