Quellcode durchsuchen

quiescing JS unit tests

El RIDO vor 7 Jahren
Ursprung
Commit
0f42bd818f
3 geänderte Dateien mit 2 neuen und 6 gelöschten Zeilen
  1. 0 4
      js/privatebin.js
  2. 1 1
      tpl/bootstrap.php
  3. 1 1
      tpl/page.php

+ 0 - 4
js/privatebin.js

@@ -1053,12 +1053,8 @@ jQuery.PrivateBin = (function($, RawDeflate) {
                     // fallback below
                     console.error('URL interface not properly supported, error:', e);
                 }
-            } else {
-                console.warn('URL interface appears not to be supported in this browser.');
             }
 
-            // fallback to simple RegEx
-            console.warn('fallback to simple RegEx search');
             // Attention: This also returns the delete token inside of the ID, if it is specified
             id = (window.location.search.match(idRegExFind) || [''])[0];
 

+ 1 - 1
tpl/bootstrap.php

@@ -71,7 +71,7 @@ if ($MARKDOWN):
 endif;
 ?>
 		<script type="text/javascript" data-cfasync="false" src="js/purify-1.0.7.js" integrity="sha512-VnKJHLosO8z2ojNvWk9BEKYqnhZyWK9rM90FgZUUEp/PRnUqR5OLLKE0a3BkVmn7YgB7LXRrjHgFHQYKd6DAIA==" crossorigin="anonymous"></script>
-		<script type="text/javascript" data-cfasync="false" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-fTiFZAR0zCUF7FKtJSM4f424f/79EYC6r4Rt2tgNDvJGTMpL079J1KRSBZjVqhq2ePRHkLnBlzTRlzIO1LhoYw==" crossorigin="anonymous"></script>
+		<script type="text/javascript" data-cfasync="false" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-nqFl6ezAinqULcBBqWHuJ03J3SQZ0zFhHAgDX/7Vr0x9eNWdkqNvoArOrdvi5yZm45TyG+vuQNkLCHh+qhcOXw==" crossorigin="anonymous"></script>
 		<!--[if lt IE 10]>
 		<style type="text/css">body {padding-left:60px;padding-right:60px;} #ienotice {display:block;} #oldienotice {display:block;}</style>
 		<![endif]-->

+ 1 - 1
tpl/page.php

@@ -49,7 +49,7 @@ if ($MARKDOWN):
 endif;
 ?>
 		<script type="text/javascript" data-cfasync="false" src="js/purify-1.0.7.js" integrity="sha512-VnKJHLosO8z2ojNvWk9BEKYqnhZyWK9rM90FgZUUEp/PRnUqR5OLLKE0a3BkVmn7YgB7LXRrjHgFHQYKd6DAIA==" crossorigin="anonymous"></script>
-		<script type="text/javascript" data-cfasync="false" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-fTiFZAR0zCUF7FKtJSM4f424f/79EYC6r4Rt2tgNDvJGTMpL079J1KRSBZjVqhq2ePRHkLnBlzTRlzIO1LhoYw==" crossorigin="anonymous"></script>
+		<script type="text/javascript" data-cfasync="false" src="js/privatebin.js?<?php echo rawurlencode($VERSION); ?>" integrity="sha512-nqFl6ezAinqULcBBqWHuJ03J3SQZ0zFhHAgDX/7Vr0x9eNWdkqNvoArOrdvi5yZm45TyG+vuQNkLCHh+qhcOXw==" crossorigin="anonymous"></script>
 		<!--[if lt IE 10]>
 		<style type="text/css">body {padding-left:60px;padding-right:60px;} #ienotice {display:block;} #oldienotice {display:block;}</style>
 		<![endif]-->