source: trip-planner-front/node_modules/dns-equal/index.js@ 76712b2

Last change on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 196 bytes
RevLine 
[6a3a178]1'use strict'
2
3var r = /[A-Z]/g
4
5module.exports = function (a, b) {
6 a = a.replace(r, replacer)
7 b = b.replace(r, replacer)
8 return a === b
9}
10
11function replacer (m) {
12 return m.toLowerCase()
13}
Note: See TracBrowser for help on using the repository browser.