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:
parent
20a075657f
commit
23acddf8f6
@ -48,7 +48,7 @@ class CurrencyController {
|
|||||||
/**
|
/**
|
||||||
* A setter for the currentCurrency property
|
* 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) {
|
setCurrentCurrency (currentCurrency) {
|
||||||
@ -68,7 +68,7 @@ class CurrencyController {
|
|||||||
/**
|
/**
|
||||||
* A setter for the conversionRate property
|
* 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) {
|
setConversionRate (conversionRate) {
|
||||||
@ -89,7 +89,7 @@ class CurrencyController {
|
|||||||
/**
|
/**
|
||||||
* A setter for the conversionDate property
|
* 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
|
* conversionRate was set
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
@ -117,7 +117,7 @@ class ShapeshiftController {
|
|||||||
* Saves an updated to a ShapeShiftTx in the shapeShiftTxList. If the passed ShapeShiftTx is not in the
|
* Saves an updated to a ShapeShiftTx in the shapeShiftTxList. If the passed ShapeShiftTx is not in the
|
||||||
* shapeShiftTxList, nothing happens.
|
* 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) {
|
saveTx (tx) {
|
||||||
@ -132,7 +132,7 @@ class ShapeshiftController {
|
|||||||
/**
|
/**
|
||||||
* Removes a ShapeShiftTx from the shapeShiftTxList
|
* Removes a ShapeShiftTx from the shapeShiftTxList
|
||||||
*
|
*
|
||||||
* @params {ShapeShiftTx} tx The tx to remove
|
* @param {ShapeShiftTx} tx The tx to remove
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
removeShapeShiftTx (tx) {
|
removeShapeShiftTx (tx) {
|
||||||
|
@ -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.
|
* 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.
|
* The primse advantage being that callbacks are better for error handling.
|
||||||
*
|
*
|
||||||
* @params {Function} fn The function to handle as a callback
|
* @param {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 {Object} context The context in which the fn is to be called, most often a this reference
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
module.exports = function nodeify (fn, context) {
|
module.exports = function nodeify (fn, context) {
|
||||||
|
Loading…
Reference in New Issue
Block a user