openexchangerates / money.js

money.js is a tiny (1kb) javascript currency conversion library, for web & nodeJS
http://openexchangerates.github.io/money.js
MIT License
1.46k stars 127 forks source link

Update internal variable names for consistency #5

Open wjcrowcroft opened 12 years ago

wjcrowcroft commented 12 years ago

Inside the getRate function, change internal to and from variable names to quote and base, if it wouldn't affect comprehension - this is for consistency with standard terms/labeling in exchange rate calculations.