forked from RajneeshVerma/PJS.Bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ResourceManifest.cs
19 lines (16 loc) · 1.1 KB
/
ResourceManifest.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using Orchard.UI.Resources;
namespace PJS.Bootstrap {
public class ResourceManifest : IResourceManifestProvider {
public void BuildManifests(ResourceManifestBuilder builder) {
var manifest = builder.Add();
manifest.DefineScript("Bootstrap").SetUrl("bootstrap-3.3.5/js/bootstrap.min.js", "bootstrap-3.3.5/js/bootstrap.js").SetVersion("3.3.4").SetDependencies("jQuery");
manifest.DefineScript("HoverDropdown").SetUrl("hover-dropdown.js").SetDependencies("Bootstrap");
manifest.DefineScript("Stapel-Modernizr").SetUrl("stapel/modernizr.custom.63321.js");
manifest.DefineScript("Stapel").SetUrl("stapel/jquery.stapel.js").SetDependencies("jQuery", "Stapel-Modernizr");
manifest.DefineScript("prettyPhoto").SetUrl("prettyPhoto/jquery.prettyPhoto.js").SetDependencies("jQuery");
manifest.DefineScript("Custom").SetUrl("custom.js").SetDependencies("jQuery");
manifest.DefineStyle("Stapel").SetUrl("stapel/stapel.css");
manifest.DefineStyle("prettyPhoto").SetUrl("prettyPhoto/prettyPhoto.css");
}
}
}