Changeset e29cc2e for trip-planner-front/node_modules/klona/lite
- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- Location:
- trip-planner-front/node_modules/klona/lite
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/klona/lite/index.js
r59329aa re29cc2e 8 8 tmp = new x.constructor(); 9 9 for (k in x) { 10 if ( tmp.hasOwnProperty(k) && tmp[k] !== x[k]) {10 if (x.hasOwnProperty(k) && tmp[k] !== x[k]) { 11 11 tmp[k] = klona(x[k]); 12 12 } -
trip-planner-front/node_modules/klona/lite/index.min.js
r59329aa re29cc2e 1 !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.klona={})}(this,(function(e){e.klona=function e(t){if("object"!=typeof t)return t;var o,n,r=Object.prototype.toString.call(t);if("[object Object]"===r){if(t.constructor!==Object&&"function"==typeof t.constructor)for(o in n=new t.constructor,t) n.hasOwnProperty(o)&&n[o]!==t[o]&&(n[o]=e(t[o]));else for(o in n={},t)"__proto__"===o?Object.defineProperty(n,o,{value:e(t[o]),configurable:!0,enumerable:!0,writable:!0}):n[o]=e(t[o]);return n}if("[object Array]"===r){for(o=t.length,n=Array(o);o--;)n[o]=e(t[o]);return n}return"[object Date]"===r?new Date(+t):"[object RegExp]"===r?((n=new RegExp(t.source,t.flags)).lastIndex=t.lastIndex,n):t}}));1 !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.klona={})}(this,(function(e){e.klona=function e(t){if("object"!=typeof t)return t;var o,n,r=Object.prototype.toString.call(t);if("[object Object]"===r){if(t.constructor!==Object&&"function"==typeof t.constructor)for(o in n=new t.constructor,t)t.hasOwnProperty(o)&&n[o]!==t[o]&&(n[o]=e(t[o]));else for(o in n={},t)"__proto__"===o?Object.defineProperty(n,o,{value:e(t[o]),configurable:!0,enumerable:!0,writable:!0}):n[o]=e(t[o]);return n}if("[object Array]"===r){for(o=t.length,n=Array(o);o--;)n[o]=e(t[o]);return n}return"[object Date]"===r?new Date(+t):"[object RegExp]"===r?((n=new RegExp(t.source,t.flags)).lastIndex=t.lastIndex,n):t}})); -
trip-planner-front/node_modules/klona/lite/index.mjs
r59329aa re29cc2e 8 8 tmp = new x.constructor(); 9 9 for (k in x) { 10 if ( tmp.hasOwnProperty(k) && tmp[k] !== x[k]) {10 if (x.hasOwnProperty(k) && tmp[k] !== x[k]) { 11 11 tmp[k] = klona(x[k]); 12 12 }
Note:
See TracChangeset
for help on using the changeset viewer.