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