MCPcopy Index your code
hub / github.com/hizzgdev/jsmind / save_file

Function save_file

example/2_features.js:107–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105}
106
107function save_file() {
108 var mind_data = _jm.get_data();
109 var mind_name = mind_data.meta.name;
110 var mind_str = jsMind.util.json.json2string(mind_data);
111 jsMind.util.file.save(mind_str, 'text/jsmind', mind_name + '.jm');
112}
113
114function open_file() {
115 var file_input = document.getElementById('file_input');

Callers

nothing calls this directly

Calls 1

get_dataMethod · 0.45

Tested by

no test coverage detected