Sha256: b69c535faa5d40c996ed4570f1aa9d7071d7599c28b34beb7df46ae94c6105fb
Contents?: true
Size: 402 Bytes
Versions: 4
Compression:
Stored size: 402 Bytes
Contents
$(document).ready( function(){ var csrf_token = $('meta[name=csrf-token]').attr('content'); var csrf_param = $('meta[name=csrf-param]').attr('content'); var params; if (csrf_param !== undefined && csrf_token !== undefined) { params = csrf_param + "=" + encodeURIComponent(csrf_token); } $('.redactor').redactor( {"path":"/assets/redactor-rails", "css":"style.css"} ); });
Version data entries
4 entries across 4 versions & 1 rubygems