Sha256: 8718b971d49c04a5127aeaffee16cd9a920deb400d8c269c390d521800f1fbf5

Contents?: true

Size: 576 Bytes

Versions: 46

Compression:

Stored size: 576 Bytes

Contents

// Generated using `npm run build`. Do not edit.

var regex = /^[a-z](?:[\.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*-(?:[\x2D\.0-9_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/;

var isPotentialCustomElementName = function(string) {
	return regex.test(string);
};

module.exports = isPotentialCustomElementName;

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
clapton-0.0.26 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.25 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.24 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.23 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.22 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.21 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.20 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.19 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.18 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.17 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.16 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.15 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.14 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.13 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.12 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.11 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.10 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.9 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.8 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js
clapton-0.0.7 lib/clapton/javascripts/node_modules/is-potential-custom-element-name/index.js