1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

@params -> @param fix

This commit is contained in:
Dan 2018-04-16 19:45:27 -02:30
parent 20a075657f
commit 23acddf8f6
3 changed files with 8 additions and 8 deletions

View File

@ -48,7 +48,7 @@ class CurrencyController {
/**
* A setter for the currentCurrency property
*
* @params {string} currentCurrency The new currency to set as the currentCurrency in the store
* @param {string} currentCurrency The new currency to set as the currentCurrency in the store
*
*/
setCurrentCurrency (currentCurrency) {
@ -68,7 +68,7 @@ class CurrencyController {
/**
* A setter for the conversionRate property
*
* @params {number} conversionRate The new rate to set as the conversionRate in the store
* @param {number} conversionRate The new rate to set as the conversionRate in the store
*
*/
setConversionRate (conversionRate) {
@ -89,7 +89,7 @@ class CurrencyController {
/**
* A setter for the conversionDate property
*
* @params {number} conversionDate The date, expressed in milliseconds since midnight of January 1, 1970, that the
* @param {number} conversionDate The date, expressed in milliseconds since midnight of January 1, 1970, that the
* conversionRate was set
*
*/

View File

@ -117,7 +117,7 @@ class ShapeshiftController {
* Saves an updated to a ShapeShiftTx in the shapeShiftTxList. If the passed ShapeShiftTx is not in the
* shapeShiftTxList, nothing happens.
*
* @params {ShapeShiftTx} tx The updated tx to save, if it exists in the current shapeShiftTxList
* @param {ShapeShiftTx} tx The updated tx to save, if it exists in the current shapeShiftTxList
*
*/
saveTx (tx) {
@ -132,7 +132,7 @@ class ShapeshiftController {
/**
* Removes a ShapeShiftTx from the shapeShiftTxList
*
* @params {ShapeShiftTx} tx The tx to remove
* @param {ShapeShiftTx} tx The tx to remove
*
*/
removeShapeShiftTx (tx) {

View File

@ -5,8 +5,8 @@ const noop = function () {}
* A generator that returns a function which, when passed a promise, can treat that promise as a node style callback.
* The primse advantage being that callbacks are better for error handling.
*
* @params {Function} fn The function to handle as a callback
* @params {Object} context The context in which the fn is to be called, most often a this reference
* @param {Function} fn The function to handle as a callback
* @param {Object} context The context in which the fn is to be called, most often a this reference
*
*/
module.exports = function nodeify (fn, context) {