Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
libre
marka
Commits
eef4d861
Commit
eef4d861
authored
Jan 30, 2016
by
Christopher Guess
Browse files
changes of some sort, probably a white space or whatever
parent
342aaff4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
js/marka.js
js/marka.js
+4
-0
No files found.
js/marka.js
View file @
eef4d861
...
...
@@ -221,10 +221,14 @@ Marka.prototype.wrapNode = function() {
return
markaDropdownHTML
.
get
(
0
);
}
// Currency rates are in 3-character ISO codes e.g. "USD", "EUR" "GBP"
// date is a string yyyy-mm-dd or null. Null will use the most recent data available
Marka
.
prototype
.
getValueInSetCurrency
=
function
(
value
,
from_currency
,
date
,
callback
){
this
.
getValueInCurrency
(
value
,
from_currency
,
this
.
getCurrentCurrency
(),
date
,
callback
);
}
// Currency rates are in 3-character ISO codes e.g. "USD", "EUR" "GBP"
// date is a string yyyy-mm-dd or null. Null will use the most recent data available
Marka
.
prototype
.
getValueInCurrency
=
function
(
value
,
from_currency
,
to_currency
,
date
,
callback
){
if
(
!
to_currency
){
callback
(
value
,
false
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment