Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

steal/build.js is throwing errors from inside of comments

$
0
0
I have a few comment blocks that I use to generate some docs, but they're throwing errors when I try to build my script.  I've had these blocks for quite a while, and haven't updated steal recently either. Just started getting the errors today.

For example, I get the error: "ERROR in leadingreach/experience_manager/experience_manager.js at line 1677: WARNING - Parse error. missing opening ("

which points to this block of comments: 



  1. /**
  2.                  * display_error()
  3.                  *
  4.                  * Displays a user friendly error message
  5.                  *
  6.                  * @param {string}    text        Text to be displayed
  7.                  * @param {string}    [helper]    (optional) Any extra information regarding the error, or steps to be taken afterwards.
  8.                  * @param {int}       [timeout]   (optional) Number of milliseconds for a timeout
  9.                  * @param {boolean}   refresh     Toggles whether or not the refresh button is shown
  10.                  * @param {function}  callback    Function to execute when the error is closed
  11.                  */


Also getting errors after this that are: "WARNING - Parse error. extra @desc tag"

And here is the comments:
  1. /**
  2.  * 
  3.  * @description Create a sortable table with multi-column sorting capabilitys */

One more error I'm seeing: "WARNING - Parse error. type annotation incompatible with other annotations"



Viewing all articles
Browse latest Browse all 3491

Trending Articles