Skip to content

Commit

Permalink
[build] 7.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ktsn committed Mar 25, 2019
1 parent d024dcc commit 7d75604
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
12 changes: 9 additions & 3 deletions dist/vue-class-component.common.js
@@ -1,5 +1,5 @@
/**
* vue-class-component v7.0.1
* vue-class-component v7.0.2
* (c) 2015-present Evan You
* @license MIT
*/
Expand Down Expand Up @@ -211,11 +211,17 @@ var reservedPropertyNames = [
'directive',
'filter'
];
var shouldIgnore = {
prototype: true,
arguments: true,
callee: true,
caller: true
};
function forwardStaticMembers(Extended, Original, Super) {
// We have to use getOwnPropertyNames since Babel registers methods as non-enumerable
Object.getOwnPropertyNames(Original).forEach(function (key) {
// `prototype` should not be overwritten
if (key === 'prototype') {
// Skip the properties that should not be overwritten
if (shouldIgnore[key]) {
return;
}
// Some browsers does not allow reconfigure built-in properties
Expand Down
12 changes: 9 additions & 3 deletions dist/vue-class-component.js
@@ -1,5 +1,5 @@
/**
* vue-class-component v7.0.1
* vue-class-component v7.0.2
* (c) 2015-present Evan You
* @license MIT
*/
Expand Down Expand Up @@ -211,11 +211,17 @@
'directive',
'filter'
];
var shouldIgnore = {
prototype: true,
arguments: true,
callee: true,
caller: true
};
function forwardStaticMembers(Extended, Original, Super) {
// We have to use getOwnPropertyNames since Babel registers methods as non-enumerable
Object.getOwnPropertyNames(Original).forEach(function (key) {
// `prototype` should not be overwritten
if (key === 'prototype') {
// Skip the properties that should not be overwritten
if (shouldIgnore[key]) {
return;
}
// Some browsers does not allow reconfigure built-in properties
Expand Down
4 changes: 2 additions & 2 deletions dist/vue-class-component.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7d75604

Please sign in to comment.