【文件属性】:
文件名称:footnote:用于 JavaScript 的注释实用程序
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-31 22:22:50
JavaScript
脚注
JavaScript 的注释实用程序。 旨在与 angular 和 TypeScript 注释普遍兼容。
npm install --save footnote
用法
使用Annotation.create创建注解装饰器:
import Annotation from 'footnote' ;
function SimpleAnnotation ( ) {
return Annotation . create ( SimpleAnnotation . prototype )
. apply ( null , arguments ) ;
}
function AnnotationWithParams ( param ) {
return Annotation . create ( AnnotationWithParams . prototype , {
s
【文件预览】:
footnote-master
----.npmignore(58B)
----.travis.yml(842B)
----test()
--------read.js(712B)
--------function.js(1KB)
--------property.js(550B)
--------babel.es6(603B)
--------scan.js(4KB)
----README.md(2KB)
----.gitignore(27B)
----index.js(3KB)
----package.json(674B)