16 lines
387 B
Plaintext
16 lines
387 B
Plaintext
%h3= t("layout.projects.files_in_project")
|
|
.files
|
|
.l= render 'whereami'
|
|
= render 'fork'
|
|
.both
|
|
|
|
.file
|
|
.top= render 'top'
|
|
.data= render "render_as_#{@blob.render_as}"
|
|
|
|
:javascript
|
|
$(document).ready(function() {
|
|
var text = $('#code').text().replace(/&/gi, '&');
|
|
CodeMirror.runMode(text, "#{@blob.raw_mime_type.content_type}", document.getElementById("output"));
|
|
});
|