Skip to content
This repository has been archived by the owner on Jun 1, 2021. It is now read-only.

Commit

Permalink
Use HTTPS where possible
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpurra committed Feb 24, 2021
1 parent 128a3e7 commit 8ba9b6e
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 17 deletions.
14 changes: 7 additions & 7 deletions LICENSE
@@ -1,18 +1,18 @@
AutoCleanCallback-Canada javascript library. Canadian extensions to AutoCleanCallback (required).
Copyright (c) 2012, 2013, Joel Purra <http://joelpurra.com/>
Copyright (c) 2012, 2013, Joel Purra <https://joelpurra.com/>
All rights reserved.

When using AutoCleanCallback-Canada, comply to at least one of the three available licenses: BSD, MIT, GPL.
Please see the respective LICENSE file for details, or the links below for more information.

The BSD 2-Clause License
http://opensource.org/licenses/BSD-2-Clause
http://en.wikipedia.org/wiki/BSD_license
https://opensource.org/licenses/BSD-2-Clause
https://en.wikipedia.org/wiki/BSD_license

The MIT License
http://opensource.org/licenses/MIT
http://en.wikipedia.org/wiki/MIT_License
https://opensource.org/licenses/MIT
https://en.wikipedia.org/wiki/MIT_License

GNU General Public License, version 3 (GPL-3.0)
http://opensource.org/licenses/gpl-3.0.html
http://en.wikipedia.org/wiki/GNU_General_Public_License
https://opensource.org/licenses/gpl-3.0.html
https://en.wikipedia.org/wiki/GNU_General_Public_License
2 changes: 1 addition & 1 deletion LICENSE-BSD
@@ -1,5 +1,5 @@
AutoCleanCallback-Canada javascript library. Canadian extensions to AutoCleanCallback (required).
Copyright 2012, 2013, Joel Purra <http://joelpurra.com/>
Copyright 2012, 2013, Joel Purra <https://joelpurra.com/>
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
4 changes: 2 additions & 2 deletions LICENSE-GPL
@@ -1,5 +1,5 @@
AutoCleanCallback-Canada javascript library. Canadian extensions to AutoCleanCallback (required).
Copyright (C) 2012, 2013 Joel Purra <http://joelpurra.com/>
Copyright (C) 2012, 2013 Joel Purra <https://joelpurra.com/>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand All @@ -12,4 +12,4 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
along with this program. If not, see <https://www.gnu.org/licenses/>.
2 changes: 1 addition & 1 deletion LICENSE-MIT
@@ -1,5 +1,5 @@
AutoCleanCallback-Canada javascript library. Canadian extensions to AutoCleanCallback (required).
Copyright (c) 2012, 2013 Joel Purra <http://joelpurra.com/>
Copyright (c) 2012, 2013 Joel Purra <https://joelpurra.com/>

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
8 changes: 4 additions & 4 deletions README.md
@@ -1,6 +1,6 @@
# [AutoCleanCallback-Canada](https://github.com/joelpurra/autocleancallback-canada)
# [AutoCleanCallback-Canada](https://joelpurra.com/projects/autocleancallback-canada)

Canadian extensions to [AutoCleanCallback](https://github.com/joelpurra/autocleancallback) (required).
Canadian extensions to [AutoCleanCallback](https://joelpurra.com/projects/autocleancallback) (required).



Expand All @@ -18,13 +18,13 @@ In your HTML form, mark all phone number fields with `type="tel"`, and all posta


## Runtime dependencies
- [jQuery](http://jquery.com/)
- [jQuery](https://jquery.com/)
- [AutoCleanCallback](https://github.com/joelpurra/autocleancallback)



## License
Copyright (c) 2012, 2013, 2014, 2015 [Joel Purra](http://joelpurra.com/)
Copyright (c) 2012, 2013, 2014, 2015 [Joel Purra](https://joelpurra.com/)
All rights reserved.

When using AutoCleanCallback-Canada, comply to at least one of the three available licenses: BSD, MIT, GPL. Please see the `LICENSE` file for details.
4 changes: 2 additions & 2 deletions src/autocleancallback.canada.joelpurra.js
@@ -1,6 +1,6 @@
/*!
* @license AutoCleanCallback-Canada
* Copyright (c) 2012, 2013 Joel Purra <http://joelpurra.com/>
* Copyright (c) 2012, 2013 Joel Purra <https://joelpurra.com/>
* Released under MIT, BSD and GPL license. Comply with at least one.
*
* https://github.com/joelpurra/autocleancallback-canada
Expand All @@ -21,7 +21,7 @@

debug.log(".autoCleanNorthAmericanPhoneNumber($input)", $input);

// From http://blog.stevenlevithan.com/archives/validate-phone-number
// From https://blog.stevenlevithan.com/archives/validate-phone-number
var phoneNumberUnformatted = /^\(?([0-9]{3})\)?[\-. ]?([0-9]{3})[\-. ]?([0-9]{4})$/,
replaceWithFormatted = "($1) $2-$3";

Expand Down

0 comments on commit 8ba9b6e

Please sign in to comment.