浏览代码

Remove the unnecessary line because of optimization for the Track component.

NaotoshiFujita 5 年之前
父节点
当前提交
d300827c68
共有 6 个文件被更改,包括 4 次插入8 次删除
  1. 1 2
      dist/js/splide.esm.js
  2. 1 2
      dist/js/splide.js
  3. 1 1
      dist/js/splide.min.js
  4. 二进制
      dist/js/splide.min.js.gz
  5. 1 1
      package.json
  6. 0 2
      src/js/utils/object.js

+ 1 - 2
dist/js/splide.esm.js

@@ -1,6 +1,6 @@
 /*!
  * Splide.js
- * Version  : 2.4.4
+ * Version  : 2.4.5
  * License  : MIT
  * Copyright: 2020 Naotoshi Fujita
  */
@@ -360,7 +360,6 @@ function merge(_ref, from) {
  */
 
 function object_assign(to, from) {
-  to._s = from;
   keys(from).forEach(function (key) {
     if (!to[key]) {
       Object.defineProperty(to, key, Object.getOwnPropertyDescriptor(from, key));

+ 1 - 2
dist/js/splide.js

@@ -1,6 +1,6 @@
 /*!
  * Splide.js
- * Version  : 2.4.4
+ * Version  : 2.4.5
  * License  : MIT
  * Copyright: 2020 Naotoshi Fujita
  */
@@ -350,7 +350,6 @@ function merge(_ref, from) {
  */
 
 function object_assign(to, from) {
-  to._s = from;
   keys(from).forEach(function (key) {
     if (!to[key]) {
       Object.defineProperty(to, key, Object.getOwnPropertyDescriptor(from, key));

文件差异内容过多而无法显示
+ 1 - 1
dist/js/splide.min.js


二进制
dist/js/splide.min.js.gz


+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "@splidejs/splide",
-  "version": "2.4.4",
+  "version": "2.4.5",
   "description": "Splide is a lightweight and powerful slider without any dependencies.",
   "author": "Naotoshi Fujita",
   "license": "MIT",

+ 0 - 2
src/js/utils/object.js

@@ -76,8 +76,6 @@ export function merge( { ...to }, from ) {
  * @return {Object} - An assigned object.
  */
 export function assign( to, from ) {
-	to._s = from;
-
 	keys( from ).forEach( key => {
 		if ( ! to[ key ] ) {
 			Object.defineProperty( to, key, Object.getOwnPropertyDescriptor( from, key ) );

部分文件因为文件数量过多而无法显示