1
0
mirror of https://github.com/thangisme/notes.git synced 2025-09-24 10:54:25 -04:00

Initial commit

This commit is contained in:
Patrick Marsceill
2017-03-09 13:16:08 -05:00
commit b7b0d0d7bf
4147 changed files with 401224 additions and 0 deletions

20
node_modules/stylelint/lib/utils/isKeyframeSelector.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
/* @flow */
"use strict"
const keywordSets = require("../reference/keywordSets")
/**
* Check whether a string is a keyframe selector.
*/
module.exports = function (selector/*: string*/)/*: boolean*/ {
if (keywordSets.keyframeSelectorKeywords.has(selector)) {
return true
}
// Percentages
if (/^(?:\d+\.?\d*|\d*\.?\d+)%$/.test(selector)) {
return true
}
return false
}