Commit d477d0f9 authored by Smari McCarthy's avatar Smari McCarthy
Browse files

Cleanup

parent 605bf78e
......@@ -14,7 +14,7 @@ var dollar_multiplier_lookup_table = {
function Marka(target) {
console.log(this.currencies_supported());
this.setCurrency("eur");
this.setCurrency("isk");
this.getValueInSetCurrency(200, "usd", function(value){
console.log("Exchanged to: " + value);
......@@ -56,7 +56,7 @@ Marka.prototype.match = function() {
formats.push(optCurrencyCode + currencySymbols + optSpace + numbers + optSpace + magnitudes + optSpace + "(" + optAsterisk + "|" + optBraceOpen + currencyCode + optBraceClose + ")");
formats.push(numbers + optSpace + magnitudes + optSpace + currencyWords);
var regex = new RegExp("(" + formats.join("|") + ")", "g")
var regex = new RegExp("(" + formats.join("|") + ")", "g");
findAndReplaceDOMText(this.target, {
find: regex,
wrap: this.wrapNode()
......@@ -123,7 +123,6 @@ Marka.prototype.splitSymbols = function(text) {
Marka.prototype.findSymbol = function(text) {
var result = {certain: false, symbol: null}
text = text.replace(/[\s]+/g, "");
console.log("TEXT: >" + text + "<" + text.length)
if (text.match(/[A-Z]{3}/)) {
for (code in currency_info) {
if (code == text) {
......
......@@ -11,6 +11,7 @@
<h1>Testing essay</h1>
<div id="test">
<p>
A US federal court in Missouri sentenced a man from Belarus on Tuesday to five years in prison on charges of conspiracy to file fraudulent income tax returns, according to the St. Louis Post-Dispatch.
A news release from the US Attorney’s Office in St. Louis reports that Alexsandr Rabikov, a legal US resident, hacked into the computer of a bank in the St. Louis area and obtained personal information that let him illegally collect fraudulent tax refunds. The scam came to light in February 2014, when the real account holders began to file their taxes and discovered their identities had been stolen.
......@@ -22,6 +23,10 @@
US District Judge Catherine Perry called the crime “extremely serious” after imposing the maximum five-year sentence, noting that the case involved organized crime with overseas elements, according to the St. Louis Post-Dispatch.
Belomyttseva, who was in the US on a tourist visa, was also sentenced Tuesday to 366 days in jail after pleading guilty in October to a conspiracy charge, according to the St. Louis Post-Dispatch. Prosecutors say Rabikov will be deported once he has completed his sentence.
</p>
<p>
This is what we like, but it's like $500 lakh, or perhaps $1000 crore. $5 score US, or perhaps 99 thousand EUR.
</p>
</div>
</body>
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment