Ignore:
Timestamp:
11/25/21 22:08:24 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
8d391a1
Parents:
59329aa
Message:

primeNG components

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner-front/node_modules/cookie/index.js

    r59329aa re29cc2e  
    121121  if (null != opt.maxAge) {
    122122    var maxAge = opt.maxAge - 0;
    123 
    124     if (isNaN(maxAge) || !isFinite(maxAge)) {
    125       throw new TypeError('option maxAge is invalid')
    126     }
    127 
     123    if (isNaN(maxAge)) throw new Error('maxAge should be a Number');
    128124    str += '; Max-Age=' + Math.floor(maxAge);
    129125  }
Note: See TracChangeset for help on using the changeset viewer.