@aomao/plugin-alignment
Advanced tools
+12
-7
@@ -24,2 +24,5 @@ 'use strict'; | ||
| if (staticProps) _defineProperties(Constructor, staticProps); | ||
| Object.defineProperty(Constructor, "prototype", { | ||
| writable: false | ||
| }); | ||
| return Constructor; | ||
@@ -40,2 +43,5 @@ } | ||
| }); | ||
| Object.defineProperty(subClass, "prototype", { | ||
| writable: false | ||
| }); | ||
| if (superClass) _setPrototypeOf(subClass, superClass); | ||
@@ -45,3 +51,3 @@ } | ||
| function _getPrototypeOf(o) { | ||
| _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { | ||
| _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { | ||
| return o.__proto__ || Object.getPrototypeOf(o); | ||
@@ -53,7 +59,6 @@ }; | ||
| function _setPrototypeOf(o, p) { | ||
| _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { | ||
| _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { | ||
| o.__proto__ = p; | ||
| return o; | ||
| }; | ||
| return _setPrototypeOf(o, p); | ||
@@ -121,5 +126,5 @@ } | ||
| function _get(target, property, receiver) { | ||
| function _get() { | ||
| if (typeof Reflect !== "undefined" && Reflect.get) { | ||
| _get = Reflect.get; | ||
| _get = Reflect.get.bind(); | ||
| } else { | ||
@@ -133,3 +138,3 @@ _get = function _get(target, property, receiver) { | ||
| if (desc.get) { | ||
| return desc.get.call(receiver); | ||
| return desc.get.call(arguments.length < 3 ? target : receiver); | ||
| } | ||
@@ -141,3 +146,3 @@ | ||
| return _get(target, property, receiver || target); | ||
| return _get.apply(this, arguments); | ||
| } | ||
@@ -144,0 +149,0 @@ |
+3
-3
| { | ||
| "name": "@aomao/plugin-alignment", | ||
| "version": "2.9.26", | ||
| "version": "2.9.27", | ||
| "main": "dist/index.js", | ||
@@ -26,5 +26,5 @@ "module": "dist/index.esm.js", | ||
| "peerDependencies": { | ||
| "@aomao/engine": "^2.9.25" | ||
| "@aomao/engine": ">=2.9" | ||
| }, | ||
| "gitHead": "e3026f67fd83111cd771e5b9a5434c8695b29ed3" | ||
| "gitHead": "14b283b5d25d20f715a59d176aa35738312735b2" | ||
| } |
20139
0.93%532
1.14%