1.0.10 • Published 5 years ago

cccheck v1.0.10

Weekly downloads
53
License
MIT
Repository
github
Last release
5 years ago

CCCheck - Credit Card Check :credit_card: :heavy_check_mark:

GitHub version npm version GitHub issues GitHub forks GitHub stars GitHub contributors GitHub license

To Use:

  • Add CSS link: cccheck/dist/css/cccheck.css.
  • Add JavaScript link: cccheck/dist/js/jquery.cccheck.js.
  • You need to have jQuery in your project, of course.

To Configure:

$(document).ready(function() {
  $.cccheck({
    // Config local
    'input_cc_number'     :   '#cc-number',
    'element_show_label'  :   '#show-cc-label'
  });
})

To Contribute:

  1. Fork this repository.
  2. git clone github.com/[you]/cccheck.git
  3. cd cccheck
  4. yarn
  5. yarn watch (for development) or yarn build (for production)

Files for plugin

  • The scripts into ./js
  • The styles SCSS into ./scss
  • No edit ./dist

Files non-plugin

For styles and scripts exclusive of the example page, add directory in index.html.

Question / Bug / Idea

Open an issue