Skip to content

Commit

Permalink
fastn.mutable to fastn.wrapMutable for component arguments and property
Browse files Browse the repository at this point in the history
  • Loading branch information
Arpita-Jaiswal committed Oct 19, 2023
1 parent 754a9f2 commit f503ce8
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions fastn-js/src/to_js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ impl fastn_js::InstantiateComponent {
"{}: {}",
fastn_js::utils::name_to_js_(k),
if *is_mutable {
format!("fastn.mutable({})", value.to_js())
format!("fastn.wrapMutable({})", value.to_js())
} else {
value.to_js()
}
Expand Down Expand Up @@ -517,7 +517,7 @@ impl fastn_js::Component {
local_arguments_dependent.push((argument_name.to_owned(), value.to_owned()));
} else {
let value = if *is_mutable {
format!("fastn.mutable({})", value.to_js())
format!("fastn.wrapMutable({})", value.to_js())
} else {
value.to_js()
};
Expand Down
2 changes: 1 addition & 1 deletion ftd/t/js/05-dynamic-dom-list.html

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

2 changes: 1 addition & 1 deletion ftd/t/js/11-device.html

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

4 changes: 2 additions & 2 deletions ftd/t/js/28-mutable-component-arguments.html

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

2 changes: 1 addition & 1 deletion ftd/t/js/28-web-component.html

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

2 changes: 1 addition & 1 deletion ftd/t/js/29-dom-list.html

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

8 changes: 4 additions & 4 deletions ftd/t/js/30-web-component.html

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

2 changes: 1 addition & 1 deletion ftd/t/js/31-advance-list.html

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

2 changes: 1 addition & 1 deletion ftd/t/js/32-ftd-len.html

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

2 changes: 1 addition & 1 deletion ftd/t/js/34-ftd-ui.html

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

2 changes: 1 addition & 1 deletion ftd/t/js/37-expander.html

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

4 changes: 2 additions & 2 deletions ftd/t/js/52-events.html

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

6 changes: 3 additions & 3 deletions ftd/t/js/67-counter.html

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

0 comments on commit f503ce8

Please sign in to comment.