rax-image
Advanced tools
Comparing version 1.1.2 to 1.1.3-0
@@ -32,3 +32,3 @@ "use strict"; | ||
var onError = function onError(e) { | ||
var onError = function (e) { | ||
var fallbackSource = props.fallbackSource, | ||
@@ -45,3 +45,3 @@ _props$onError = props.onError, | ||
var onLoad = function onLoad(e) { | ||
var onLoad = function (e) { | ||
var _props$onLoad = props.onLoad, | ||
@@ -48,0 +48,0 @@ onLoad = _props$onLoad === void 0 ? function () {} : _props$onLoad; |
@@ -19,5 +19,5 @@ "use strict"; | ||
lazyLoad: false, | ||
onClick: function onClick(e) {}, | ||
onLoad: function onLoad(e) {}, | ||
onError: function onError(e) {} | ||
onClick: function onClick() {}, | ||
onLoad: function onLoad() {}, | ||
onError: function onError() {} | ||
}, | ||
@@ -27,3 +27,3 @@ onInit: function onInit() { | ||
}, | ||
didMount: function didMount() { | ||
didMount: function () { | ||
if (!my.canIUse('component2')) { | ||
@@ -34,15 +34,15 @@ this.initImage(); | ||
methods: { | ||
onClick: function onClick(e) { | ||
onClick: function (e) { | ||
var event = (0, _fmtEvent.default)(this.props, e); | ||
this.props.onClick(event); | ||
}, | ||
onLoad: function onLoad(e) { | ||
onLoad: function (e) { | ||
var event = (0, _fmtEvent.default)(this.props, e); | ||
this.props.onLoad(event); | ||
}, | ||
onError: function onError(e) { | ||
onError: function (e) { | ||
var event = (0, _fmtEvent.default)(this.props, e); | ||
this.props.onError(event); | ||
}, | ||
initImage: function initImage(e) { | ||
initImage: function () { | ||
var mode = 'aspectFit'; | ||
@@ -49,0 +49,0 @@ |
{ | ||
"name": "rax-image", | ||
"version": "1.1.2", | ||
"version": "1.1.3-0", | ||
"description": "Image component for Rax.", | ||
@@ -23,3 +23,3 @@ "license": "BSD-3-Clause", | ||
"type": "git", | ||
"url": "git+https://github.com/raxjs/rax-image.git" | ||
"url": "git+https://github.com/raxjs/rax-components.git" | ||
}, | ||
@@ -61,4 +61,5 @@ "keywords": [ | ||
"miniappConfig": { | ||
"main": "lib/miniapp/index" | ||
"main": "lib/miniapp/index", | ||
"main:wechat": "lib/miniapp-wechat/index" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26126
36
753
1