Skip to content

Commit

Permalink
use an object instead of an array for static nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrsh committed Jun 9, 2019
1 parent 06cc9e3 commit 5d5b889
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/moon/dist/moon.js
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@
* Global static component views
*/

var m = [];
var m = {};
/**
* Set old view to a new object.
*
Expand Down
2 changes: 1 addition & 1 deletion packages/moon/dist/moon.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/moon/src/util/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const components = {};
/**
* Global static component views
*/
export const m = [];
export const m = {};

/**
* Set old view to a new object.
Expand Down

0 comments on commit 5d5b889

Please sign in to comment.