<commit_before>/*
    EAN-13 Code Generator v0.1.1
    github.com/jamesliu96/ean13
    Copyright (C) 2014 <NAME>. http://james.mit-license.org/
    g.jamesliu.info
*/

var EAN13 = function(a, b, c) {
    this.a = a.toString();
    this.b = b.toString();
    this.c = c.toString();
    this.code = this.a + this.b + this.c;
    this.isEAN13 = function(code) {
        code = code.toString();
        if(!code) {
            alert("Code unavailable.");
            return false;
        } else if(code.length != 12) {
            alert("Not an EAN13 code, please check your input.");
            return false;
        } else {
            return true;
        }
    };<commit_msg>Slight change<commit_after>/*
    EAN-13 Code Generator v0.1.1
    github.com/jamesliu96/ean13
    Copyright (C) 2014 <NAME>. http://james.mit-license.org/
    g.jamesliu.info
*/

var EAN13 = function(a, b, c) {
    this.a = a.toString();
    this.b = b.toString();
    this.c = c.toString();
    this.code = this.a + this.b + this.c;
    this.isEAN13 = function(code) {
        code = code.toString();
        if(!code) {
            console.error("Code unavailable.");
            return false;
        } else if(code.length != 12) {
            console.warn("Not an EAN13 code, please check your input.");
            return false;
        } else {
            return true;
        }
    };
{'fraction_non_alphanumeric': 0.1487964989059081, 'fraction_numerical': 0.030634573304157548, 'mean_word_length': 1.7886178861788617, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1574742', 'n_tokens_mistral': 489, 'n_tokens_neox': 458, 'n_words': 105}