Skip to content

Commit e7a7cd9

Browse files
committed
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`).
1 parent a2ffd83 commit e7a7cd9

14 files changed

Lines changed: 698 additions & 555 deletions

File tree

packages/moon-browser/dist/moon-browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@
238238
* or a parser error.
239239
*
240240
* @param {string} input
241-
* @returns {Object} abstract syntax tree and end index or ParseError
241+
* @returns {object} abstract syntax tree and end index or ParseError
242242
*/
243243

244244
function parse(input) {

packages/moon-compiler/dist/moon-compiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@
244244
* or a parser error.
245245
*
246246
* @param {string} input
247-
* @returns {Object} abstract syntax tree and end index or ParseError
247+
* @returns {object} abstract syntax tree and end index or ParseError
248248
*/
249249

250250
function parse(input) {

packages/moon-compiler/src/parse.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ const grammar = {
290290
* or a parser error.
291291
*
292292
* @param {string} input
293-
* @returns {Object} abstract syntax tree and end index or ParseError
293+
* @returns {object} abstract syntax tree and end index or ParseError
294294
*/
295295
function parse(input) {
296296
return grammar.main(input, 0);

0 commit comments

Comments
 (0)