Content-Length: 262341 | pFad | http://github.com/jquery-validation/jquery-validation/issues/2507

18 Depreciated String · Issue #2507 · jquery-validation/jquery-validation · GitHub
Skip to content

Depreciated String #2507

Open
Open
@BrokenShoeLace

Description

@BrokenShoeLace

jQuery Validation Plugin v1.21.0

The substr is depreciated

Lines 273 and 275:

all_sum = even_sum + odd_sum;
control_digit = ( 10 - ( all_sum ).toString().substr( -1 ) ).toString();
control_digit = parseInt( control_digit, 10 ) > 9 ? "0" : control_digit;
control_letter = "JABCDEFGHI".substr( control_digit, 1 ).toString();

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/jquery-validation/jquery-validation/issues/2507

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy