source:
trip-planner-front/node_modules/dns-equal/index.js@
6c1585f
Last change on this file since 6c1585f was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 196 bytes |
Line | |
---|---|
1 | 'use strict' |
2 | |
3 | var r = /[A-Z]/g |
4 | |
5 | module.exports = function (a, b) { |
6 | a = a.replace(r, replacer) |
7 | b = b.replace(r, replacer) |
8 | return a === b |
9 | } |
10 | |
11 | function replacer (m) { |
12 | return m.toLowerCase() |
13 | } |
Note:
See TracBrowser
for help on using the repository browser.