Replace uses of @code in Javascript documentation with Markdown backticks

Rosie CL for []/third_party (local approval/rejection).

[]
b/71392935
Tested:
    TAP --sample for global presubmit queue
    []

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=184412611
This commit is contained in:
jianglai 2018-02-03 15:12:14 -08:00
parent 98a61b8181
commit 88d453d6a9
15 changed files with 36 additions and 36 deletions

View file

@ -50,9 +50,9 @@ registry.util.cssShown = goog.getCssName('shown');
/**
* Changes element visibility by toggling CSS {@code shown} to {@code hidden}.
* Changes element visibility by toggling CSS `shown` to `hidden`.
* @param {!Element|string} element Element or id attribute of element.
* @param {boolean} visible Shows {@code element} if true, or else hides it.
* @param {boolean} visible Shows `element` if true, or else hides it.
*/
registry.util.setVisible = function(element, visible) {
goog.dom.classlist.addRemove(
@ -117,7 +117,7 @@ registry.util.renderBeforeRow = function(id, tmpl, tmplParams) {
* Turns an HTML form's named elements into a JSON data structure with
* Pablo's black magick.
* @param {string} formName the name of the form to be parsed.
* @throws {Error} if {@code formName} couldn't be found.
* @throws {Error} if `formName` couldn't be found.
* @return {!Object} the parsed form values as an object.
*/
registry.util.parseForm = function(formName) {