vue-property-decorator
Advanced tools
Comparing version 8.4.1 to 8.4.2
@@ -1,2 +0,2 @@ | ||
/** vue-property-decorator verson 8.4.1 MIT LICENSE copyright 2019 kaorun343 */ | ||
/** vue-property-decorator verson 8.4.2 MIT LICENSE copyright 2019 kaorun343 */ | ||
/// <reference types='reflect-metadata'/> | ||
@@ -239,7 +239,15 @@ 'use strict'; | ||
else { | ||
_this.$emit(emitName, args); | ||
_this.$emit.apply(_this, [emitName].concat(args)); | ||
} | ||
} | ||
else { | ||
_this.$emit(emitName, returnValue); | ||
if (args.length === 0) { | ||
_this.$emit(emitName, returnValue); | ||
} | ||
else if (args.length === 1) { | ||
_this.$emit(emitName, returnValue, args[0]); | ||
} | ||
else { | ||
_this.$emit.apply(_this, [emitName, returnValue].concat(args)); | ||
} | ||
} | ||
@@ -246,0 +254,0 @@ }; |
@@ -10,3 +10,3 @@ (function (global, factory) { | ||
/** vue-property-decorator verson 8.4.1 MIT LICENSE copyright 2019 kaorun343 */ | ||
/** vue-property-decorator verson 8.4.2 MIT LICENSE copyright 2019 kaorun343 */ | ||
/** Used for keying reactive provide/inject properties */ | ||
@@ -241,7 +241,15 @@ var reactiveInjectKey = '__reactiveInject__'; | ||
else { | ||
_this.$emit(emitName, args); | ||
_this.$emit.apply(_this, [emitName].concat(args)); | ||
} | ||
} | ||
else { | ||
_this.$emit(emitName, returnValue); | ||
if (args.length === 0) { | ||
_this.$emit(emitName, returnValue); | ||
} | ||
else if (args.length === 1) { | ||
_this.$emit(emitName, returnValue, args[0]); | ||
} | ||
else { | ||
_this.$emit.apply(_this, [emitName, returnValue].concat(args)); | ||
} | ||
} | ||
@@ -248,0 +256,0 @@ }; |
{ | ||
"name": "vue-property-decorator", | ||
"version": "8.4.1", | ||
"version": "8.4.2", | ||
"description": "property decorators for Vue Component", | ||
@@ -5,0 +5,0 @@ "main": "lib/vue-property-decorator.umd.js", |
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
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
36087
660