Skip to content
Permalink
Browse files
[build] 6.3.1
  • Loading branch information
ktsn committed Oct 15, 2018
1 parent e80a44b commit 65323a795aa172430e3e414db86ab4c8a3449f2e
Showing with 8 additions and 12 deletions.
  1. +3 −5 dist/vue-class-component.common.js
  2. +3 −5 dist/vue-class-component.js
  3. +2 −2 dist/vue-class-component.min.js
@@ -1,5 +1,5 @@
/**
* vue-class-component v6.3.0
* vue-class-component v6.3.1
* (c) 2015-present Evan You
* @license MIT
*/
@@ -11,9 +11,7 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau

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

function reflectionIsSupported() {
return (Reflect && Reflect.defineMetadata) !== undefined;
}
var reflectionIsSupported = typeof Reflect !== undefined && Reflect.defineMetadata;
function copyReflectionMetadata(to, from) {
forwardMetadata(to, from);
Object.getOwnPropertyNames(from.prototype).forEach(function (key) {
@@ -189,7 +187,7 @@ function componentFactory(Component, options) {
: Vue;
var Extended = Super.extend(options);
forwardStaticMembers(Extended, Component, Super);
if (reflectionIsSupported()) {
if (reflectionIsSupported) {
copyReflectionMetadata(Extended, Component);
}
return Extended;
@@ -1,5 +1,5 @@
/**
* vue-class-component v6.3.0
* vue-class-component v6.3.1
* (c) 2015-present Evan You
* @license MIT
*/
@@ -11,9 +11,7 @@

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

function reflectionIsSupported() {
return (Reflect && Reflect.defineMetadata) !== undefined;
}
var reflectionIsSupported = typeof Reflect !== undefined && Reflect.defineMetadata;
function copyReflectionMetadata(to, from) {
forwardMetadata(to, from);
Object.getOwnPropertyNames(from.prototype).forEach(function (key) {
@@ -189,7 +187,7 @@
: Vue;
var Extended = Super.extend(options);
forwardStaticMembers(Extended, Component, Super);
if (reflectionIsSupported()) {
if (reflectionIsSupported) {
copyReflectionMetadata(Extended, Component);
}
return Extended;

Some generated files are not rendered by default. Learn more.

0 comments on commit 65323a7

Please sign in to comment.