<commit_before>/*
 * yugioh_sky.js
 * 2.0 (2018-02-01)
 *
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 * https://github.com/joelcancela/Yu-Gi-Oh_Sky.js
 *
 * Copyright 2018 <NAME>[<EMAIL>]
 * This is not affiliated with Konami.
 */

/************************************************** Globals **************************************************/
//// API links
// APIs Used with CORS
var DATABASE_CARDS_URL = "http://www.joelcancela.fr/services/yugioh_sky.js/getCardsDatabase/";
var SUPPORT_CARDS_URL = "http://www.joelcancela.fr/services/yugioh_sky.js/getSupportCards/";
var CARD_DESCRIPTION_FR_URL = "http://www.joelcancela.fr/services/yugioh_sky.js/getCardDescription/";
// External APIs
var IMG_API_URL = "http://yugiohprices.com/api/card_image/";
var WIKIA_LINK = "http://yugioh.wikia.com/wiki/";
// Vars
var img_card_404 = "./img/yugioh_404.png";
var cards_table = [];
// Events
var cards_table_is_ready = false;
var cards_table_is_created = false;
// JSON cards table keys
var cards_table__key_atk = "atk";
var cards_table__key_card_type = "card_type"; // Monster, Spell, Trap
var cards_table__key_decks_array = "decks";<commit_msg>With HTTPS URLs it works better<commit_after>/*
 * yugioh_sky.js
 * 2.0 (2018-02-01)
 *
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 * https://github.com/joelcancela/Yu-Gi-Oh_Sky.js
 *
 * Copyright 2018 <NAME>[<EMAIL>]
 * This is not affiliated with Konami.
 */

/************************************************** Globals **************************************************/
//// API links
// APIs Used with CORS
var DATABASE_CARDS_URL = "https://www.joelcancela.fr/services/yugioh_sky.js/getCardsDatabase/";
var SUPPORT_CARDS_URL = "https://www.joelcancela.fr/services/yugioh_sky.js/getSupportCards/";
var CARD_DESCRIPTION_FR_URL = "https://www.joelcancela.fr/services/yugioh_sky.js/getCardDescription/";
// External APIs
var IMG_API_URL = "http://yugiohprices.com/api/card_image/";
var WIKIA_LINK = "http://yugioh.wikia.com/wiki/";
// Vars
var img_card_404 = "./img/yugioh_404.png";
var cards_table = [];
// Events
var cards_table_is_ready = false;
var cards_table_is_created = false;
// JSON cards table keys
var cards_table__key_atk = "atk";
var cards_table__key_card_type = "card_type"; // Monster, Spell, Trap
var cards_table__key_decks_array = "decks";
{'fraction_non_alphanumeric': 0.2178889359898262, 'fraction_numerical': 0.01695633743111488, 'mean_word_length': 4.870646766169155, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 5, 'lorem ipsum': 0, 'www.': 6, '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': '572113', 'n_tokens_mistral': 918, 'n_tokens_neox': 858, 'n_words': 150}