mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update polymer components
This commit is contained in:
parent
478617f766
commit
c7fa2299da
31 changed files with 813 additions and 1954 deletions
|
@ -12,9 +12,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
<link rel="import" href="../../iron-validator-behavior/iron-validator-behavior.html">
|
||||
|
||||
<script>
|
||||
|
||||
Polymer({
|
||||
|
||||
is: 'ssn-validator',
|
||||
|
||||
behaviors: [
|
||||
|
@ -25,7 +23,5 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
|
|||
// this regex validates incomplete ssn's (by design)
|
||||
return !value || value.match(/^[0-9]{0,3}-[0-9]{0,2}-[0-9]{0,4}$/);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue