Skip to content
Permalink
Browse files

new view patch children storage

Children are stored in `Node.MoonChildren` in order to optimize access
of the DOM (such as `childNodes` or `firstChild`/`nextSibling`).
  • Loading branch information
kbrsh committed Dec 5, 2019
1 parent a2ffd83 commit e7a7cd9ab427be89cb7efee70df86dfe0401d770
@@ -238,7 +238,7 @@
* or a parser error.
*
* @param {string} input
* @returns {Object} abstract syntax tree and end index or ParseError
* @returns {object} abstract syntax tree and end index or ParseError
*/

function parse(input) {
@@ -244,7 +244,7 @@
* or a parser error.
*
* @param {string} input
* @returns {Object} abstract syntax tree and end index or ParseError
* @returns {object} abstract syntax tree and end index or ParseError
*/

function parse(input) {
@@ -290,7 +290,7 @@ const grammar = {
* or a parser error.
*
* @param {string} input
* @returns {Object} abstract syntax tree and end index or ParseError
* @returns {object} abstract syntax tree and end index or ParseError
*/
function parse(input) {
return grammar.main(input, 0);

0 comments on commit e7a7cd9

Please sign in to comment.
You can’t perform that action at this time.