jason0x43/vim-js-indent — pull request #1 by alvan (2014-08-25 10:33:36+00:00)
Title: correct indent of comments

javascript code for test :

(function() {
// js file for test

/**
* make the int second time to string 00:00:00
* @param {type} second
* @param {type} digit
* @returns {String}
*/
var f = function(second, digit) {
/*
* some comments
*/
return (sign + arr.join(':').replace(/\b(\d)\b/g, "0$1"));
};

// urlError
var urlError = function() {
/* hahah */
throw new Error('A "url" property or function must be specified');
};
})();