source:
trip-planner-front/node_modules/dns-equal/index.js@
6fe77af
Last change on this file since 6fe77af 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.