text: /**
   * Hilo 1.4.0 for standalone
   * Copyright 2016 alibaba.com
   * Licensed under the MIT License
   */
  !function(i){i.Hilo||(i.Hilo={});var t=i.Hilo.Class,r=i.Hilo.util,a=t.create({constructor:function(i){this.init(i)},image:null,rect:null,init:function(i){var t=this,n=t.image;a.isDrawable(i)?t.image=i:r.copy(t,i,!0);var e=t.image;if("string"==typeof e){if(!n||e!==n.getAttribute("src")){t.image=null;var o=new Image;return i.crossOrigin&&(o.crossOrigin=i.crossOrigin),o.onload=function(){o.onload=null,t.init(o)},void(o.src=e)}e=t.image=n}e&&!t.rect&&(t.rect=[0,0,e.width,e.height])},Statics:{isDrawable:function(i){if(!i||!i.tagName)return!1;var t=i.tagName.toLowerCase();return"img"===t||"canvas"===t||"video"===t}}});i.Hilo.Drawable=a}(window);