updated contract end date and cleaner
This commit is contained in:
parent
59adf37523
commit
71215b6e9c
@ -192,8 +192,9 @@ const Bitcoin = Backbone.View.extend({
|
||||
const title = `High: $${ parseFloat(btcdata.highs.usd.toFixed(2)) } / Low $${ parseFloat(btcdata.lows.usd.toFixed(2))}`;
|
||||
let trendClass = '';
|
||||
|
||||
if (btcdata.trend > 1.00)
|
||||
if (btcdata.trend > 1.00)
|
||||
trendClass = 'trendUp';
|
||||
|
||||
else if (btcdata.trend < 1.00)
|
||||
trendClass = 'trendDown';
|
||||
else
|
||||
|
@ -35,10 +35,20 @@
|
||||
<button onclick="cleanScriptsLinks()">Clean Scripts / Links</button>
|
||||
<button onclick="convertToBase64()">Convert To Base64</button>
|
||||
<button onclick="convertFromBase64()">Convert From Base64</button>
|
||||
<br>
|
||||
|
||||
<button class='button-primary' onclick="clear()">Clear windows</button>
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
// ucs-2 string to base64 encoded ascii
|
||||
function clear(){
|
||||
document.getElementById('source').value = '';
|
||||
document.getElementById('output').value = '';
|
||||
|
||||
}
|
||||
function utoa(str) {
|
||||
return window.btoa(unescape(encodeURIComponent(str)));
|
||||
}
|
||||
@ -53,6 +63,7 @@
|
||||
|
||||
let output = source.replace(/(\<\bscript\b[\S\s]+?<\/\bscript\b\>)/g, '');
|
||||
output = output.replace(/<\/?link[^>]*>/g,'');
|
||||
output = output.replace(/(?:src\s*?=\s*?['"])(.+?)(?:['"])/g,'');
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user