Skip to content

Commit

Permalink
Fix web demo
Browse files Browse the repository at this point in the history
  • Loading branch information
nmeylan committed Jun 29, 2024
1 parent b0e8dce commit 80b2f3c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Important
**Memory usage**: While this tool allow to edit large json file smoothly, it consumes a lot of memory due to technical decision which tradeoff memory in favor of better performance for navigation, edition and serialization.

[Web demo](https://nmeylan.github.io/json-table-editor/web/)

# Features
## Implemented
- *lag-free* visualisation of large json array: only visible rows and columns are rendered
Expand Down
2 changes: 1 addition & 1 deletion src/array_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ pub struct ArrayTable {
#[cfg(not(target_arch = "wasm32"))]
pub changed_scroll_to_row_value: Option<Instant>,
#[cfg(target_arch = "wasm32")]
pub changed_scroll_to_row_value: Option<InstantWrapper>,
pub changed_scroll_to_row_value: Option<crate::compatibility::InstantWrapper>,

pub editing_index: RefCell<Option<(usize, usize, bool)>>,
pub editing_value: RefCell<String>,
Expand Down
Binary file modified web/json-editor_bg.wasm
Binary file not shown.

0 comments on commit 80b2f3c

Please sign in to comment.