This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<!-- | |
Switch inspired by iOS7. | |
Works well in Chrome, Opera and FF. | |
Safari works but it is a little glitchy. | |
--> | |
<head> | |
<meta charset="UTF-8"> | |
<style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Check digit using modulo 11 | |
Arguments: | |
- n is your given number to test the check digit | |
- x is an optional argument that is used to determine the check digit | |
used in case of the rest of the division is less than 2. Defaults to 0. | |
Returns an integer, the checkDigit for the given number. | |
*/ | |
var checkDigit11 = function(n, x) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Check digit GS1 | |
Arguments: | |
- [String] GS1 code without check digit to generate | |
the check digit | |
Returns: | |
- [Number] Check digit for given code | |
Author: Matheus R. Kautzmann | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
var wc = document.registerElement && | |
window.HTMLTemplateElement && | |
window.ShadowRoot && | |
window.WeakMap && | |
window.MutationObserver && | |
("import" in document.createElement("link")); | |
if(!wc) { | |
var polyfill = document.createElement("script"); | |
polyfill.src = "polymer/platform.js"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# initialization file (not found) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-12-01T14:38:37.703Z","extensionVersion":"v3.4.3"} |