text: // { "framework": "Vue" }
  
  !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports["npm/weex-flymeui/components/fm-image/index"]=t():e["npm/weex-flymeui/components/fm-image/index"]=t()}("undefined"!=typeof self?self:this,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=15)}({0:function(e,t){e.exports=function(e,t,n,r,o){var s,i=e=e||{},u=typeof e.default;"object"!==u&&"function"!==u||(s=e,i=e.default);var a,c="function"==typeof i?i.options:i;if(t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns),r&&(c._scopeId=r),o?(a=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},c._ssrRegister=a):n&&(a=n),a){var d=c.functional,l=d?c.render:c.beforeCreate;d?c.render=function(e,t){return a.call(t),l(e,t)}:c.beforeCreate=l?[].concat(l,a):[a]}return{esModule:s,exports:i,options:c}}},15:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(16);Object.defineProperty(t,"default",{enumerable:!0,get:function(){return function(e){return e&&e.__esModule?e:{default:e}}(r).default}})},16:function(e,t,n){var r=n(0)(n(17),n(18),null,null,null);r.options.__file="/Users/suen/Documents/develop/project/weex-flymeui/packages/fm-image/index.vue",r.esModule&&Object.keys(r.esModule).some(function(e){return"default"!==e&&"__"!==e.substr(0,2)})&&console.error("named exports are not supported in *.vue files."),r.options.functional&&console.error("[vue-loader] index.vue: functional components are not supported with templates, they should use render functions."),e.exports=r.exports},17:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default={name:"FmImage",data:function(){return{loaded:!1}},props:{src:{type:String,default:""},scale:{type:Number,default:0},width:{type:Number,default:1},height:{type:Number,default:1},occupyingColor:{type:String,default:"transparent"},imgStyle:{type:Object}},computed:{getStyle:function(){return r({width:this.width+"px",height:this.height+"px",backgroundColor:this.loaded?"transparent":this.occupyingColor},this.imgStyle)}},methods:{onLoad:function(e){this.$emit("fmImageLoaded",e),e.success&&(this.loaded=!0),e.success&&e.size&&e.size.naturalWidth>0&&this.scale&&(this.width=e.size.naturalWidth*this.scale,this.height=e.size.naturalHeight*this.scale)}}}},18:function(e,t,n){e.exports={render:function(){var e=this.$createElement;return(this._self._c||e)("image",{ref:"img",staticStyle:this.$processStyle(void 0),style:this.$processStyle(this.getStyle),attrs:{src:this.src},on:{load:this.onLoad}})},staticRenderFns:[]},e.exports.render._withStripped=!0}})});