Skip to content

Commit

Permalink
new view patch children storage
Browse files Browse the repository at this point in the history
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 e7a7cd9
Show file tree
Hide file tree
Showing 14 changed files with 698 additions and 555 deletions.
2 changes: 1 addition & 1 deletion packages/moon-browser/dist/moon-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion packages/moon-compiler/dist/moon-compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion packages/moon-compiler/src/parse.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Loading

0 comments on commit e7a7cd9

Please sign in to comment.