##// END OF EJS Templates
Слияние
Слияние

File last commit:

r79:e5bb5e80ce96 v1.2.3 default
r92:43e5b8181346 merge default
Show More
DjxFragment.ts
6 lines | 348 B | video/mp2t | TypeScriptLexer
/ djx / src / main / ts / tsx / DjxFragment.ts
cin
Converted to subproject djx, removed dojo-typings
r65 /** Special functional component used to create a document fragment */
cin
fixed tslint errors, added support for private methods to @on() decorator
r79 export function DjxFragment({ children }: { children?: Node | Node[] }) {
cin
Converted to subproject djx, removed dojo-typings
r65 const fragment = document.createDocumentFragment();
if (children)
(children instanceof Array ? children : [children]).forEach(child => fragment.appendChild(child));
return fragment;
}