first
This commit is contained in:
13
node_modules/dns-equal/index.js
generated
vendored
Normal file
13
node_modules/dns-equal/index.js
generated
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
'use strict'
|
||||
|
||||
var r = /[A-Z]/g
|
||||
|
||||
module.exports = function (a, b) {
|
||||
a = a.replace(r, replacer)
|
||||
b = b.replace(r, replacer)
|
||||
return a === b
|
||||
}
|
||||
|
||||
function replacer (m) {
|
||||
return m.toLowerCase()
|
||||
}
|
Reference in New Issue
Block a user