style: few jsdoc fixes

This commit is contained in:
Sven SAULEAU 2018-03-14 14:49:33 +01:00
parent 7f86d5480e
commit a3a4c33c47
No known key found for this signature in database
GPG Key ID: F5464AC83B687AD1
1 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ const initFuncId = t.identifier("__init__");
/**
* Removes the start instruction
*
* @param {ArrayBuffer} state - unused state
* @param {Object} state - unused state
* @returns {ArrayBuffer} bin'
*/
const removeStartFunc = state => bin => {
@ -77,7 +77,7 @@ function getImportedGlobals(ast) {
*
* Note that globals will become mutable.
*
* @param {ArrayBuffer} bin - the input wasm binary
* @param {Object} state - unused state
* @returns {ArrayBuffer} bin'
*/
const rewriteImportedGlobals = state => bin => {
@ -113,7 +113,7 @@ const rewriteImportedGlobals = state => bin => {
*
* The init function fills the globals given input arguments.
*
* @param {ArrayBuffer} bin - the input wasm binary
* @param {Object} state - transformation state
* @returns {ArrayBuffer} bin'
*/
const addInitFunction = ({