mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-07 07:34:30 +08:00
Moving Moment JS script to a subfolder
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
},
|
||||
{
|
||||
"inputs": [ "Assets/Js/Moment/moment.js" ],
|
||||
"output": "Scripts/moment.js"
|
||||
"output": "Scripts/Moment/moment.js"
|
||||
},
|
||||
{
|
||||
"inputs": [ "Assets/Js/jQuery.BlockUI/jquery.blockui.js" ],
|
||||
|
@@ -766,8 +766,8 @@
|
||||
<Content Include="Scripts\jQuery\jquery.min.js" />
|
||||
<Content Include="Scripts\Knockout\knockout.js" />
|
||||
<Content Include="Scripts\Knockout\knockout.min.js" />
|
||||
<Content Include="Scripts\moment.js" />
|
||||
<Content Include="Scripts\moment.min.js" />
|
||||
<Content Include="Scripts\Moment\moment.js" />
|
||||
<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" />
|
||||
|
@@ -4,7 +4,9 @@ namespace Orchard.Resources.ResourceManifests {
|
||||
public class Moment : IResourceManifestProvider {
|
||||
public void BuildManifests(ResourceManifestBuilder builder) {
|
||||
var manifest = builder.Add();
|
||||
manifest.DefineScript("Moment").SetUrl("moment.min.js", "moment.js").SetVersion("2.10.6");
|
||||
manifest.DefineScript("Moment")
|
||||
.SetUrl("Moment/moment.min.js", "Moment/moment.js")
|
||||
.SetVersion("2.10.6");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user