Code Render Save Save Download View:

JavaScript

HTML

You can jump to the latest bin by adding /latest to your URL

Dismiss x
*/ list($code_id, $revision) = getCodeIdParams($request); $edit_mode = false; if ($code_id) { list($latest_revision, $html, $javascript) = getCode($code_id, $revision); } else { list($html, $javascript) = defaultCode(); } $url = HOST . $code_id . ($revision == 1 ? '' : '/' . $revision); if (!$ajax) { echo 'var template = '; } // doubles as JSON echo '{"url":"' . $url . '","html" : ' . encode($html) . ',"javascript":' . encode($javascript) . '}'; endif ?>