MCPcopy Create free account
hub / github.com/writefreely/writefreely / movePostHTML

Function movePostHTML

static/js/posts.js:184–190  ·  view source on GitHub ↗
(postID)

Source from the content-addressed store, hash-verified

182 };
183}();
184var movePostHTML = function(postID) {
185 let $tmpl = document.getElementById('move-tmpl');
186 if ($tmpl === null) {
187 return "";
188 }
189 return $tmpl.innerHTML.replace(/POST_ID/g, postID);
190}
191var createPostEl = function(post, owned, singleUser) {
192 var $post = document.createElement('div');
193 let p = H.createPost(post.id, "", post.body)

Callers 1

createPostElFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected