Skip to content

Commit 65323a7

Browse files
committed
[build] 6.3.1
1 parent e80a44b commit 65323a7

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

dist/vue-class-component.common.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* vue-class-component v6.3.0
2+
* vue-class-component v6.3.1
33
* (c) 2015-present Evan You
44
* @license MIT
55
*/
@@ -11,9 +11,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
1111

1212
var Vue = _interopDefault(require('vue'));
1313

14-
function reflectionIsSupported() {
15-
return (Reflect && Reflect.defineMetadata) !== undefined;
16-
}
14+
var reflectionIsSupported = typeof Reflect !== undefined && Reflect.defineMetadata;
1715
function copyReflectionMetadata(to, from) {
1816
forwardMetadata(to, from);
1917
Object.getOwnPropertyNames(from.prototype).forEach(function (key) {
@@ -189,7 +187,7 @@ function componentFactory(Component, options) {
189187
: Vue;
190188
var Extended = Super.extend(options);
191189
forwardStaticMembers(Extended, Component, Super);
192-
if (reflectionIsSupported()) {
190+
if (reflectionIsSupported) {
193191
copyReflectionMetadata(Extended, Component);
194192
}
195193
return Extended;

dist/vue-class-component.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* vue-class-component v6.3.0
2+
* vue-class-component v6.3.1
33
* (c) 2015-present Evan You
44
* @license MIT
55
*/
@@ -11,9 +11,7 @@
1111

1212
Vue = Vue && Vue.hasOwnProperty('default') ? Vue['default'] : Vue;
1313

14-
function reflectionIsSupported() {
15-
return (Reflect && Reflect.defineMetadata) !== undefined;
16-
}
14+
var reflectionIsSupported = typeof Reflect !== undefined && Reflect.defineMetadata;
1715
function copyReflectionMetadata(to, from) {
1816
forwardMetadata(to, from);
1917
Object.getOwnPropertyNames(from.prototype).forEach(function (key) {
@@ -189,7 +187,7 @@
189187
: Vue;
190188
var Extended = Super.extend(options);
191189
forwardStaticMembers(Extended, Component, Super);
192-
if (reflectionIsSupported()) {
190+
if (reflectionIsSupported) {
193191
copyReflectionMetadata(Extended, Component);
194192
}
195193
return Extended;

dist/vue-class-component.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy