Creating our own types because we don't want to reference CDF
This commit is contained in:
18
src/Umbraco.Core/Assets/JavascriptFile.cs
Normal file
18
src/Umbraco.Core/Assets/JavascriptFile.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Umbraco.Core.Assets
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a JS asset file
|
||||
/// </summary>
|
||||
public class JavascriptFile : AssetFile
|
||||
{
|
||||
public JavascriptFile(string filePath)
|
||||
: base(AssetType.Javascript)
|
||||
{
|
||||
FilePath = filePath;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user