Buckets:
ktongue/docker_container / CAD_kevin /frontend /node_modules /autoprefixer /lib /hacks /placeholder.js
| let Selector = require('../selector') | |
| class Placeholder extends Selector { | |
| /** | |
| * Add old mozilla to possible prefixes | |
| */ | |
| possible() { | |
| return super.possible().concat(['-moz- old', '-ms- old']) | |
| } | |
| /** | |
| * Return different selectors depend on prefix | |
| */ | |
| prefixed(prefix) { | |
| if (prefix === '-webkit-') { | |
| return '::-webkit-input-placeholder' | |
| } | |
| if (prefix === '-ms-') { | |
| return '::-ms-input-placeholder' | |
| } | |
| if (prefix === '-ms- old') { | |
| return ':-ms-input-placeholder' | |
| } | |
| if (prefix === '-moz- old') { | |
| return ':-moz-placeholder' | |
| } | |
| return `::${prefix}placeholder` | |
| } | |
| } | |
| Placeholder.names = ['::placeholder'] | |
| module.exports = Placeholder | |
Xet Storage Details
- Size:
- 711 Bytes
- Xet hash:
- 8651b01c6d026bd7eae285d94d0e2dacae63bb6d7240a7b0adbb15b5702a546a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.