Innovenergy_trunk/frontend/node_modules/testcafe-hammerhead/lib/utils/is-keyword-target.js

10 lines
322 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const KEYWORD_TARGETS = ['_blank', '_self', '_parent', '_top'];
function default_1(value = '') {
value = value.toLowerCase();
return KEYWORD_TARGETS.indexOf(value) !== -1;
}
exports.default = default_1;module.exports = exports.default;