* Run code cleanup * Start manual run * Finish dotnet format + manual cleanup * Fix up after merge * Fix substrings changed to [..] Co-authored-by: Nikolaj Geisle <niko737@edu.ucl.dk> Co-authored-by: Zeegaan <nge@umbraco.dk>
13 lines
266 B
C#
13 lines
266 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace Umbraco.Cms.Web.BackOffice.ActionResults;
|
|
|
|
public class JavaScriptResult : ContentResult
|
|
{
|
|
public JavaScriptResult(string? script)
|
|
{
|
|
Content = script;
|
|
ContentType = "application/javascript";
|
|
}
|
|
}
|