MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / prepare

Function prepare

static/scripts/markitup/jquery.markitup.js:225–230  ·  view source on GitHub ↗
(action)

Source from the content-addressed store, hash-verified

223
224 // prepare action
225 function prepare(action) {
226 if ($.isFunction(action)) {
227 action = action(hash);
228 }
229 return magicMarkups(action);
230 }
231
232 // build block to insert
233 function build(string) {

Callers 2

buildFunction · 0.85
markupFunction · 0.85

Calls 1

magicMarkupsFunction · 0.85

Tested by

no test coverage detected