<commit_before>--- homematic/WebUI/www/webui/webui.js.orig	2016-11-25 17:46:24.480091634 +0100
+++ homematic/WebUI/www/webui/webui.js	2016-11-25 17:55:36.779435439 +0100
@@ -16943,7 +16943,7 @@
     var script = document.createElement("script");
     script.id = "homematic_com_script";
     script.type = "text/javascript";
-    script.src = "http://update.homematic.com/firmware/download?cmd=js_check_version&version="+WEBUI_VERSION+"&product=HM-CCU2&serial=" + serial;
+    script.src = "https://min.gitcdn.link/repo/jens-maus/RaspberryMatic/master/release/LATEST-VERSION.js"
     $("body").appendChild(script);
   },
 
@@ -17039,7 +17039,7 @@
    **/
   setLatestVersion: function(latestVersion, product)
   {
-    if (product == "HM-CCU2") {
+    if (product == "HM-RASPBERRYMATIC") {
       homematic.com.m_latestVersion = latestVersion;
       homematic.com.m_isUpdateAvailable = (WEBUI_VERSION != latestVersion);
     } else {
<commit_msg>fixed cdn link to directly reference the repository.<commit_after>--- homematic/WebUI/www/webui/webui.js.orig	2016-11-25 17:46:24.480091634 +0100
+++ homematic/WebUI/www/webui/webui.js	2016-11-25 17:55:36.779435439 +0100
@@ -16943,7 +16943,7 @@
     var script = document.createElement("script");
     script.id = "homematic_com_script";
     script.type = "text/javascript";
-    script.src = "http://update.homematic.com/firmware/download?cmd=js_check_version&version="+WEBUI_VERSION+"&product=HM-CCU2&serial=" + serial;
+    script.src = "https://min.gitcdn.link/cdn/jens-maus/RaspberryMatic/master/release/LATEST-VERSION.js"
     $("body").appendChild(script);
   },
 
@@ -17039,7 +17039,7 @@
    **/
   setLatestVersion: function(latestVersion, product)
   {
-    if (product == "HM-CCU2") {
+    if (product == "HM-RASPBERRYMATIC") {
       homematic.com.m_latestVersion = latestVersion;
       homematic.com.m_isUpdateAvailable = (WEBUI_VERSION != latestVersion);
     } else {

{'fraction_non_alphanumeric': 0.16925465838509315, 'fraction_numerical': 0.08281573498964803, 'mean_word_length': 3.9185750636132317, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4765366', 'n_tokens_mistral': 822, 'n_tokens_neox': 708, 'n_words': 89}