mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 08:38:08 -05:00
use JSDoc/Closure Compiler style type annotations
This commit is contained in:
@@ -651,8 +651,8 @@
|
||||
// make() returns a new element
|
||||
// based on the passed in tag name
|
||||
//
|
||||
// @param <String> tag
|
||||
// @return <Element> element
|
||||
// @param {String} tag
|
||||
// @return {Element} element
|
||||
function make(tag) {
|
||||
|
||||
// ...stuff...
|
||||
@@ -665,8 +665,8 @@
|
||||
* make() returns a new element
|
||||
* based on the passed in tag name
|
||||
*
|
||||
* @param <String> tag
|
||||
* @return <Element> element
|
||||
* @param {String} tag
|
||||
* @return {Element} element
|
||||
*/
|
||||
function make(tag) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user