Commits

Kamyar Inanloo committed 85109c3

JS avlidation satisfied.

  • Participants
  • Parent commits da25995

Comments (0)

Files changed (1)

 	var formatted = decodeURI(this).replace('&', '&');
 	for (var i = 0; i < arguments.length; i++) {
 		var regexp = new RegExp('\\{' + i + '\\}', 'gi');
-		formatted = formatted.replace(regexp, arguments[i] != null ? arguments[i].toString() : '');
+		formatted = formatted.replace(regexp, arguments[i] !== null ? arguments[i].toString() : '');
 	}
 	return formatted;
 };