mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-07 07:34:30 +08:00
Moving Underscore files to a subfolder
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
},
|
||||
{
|
||||
"inputs": [ "Assets/Js/Underscore/underscore.js" ],
|
||||
"output": "Scripts/underscore.js"
|
||||
"output": "Scripts/Underscore/underscore.js"
|
||||
},
|
||||
{
|
||||
"inputs": [ "Assets/Js/History/history.js" ],
|
||||
|
@@ -770,8 +770,8 @@
|
||||
<Content Include="Scripts\Moment\moment.min.js" />
|
||||
<Content Include="Scripts\jQuery.TimeEntry\jquery.timeentry.js" />
|
||||
<Content Include="Scripts\jQuery.TimeEntry\jquery.timeentry.min.js" />
|
||||
<Content Include="Scripts\underscore.js" />
|
||||
<Content Include="Scripts\underscore.min.js" />
|
||||
<Content Include="Scripts\Underscore\underscore.js" />
|
||||
<Content Include="Scripts\Underscore\underscore.min.js" />
|
||||
<Content Include="Scripts\uri.js" />
|
||||
<Content Include="Scripts\uri.min.js" />
|
||||
<Content Include="Styles\Bootstrap\bootstrap-grid.css" />
|
||||
|
@@ -4,7 +4,9 @@ namespace Orchard.Resources.ResourceManifests {
|
||||
public class Underscore : IResourceManifestProvider {
|
||||
public void BuildManifests(ResourceManifestBuilder builder) {
|
||||
var manifest = builder.Add();
|
||||
manifest.DefineScript("Underscore").SetUrl("underscore.min.js", "underscore.js").SetVersion("1.7.0");
|
||||
manifest.DefineScript("Underscore")
|
||||
.SetUrl("Underscore/underscore.min.js", "Underscore/underscore.js")
|
||||
.SetVersion("1.7.0");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user