/// <summary> /// Determines if the virtual path is to a bundle /// </summary> /// <param name="virtualPath">Virtual path of bundle</param> /// <returns>Result of check (true - is virtual path; false - is not virtual path)</returns> public bool IsBundleVirtualPath(string virtualPath) { if (ValidateVirtualPath(virtualPath, "virtualPath") != null) { return(false); } return(_bundles.GetBundleFor(virtualPath) != null); }
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle("~/bundles/jquery").Include( "~/Scripts/jquery-{version}.js")); bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include( "~/Scripts/jquery-ui-{version}.js")); bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include( "~/Scripts/jquery.unobtrusive*", "~/Scripts/jquery.validate*")); // Use the development version of Modernizr to develop with and learn from. Then, when you're // ready for production, use the build tool at http://modernizr.com to pick only the tests you need. bundles.Add(new ScriptBundle("~/bundles/modernizr").Include( "~/Scripts/modernizr-*")); bundles.Add(new ScriptBundle("~/bundles/igniteui").IncludeDirectory( "~/IgniteUI/js/", "infragistics.*")); bundles.Add(new ScriptBundle("~/bundles/autosales").Include("~/Scripts/i18n/" + System.Configuration.ConfigurationManager.AppSettings["language"] + "/resources.js")); bundles.GetBundleFor("~/bundles/autosales").IncludeDirectory( "~/Scripts/", "app/*"); }
public void RegisterBundlesTest() { BundleCollection bc = new BundleCollection(); BundleConfig.RegisterBundles(bc); Assert.IsNotNull(bc); var bundle = bc.GetBundleFor("~/bundles/jquery"); Assert.IsNotNull(bundle); }
/// <summary> /// </summary> /// <param name="bundleCollection"></param> /// <seealso href="http://www.jefclaes.be/2012/02/aspnet-mvc4-bundling-in-aspnet-mvc3.html?m=1"/> /// <seealso href="http://www.davidhayden.me/blog/asp.net-mvc-4-bundling-and-minification"/> public static void EnableDebugAwareDefaultBundles(this BundleCollection bundleCollection) { BundleTable.Bundles.RegisterTemplateBundles(); var cssBundle = bundleCollection.GetBundleFor("~/Content/css"); cssBundle.AddDirectory("~/Content", "*.css"); var jsBundle = bundleCollection.GetBundleFor("~/Scripts/js"); jsBundle.AddDirectory("~/Scripts", "*.js"); #if DEBUG cssBundle.Transform = new NoTransform("text/css"); jsBundle.Transform = new NoTransform("text/javascript"); #endif }
public void RegisterBundles_ForStyles(String path) { BundleCollection bundles = new BundleCollection(); new BundleConfig().RegisterBundles(bundles); Assert.IsType <StyleBundle>(bundles.GetBundleFor(path)); }
public void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Scheduling/Scheduling") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralClientInformationService.js") .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/controllers/appointmentController.js") .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/controllers/appointmentDetailController.js") .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/services/appointmentService.js") .Include("~/Scripts/app/filters/timeFilters.js") .Include("~/Scripts/app/directives/toTime.js") .Include("~/Scripts/plugins/owl.carousel.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Scheduling/Calendar") .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/controllers/calendarController.js") .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/services/appointmentService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js") .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/services/groupSchedulingSearchService.js") .Include("~/Scripts/app/services/navigationService.js") .Include("~/Scripts/app/filters/timeFilters.js") .Include("~/Scripts/app/directives/toTime.js") .Include("~/Scripts/plugins/owl.carousel.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Scheduling/GroupSchedulingSearch") .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/controllers/groupSchedulingSearchController.js") .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/services/groupSchedulingSearchService.js") .Include("~/Scripts/app/directives/breadcrumbs.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Scheduling/GroupSchedulingNavigation") .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/controllers/groupScheduleNavigationController.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Scheduling/GroupScheduling") .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/controllers/groupSchedulingController.js") .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/services/groupSchedulingService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/clientSearchService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Scheduling/GroupNote") .Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/controllers/groupNoteController.js") .Include("~/Areas/Admin/Scripts/app/services/userDetailService.js") .Include("~/Plugins/Axis.Plugins.ESignature/Scripts/app/services/eSignatureService.js") ); var angularBundle = bundles.GetBundleFor("~/bundles/angular"); if (angularBundle != null) { if (bundles.Remove(angularBundle)) { angularBundle.Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/app.js"); angularBundle.Include("~/Plugins/Axis.Plugins.Scheduling/Scripts/app/services/appointmentService.js"); bundles.Add(angularBundle); }//TODO: Else, scream as loud as you can! } }
public static void RegisterBundles(BundleCollection bundles) { /* This configuration assumes you want to extend, override or add to the default scripts and styles * To start over from scratch instead, call bundles.Clear(); at the top of this method. */ // If you need to load scripts in a specific order, use scriptBundle.Include instead of scriptBundle.IncludeDirectory var scriptBundle = bundles.GetBundleFor(Atomia.Store.Themes.Default.BundleConfig.DEFAULT_SCRIPTS_BUNDLE); scriptBundle.IncludeDirectory("~/Themes/$MyTheme$/Scripts", "*.js"); var styleBundle = bundles.GetBundleFor(Atomia.Store.Themes.Default.BundleConfig.DEFAULT_STYLES_BUNDLE); styleBundle.Include("~/Themes/$MyTheme$/Content/css/theme.css"); // Re-register bundles bundles.Clear(); bundles.Add(scriptBundle); bundles.Add(styleBundle); }
/// <summary> /// Registers the bundles. For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725 /// </summary> /// <param name="bundles">The bundles.</param> public static void RegisterBundles(BundleCollection bundles) { bundles.UseCdn = true; Common.BundleConfig.RegisterBundles(bundles); bundles.Remove(bundles.GetBundleFor("~/bundles/nas")); bundles.Add(new ScriptBundle("~/bundles/nas").Include( "~/Content/_assets/js/nas/validationscripts.js", "~/Content/_assets/js/nas/headerContext.js", "~/Content/_assets/js/nas/webTrendsInlineTrack.js")); bundles.Add(new ScriptBundle("~/bundles/nascript").Include( "~/Content/_assets/js/scripts.js")); bundles.Add(new ScriptBundle("~/bundles/vendor").Include( "~/Content/_assets/js/vendor/jquery.validate.js", "~/Content/_assets/js/vendor/jquery.validate.unobtrusive.custom.js")); bundles.Add(new ScriptBundle("~/bundles/knockout").Include( "~/Content/_assets/js/vendor/knockout-3.1.0.js", "~/Content/_assets/js/vendor/knockout.validation.js")); bundles.Add(new ScriptBundle("~/bundles/nas/passwordstrength").Include( "~/Content/_assets/js/vendor/zxcvbn-async.js")); bundles.Add(new ScriptBundle("~/bundles/nas/application").Include( "~/Content/_assets/js/nas/application/applicationform.js", "~/Content/_assets/js/nas/application/dirtyFormDialog.js")); bundles.Add(new ScriptBundle("~/bundles/nas/account").Include( "~/Content/_assets/js/vendor/jquery-ui-1.10.4.custom.min.js", "~/Content/_assets/js/nas/lookupService.js")); bundles.Add(new ScriptBundle("~/bundles/nas/locationsearch").Include( "~/Content/_assets/js/vendor/jquery-ui-1.10.4.custom.min.js", "~/Content/_assets/js/nas/locationAutocomplete.js", "~/Content/_assets/js/nas/refineSearch.js")); bundles.Add(new ScriptBundle("~/bundles/nas/results").Include( "~/Content/_assets/js/nas/resultsSearch.js", "~/Content/_assets/js/nas/apprenticeships/saveVacancy.js", "~/Content/_assets/js/vendor/jquery.lazy-load-google-maps.js", "~/Content/_assets/js/nas/resultsMap.js")); bundles.Add(new ScriptBundle("~/bundles/nas/details").Include( "~/Content/_assets/js/nas/apprenticeships/saveVacancy.js")); bundles.Add(new ScriptBundle("~/bundles/nas/geoLocater").Include( "~/Content/_assets/js/nas/geoLocater.js")); bundles.Add(new ScriptBundle("~/bundles/nas/search").Include( "~/Content/_assets/js/nas/searchTour.js")); }
public static void RegisterBundles(BundleCollection bundles) { var bundle = bundles.GetBundleFor("~/Bundles/App/Main/plugins/js"); if (bundle == null) { bundle = new ScriptBundle("~/Bundles/App/Main/plugins/js"); bundles.Add(bundle); } bundle.Include("~/Plugins/PluginTemplate/pluginTemplate.js"); bundle.Include("~/Plugins/PluginTemplate/pluginTemplateConfigRouter.js"); }
public static void RegisterBundles(BundleCollection bundles) { //APPLICATION var cssBundle = bundles.GetBundleFor("~/Embedded/App/css"); bundles.Add( cssBundle != null ? cssBundle.Include("~/App/settings.css") : new StyleBundle("~/Embedded/App/css") .Include("~/App/settings.css") ); var jsBundle = bundles.GetBundleFor("~/Embedded/App/js"); bundles.Add( jsBundle != null ? jsBundle.Include("~/App/settings.js") : new ScriptBundle("~/Embedded/App/js") .Include("~/App/settings.js") ); }
// バンドルの詳細については、http://go.microsoft.com/fwlink/?LinkId=301862 を参照してください public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle("~/bundles/jquery") .Include("~/Scripts/jquery-{version}.js", "~/Scripts/jquery.unobtrusive-ajax.js", "~/Scripts/jquery.signalR-{version}.js")); bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include( "~/Scripts/jquery.validate*")); bundles.Add(new ScriptBundle("~/bundles/blockui").Include( "~/Scripts/jquery.blockUI*")); // 開発と学習には、Modernizr の開発バージョンを使用します。次に、実稼働の準備が // できたら、http://modernizr.com にあるビルド ツールを使用して、必要なテストのみを選択します。 bundles.Add(new ScriptBundle("~/bundles/modernizr").Include( "~/Scripts/modernizr-*")); bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include( "~/Scripts/bootstrap.js", "~/Scripts/respond.js")); //CSSを変更すると、リアルタイム更新をする bundles.Add(new ScriptBundle("~/Content/cssrefresh").Include( "~/Scripts/cssrefresh.js")); bundles.Add(new ScriptBundle("~/bundles/datatable").Include( "~/Scripts/jquery.dataTables.min.js")); bundles.Add(new ScriptBundle("~/Content/datatable").Include( "~/Content/jquery.dataTables.css")); bundles.Add(new StyleBundle("~/Content/css").Include( "~/Content/normalize-{version}", "~/Content/bootstrap.css", "~/Content/site.css")); #if DEBUG bundles.GetBundleFor("~/Content/css").Include("~/Content/debug-color.css"); #endif bundles.Add(new StyleBundle("~/Content/menu").Include("~/Content/menu.css")); bundles.Add(new ScriptBundle("~/bundles/menu").Include("~/Scripts/menu.js")); //自作カレンダー bundles.Add(new StyleBundle("~/Content/calendar").Include( "~/Content/calendar.css")); }
public void RegisterBundles_ForStyles() { String[] expectedBundles = { "~/Content/Bootstrap/Bundle", "~/Content/JQueryUI/Bundle", "~/Content/FontAwesome/Bundle", "~/Content/MvcGrid/Bundle", "~/Content/JsTree/Bundle", "~/Content/Datalist/Bundle", "~/Content/Shared/Bundle" }; BundleCollection bundles = new BundleCollection(); config.RegisterBundles(bundles); foreach (String path in expectedBundles) Assert.IsType<StyleBundle>(bundles.GetBundleFor(path)); }
public void RegisterBundles_ForScripts() { String[] expectedBundles = { "~/Scripts/JQuery/Bundle", "~/Scripts/Bootstrap/Bundle", "~/Scripts/JQueryUI/Bundle", "~/Scripts/MvcGrid/Bundle", "~/Scripts/JsTree/Bundle", "~/Scripts/Datalist/Bundle", "~/Scripts/Shared/Bundle" }; BundleCollection bundles = new BundleCollection(); config.RegisterBundles(bundles); foreach (String path in expectedBundles) Assert.IsType<ScriptBundle>(bundles.GetBundleFor(path)); }
public void RegisterBundles_RegistersStyleBundles() { String[] expectedBundles = { "~/Content/Bootstrap/Bundle", "~/Content/JQueryUI/Bundle", "~/Content/FontAwesome/Bundle", "~/Content/MvcGrid/Bundle", "~/Content/JsTree/Bundle", "~/Content/Datalist/Bundle", "~/Content/Shared/Bundle" }; BundleCollection bundles = new BundleCollection(); config.RegisterBundles(bundles); foreach (String path in expectedBundles) Assert.IsType<StyleBundle>(bundles.GetBundleFor(path)); }
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle("~/bundles/jquery").Include( "~/Scripts/jquery-{version}.js")); bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include( "~/Scripts/jquery.validate*")); // Use the development version of Modernizr to develop with and learn from. Then, when you're // ready for production, use the build tool at http://modernizr.com to pick only the tests you need. bundles.Add(new ScriptBundle("~/bundles/modernizr").Include( "~/Scripts/modernizr-*")); bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include( "~/Scripts/bootstrap.js", "~/Scripts/respond.js")); bundles.Add(new StyleBundle("~/Content/css").Include( "~/Content/bootstrap.css", "~/Content/site.css")); bundles.Add(new StyleBundle("~/Assets/css").Include( "~/App_Assets/css/bootstrap.css", "~/App_Assets/css/se7en-font.css", "~/App_Assets/css/style.css", "~/App_Assets/css/qiyas.css")); var bundle = bundles.GetBundleFor("~/bundles/jqueryval"); bundle.Include("~/Scripts/globalize/cultures/globalize.culture." + System.Threading.Thread.CurrentThread.CurrentCulture + ".js"); bundle.Include("~/Scripts/globalize/globalize.validation.js"); bundles.Add(new ScriptBundle("~/bundles/validation").Include( "~/Scripts/globalize/cultures/globalize.culture." + System.Threading.Thread.CurrentThread.CurrentCulture + ".js", "~/Scripts/jquery.validate.js", "~/Scripts/jquery.validate.globalize.js", "~/Scripts/jquery.validate.unobtrusive.js", "~/Scripts/globalize/globalize.validation.js")); }
public static void LocalizationStyle(this BundleCollection bundles, HttpContext ctx, string bundlePattern, params string[] searchPatterns) { //Create culture specific bundles which contain the JavaScript files that should be served for each culture foreach (var culture in CultureInfo.GetCultures(CultureTypes.AllCultures)) { string bundleVirtualPath = string.Format(bundlePattern, culture.Name); Bundle bundle = bundles.GetBundleFor(bundleVirtualPath); if (bundle == null) { bundle = new ScriptBundle(bundleVirtualPath); bundles.Add(bundle); } foreach (string pattern in searchPatterns) { string filePath = DetermineCultureFile(ctx, culture, pattern); if (!string.IsNullOrEmpty(filePath)) { bundle.Include(filePath); } } } }
public void RegisterBundles_RegistersScriptBundles() { String[] expectedBundles = { "~/Scripts/JQuery/Bundle", "~/Scripts/Bootstrap/Bundle", "~/Scripts/JQueryUI/Bundle", "~/Scripts/Globalize/Bundle", "~/Scripts/GridMvc/Bundle", "~/Scripts/JsTree/Bundle", "~/Scripts/Datalist/Bundle", "~/Scripts/Shared/Bundle" }; BundleCollection bundles = new BundleCollection(); BundleConfig.RegisterBundles(bundles); Type expected = typeof(ScriptBundle); foreach (String path in expectedBundles) { Assert.IsInstanceOf(expected, bundles.GetBundleFor(path)); } }
private static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle("~/js/ko") .Include( "~/Scripts/libs/knockout-2.2.1.js", "~/Scripts/libs/knockout.mapping-latest.js")); bundles.Add(new ScriptBundle("~/js/libs") .Include( "~/Scripts/libs/json2.js", "~/Scripts/libs/jquery-1.9.1.js", "~/Scripts/libs/md5.js", "~/Scripts/libs/underscore.js", "~/Scripts/libs/*.jquery.js")); bundles.Add(new ScriptBundle("~/js/signalr") .Include("~/Scripts/libs/jquery.signalR-1.0.1.js")); bundles.Add(new ScriptBundle("~/js/main") .Include("~/Scripts/*.js", "~/Scripts/Models/*.js")); bundles.GetBundleFor("~/js/main").Transforms.Clear(); }
public void RegisterBundles_RegistersStyleBundles() { String[] expectedBundles = { "~/Content/Bootstrap/Bundle", "~/Content/JQueryUI/Bundle", "~/Content/FontAwesome/Bundle", "~/Content/GridMvc/Bundle", "~/Content/JsTree/Bundle", "~/Content/Datalist/Bundle", "~/Content/Auth/Bundle", "~/Content/Shared/Bundle" }; BundleCollection bundles = new BundleCollection(); BundleConfig.RegisterBundles(bundles); Type expected = typeof(StyleBundle); foreach (String path in expectedBundles) { Assert.IsInstanceOf(expected, bundles.GetBundleFor(path)); } }
public void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ReportingServices/ReportingServices") .Include( "~/Plugins/Axis.Plugins.ReportingServices/Scripts/app/controllers/ListReportsController.js", "~/Plugins/Axis.Plugins.ReportingServices/Scripts/app/controllers/ReportsController.js", "~/Plugins/Axis.Plugins.ReportingServices/Scripts/app/services/reportingService.js", "~/Plugins/Axis.Plugins.ReportingServices/Scripts/app/directives/ssrsParams.js", "~/Plugins/Axis.Plugins.ReportingServices/Scripts/MvcReportViewer.js", "~/Plugins/Axis.Plugins.ReportingServices/Scripts/url.js", "~/Scripts/app/directives/breadcrumbs.js" )); var angularBundle = bundles.GetBundleFor("~/bundles/angular"); if (angularBundle != null) { if (bundles.Remove(angularBundle)) { angularBundle.Include("~/Plugins/Axis.Plugins.ReportingServices/Scripts/app/app.js"); bundles.Add(angularBundle); } } }
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle("~/bundles/jquery").Include( "~/Scripts/jquery-{version}.js")); bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include( "~/Scripts/jquery.validate*")); // Use the development version of Modernizr to develop with and learn from. Then, when you're // ready for production, use the build tool at http://modernizr.com to pick only the tests you need. bundles.Add(new ScriptBundle("~/bundles/modernizr").Include( "~/Scripts/modernizr-*")); bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include( "~/Scripts/bootstrap.js", "~/Scripts/respond.js")); bundles.Add(new StyleBundle("~/bundles/css/site") .Include("~/Content/bootstrap.css", "~/Content/base.less")); bundles.GetBundleFor("~/bundles/css/site") .Transforms.Add(new StyleTransformer()); }
// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles(BundleCollection bundles) { bundles.Add(new StyleBundle("~/bundles/home-page-layout-css") .Include("~/Content/Site/less/css/home-page-layout.css")); bundles.Add(new ScriptBundle("~/bundles/home-page-layout-js") .Include("~/Content/Site/js/error-handler.js", "~/Content/Site/js/utils.js", "~/Content/Site/js/common.js", "~/Content/Site/js/home-page-layout.js")); bundles.Add(new StyleBundle("~/bundles/centered-layout-css") .Include("~/Content/Site/less/css/centered-layout.css")); bundles.Add(new ScriptBundle("~/bundles/centered-layout-js") .Include("~/Content/Site/js/error-handler.js", "~/Content/Site/js/utils.js", "~/Content/Site/js/common.js", "~/Content/Site/js/centered-layout.js")); bundles.Add(new StyleBundle("~/bundles/submenu-layout-css") .Include("~/Content/Site/less/css/submenu-layout.css")); bundles.Add(new ScriptBundle("~/bundles/submenu-layout-js") .Include("~/Content/Site/js/error-handler.js", "~/Content/Site/js/utils.js", "~/Content/Site/js/common.js", "~/Content/Site/js/submenu-layout.js")); bundles.Add(new StyleBundle("~/bundles/blog-layout-css") .Include("~/Content/Site/less/css/blog-layout.css")); bundles.Add(new ScriptBundle("~/bundles/blog-layout-js") .Include("~/Content/Site/js/error-handler.js", "~/Content/Site/js/utils.js", "~/Content/Site/js/common.js", "~/Areas/Blog/Scripts/blog-layout.js")); // Pages bundles.Add(new StyleBundle("~/bundles/fiddle-styles") .Include("~/Content/Site/less/css/fiddle-styles.css")); bundles.Add(new ScriptBundle("~/bundles/fiddle-scripts") .Include("~/Content/Site/js/fiddle-script.js")); bundles.Add(new StyleBundle("~/bundles/form-data-styles") .Include("~/Content/Site/less/css/form-data.css")); bundles.Add(new ScriptBundle("~/bundles/form-data-validation") .Include("~/Content/jQuery/jquery.unobtrusive-ajax.js", "~/Content/jQuery/jquery.validate.js", "~/Content/jQuery/jquery.validate.unobtrusive.js")); bundles.Add(new ScriptBundle("~/bundles/blog/all-posts") .Include("~/Areas/Blog/Scripts/AllPosts.Api.js", "~/Areas/Blog/Scripts/AllPosts.VM.js", "~/Areas/Blog/Scripts/AllPosts.Controller.js")); //#if DEBUG bundles.GetBundleFor("~/bundles/home-page-layout-js").Include("~/Content/Site/js/debug-only.js"); bundles.GetBundleFor("~/bundles/centered-layout-js").Include("~/Content/Site/js/debug-only.js"); bundles.GetBundleFor("~/bundles/submenu-layout-js").Include("~/Content/Site/js/debug-only.js"); bundles.GetBundleFor("~/bundles/blog-layout-js").Include("~/Content/Site/js/debug-only.js"); //#endif #if LOCAL // && DEBUG BundleTable.EnableOptimizations = false; #else BundleTable.EnableOptimizations = true; #endif bundles.Add(new StyleBundle("~/bundles/bootstrap-fontawesome-css") .Include("~/Content/Bootstrap/less/css/bootstrap.css", "~/Content/Bootstrap/font-awesome/css/font-awesome.css")); bundles.Add(new ScriptBundle("~/bundles/jquery").Include( "~/Content/jQuery/jquery-{version}.js")); bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include( "~/Content/jQuery/jquery.validate*")); // Use the development version of Modernizr to develop with and learn from. Then, when you're // ready for production, use the build tool at http://modernizr.com to pick only the tests you need. bundles.Add(new ScriptBundle("~/bundles/modernizr").Include( "~/Content/jQuery/modernizr-*")); bundles.Add(new ScriptBundle("~/bundles/jQuery-js") .Include("~/Content/jQuery/jquery-{version}.js", "~/Content/jQuery/jquery-migrate-{version}.js")); bundles.Add(new ScriptBundle("~/bundles/jQuery-ui-js") .Include("~/Content/jQuery/jquery-ui-{version}.js")); bundles.Add(new ScriptBundle("~/bundles/linq-js") .Include("~/Content/jQuery/linq.js")); bundles.Add(new ScriptBundle("~/bundles/knockout-js") .Include("~/Content/KnockoutJs/knockout-{version}.js")); bundles.Add(new ScriptBundle("~/bundles/bootstrap-js") .Include("~/Content/Bootstrap/js/bootstrap.js")); }
/// <summary> /// Returns true if a bundle with the passed in name exists. /// </summary> public bool Exists(string bundleName) { return(_bundles.GetBundleFor(bundleName) != null); }
void RegisterBundles(BundleCollection bundles) { // CSS const string cssPath = "~/css/"; var cssFiles = new List <string> { "vendor/normalize.css", // Should be before base.css "vendor/bootstrap.css", "vendor/jquery.auto-complete.css", // Stylesheet for search "vendor/bootstrap-datetimepicker.css", "Bundled.css", "print.css" }.Select(cssFile => cssPath + cssFile).ToArray(); // Add CSS-path var styleBundle = bundles.GetBundleFor("~/bundles/styles"); if (styleBundle == null) { // Always null initially (if no plugin adds files) styleBundle = new StyleBundle("~/bundles/styles").Include(cssFiles); } else { // If bundle is initialized in a plugin - it's NOT null (like in this case) styleBundle.Include(cssFiles); } styleBundle.Orderer = Bundles.AsIsBundleOrderer; bundles.Add(styleBundle); // Scripts const string scriptsPath = "~/scripts/"; var jsFiles = new List <string> { "vendor/jquery-1.11.2.min.js", "vendor/modernizr.js", "vendor/js-cookie.2.0.js", "vendor/jquery.highlight.js", // Script for search "vendor/jquery.auto-complete.js", // Script for search "vendor/jquery.validate-vsdoc.js", "vendor/jquery.validate.min.js", "vendor/jquery.validate.unobtrusive.min.js", "vendor/jquery.unobtrusive-ajax.js", "vendor/expressive.annotations.validate.min.js", "vendor/bootstrap-datetimepicker.min.js", "main.js", "nav.js", "helper.js", "video.js", "cookie-warning.js", "faq.js", "data-uniform-image-height.js" }.Select(jsFile => scriptsPath + jsFile).ToArray(); // Add scripts-path; var scriptBundle = new ScriptBundle("~/bundles/scripts").Include(jsFiles); scriptBundle.Orderer = Bundles.AsIsBundleOrderer; bundles.Add(scriptBundle); var ltIe9Files = new List <string> { "vendor/ltie9/html5shiv.js", "vendor/ltie9/respond.min.js" //Polyfill for media-queries. Needed for the bootstrap grid to function correctly. }.Select(jsFile => scriptsPath + jsFile).ToArray(); bundles.Add(new ScriptBundle("~/bundles/ltIe9Scripts").Include(ltIe9Files)); }
public static void RegisterBundles(BundleCollection bundles) { // for anonymous users bundles.Add(new StyleBundle("~/Content/Auto/css").Include( "~/Content/Auto/*.css") ); bundles.Add(new ScriptBundle("~/Scripts/Auto/js").Include( "~/Scripts/Auto/*.js") ); // for authenticated users bundles.Add(new StyleBundle("~/Content/Auto/cssauth").Include( "~/Content/Auto/*.css", "~/Modules/QuickNotes/Qnotes.css") ); bundles.Add(new ScriptBundle("~/Scripts/Auto/jsauth").Include( "~/Scripts/Auto/*.js") ); // syntax highlighter var shRoot = "~/scripts/syntaxhighlighter/"; bundles.Add(new StyleBundle("~/Content/highlighter").Include( shRoot + "styles/shCore.css", shRoot + "styles/shThemeDefault.css") ); bundles.Add(new ScriptBundle("~/Scripts/highlighter").Include( shRoot + "scripts/XRegExp.js", shRoot + "scripts/shCore.js", shRoot + "scripts/shAutoloader.js", shRoot + "shActivator.js") ); // syntax FileManager bundles.Add(new StyleBundle("~/Content/filemanager").Include( "~/admin/FileManager/FileManager.css", "~/admin/uploadify/uploadify.css", "~/admin/FileManager/jqueryui/jquery-ui.css", "~/admin/FileManager/JCrop/css/jquery.Jcrop.css") ); bundles.Add(new ScriptBundle("~/Scripts/filemanager").Include( "~/admin/uploadify/swfobject.js", "~/admin/uploadify/jquery.uploadify.v2.1.4.min.js", "~/admin/FileManager/jqueryui/jquery-ui.min.js", "~/admin/FileManager/jquery.jeegoocontext.min.js", "~/admin/FileManager/JCrop/js/jquery.Jcrop.min.js", "~/admin/FileManager/FileManager-mini.js") ); // new admin bundles bundles.IgnoreList.Clear(); AddDefaultIgnorePatterns(bundles.IgnoreList); bundles.Add( new StyleBundle("~/Content/css") .Include("~/Content/ie10mobile.css") .Include("~/Content/bootstrap.min.css") .Include("~/Content/toastr.css") .Include("~/Content/font-awesome.min.css") .Include("~/Content/editor.css") .Include("~/Content/app.css") .Include("~/editors/summernote/summernote.css") ); bundles.Add( new ScriptBundle("~/scripts/blogadmin") .Include("~/scripts/jquery-2.1.1.js") .Include("~/scripts/jquery.form.js") .Include("~/scripts/jquery.validate.js") .Include("~/scripts/toastr.js") .Include("~/scripts/Q.js") .Include("~/Scripts/angular.min.js") .Include("~/Scripts/angular-route.min.js") .Include("~/Scripts/angular-animate.min.js") .Include("~/Scripts/angular-sanitize.min.js") .Include("~/admin/be-grid.js") .Include("~/admin/app.js") .Include("~/admin/controllers/dashboard.js") .Include("~/admin/controllers/blogs.js") .Include("~/admin/controllers/posts.js") .Include("~/admin/controllers/pages.js") .Include("~/admin/controllers/tags.js") .Include("~/admin/controllers/categories.js") .Include("~/admin/controllers/files.js") .Include("~/admin/controllers/comments.js") .Include("~/admin/controllers/users.js") .Include("~/admin/controllers/roles.js") .Include("~/admin/controllers/profile.js") .Include("~/admin/controllers/settings.js") .Include("~/admin/controllers/tools.js") .Include("~/admin/controllers/commentfilters.js") .Include("~/admin/controllers/blogroll.js") .Include("~/admin/controllers/pings.js") .Include("~/admin/controllers/packages.js") .Include("~/admin/controllers/common.js") .Include("~/admin/services.js") .Include("~/scripts/bootstrap.js") .Include("~/scripts/moment.js") .Include("~/editors/summernote/summernote.js") ); bundles.Add( new ScriptBundle("~/scripts/wysiwyg") .Include("~/scripts/jquery-2.1.1.js") .Include("~/scripts/jquery.form.js") .Include("~/scripts/jquery.validate.js") .Include("~/scripts/toastr.js") .Include("~/scripts/Q.js") .Include("~/Scripts/angular.min.js") .Include("~/Scripts/angular-route.min.js") .Include("~/Scripts/angular-animate.min.js") .Include("~/Scripts/angular-sanitize.min.js") .Include("~/scripts/bootstrap.js") .Include("~/scripts/textext.js") .Include("~/scripts/moment.js") .Include("~/admin/app.js") .Include("~/admin/editor/editor.js") .Include("~/admin/editor/postcontroller.js") .Include("~/admin/editor/pagecontroller.js") .Include("~/admin/be-grid.js") .Include("~/admin/controllers/files.js") .Include("~/admin/services.js") ); if (BlogConfig.DefaultEditor == "~/editors/bootstrap-wysiwyg/editor.cshtml") { bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/editors/bootstrap-wysiwyg/jquery.hotkeys.js"); bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/editors/bootstrap-wysiwyg/bootstrap-wysiwyg.js"); bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/editors/bootstrap-wysiwyg/editor.js"); } if (BlogConfig.DefaultEditor == "~/editors/tinymce/editor.cshtml") { // tinymce plugings will not load when scripts compressed, do nothing //bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/editors/tinymce/tinymce.min.js"); //bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/editors/tinymce/editor.js"); } else { bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/editors/summernote/summernote.js"); // change language here if needed //bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/editors/summernote/lang/summernote-ru-RU.js"); bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/editors/summernote/editor.js"); } }
public void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/ECIRegistration") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/eciRegistrationController.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/ECIDemographic") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/eciDemographicController.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciDemographicService.js") //services needed for the initial navigation validation states under eci registration .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciAdditionalDemographicService.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/referralAdditionalDetailService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/collateralService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactBenefitService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialAssessmentService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAliasService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/ECIAdditionalDemographic") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/eciAdditionalDemographicController.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciAdditionalDemographicService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRaceService.js") .Include("~/Scripts/app/controllers/raceDetailsController.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/Screening") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/screeningController.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/screeningService.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/directives/screeningNavigation.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/EligibilityDetermination") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/eligibilityDeterminationController.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eligibilityDeterminationService.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciDemographicService.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eligibilityCalculationService.js") .Include("~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/topazSignature.js") .Include("~/Plugins/Axis.Plugins.ESignature/Scripts/Topaz/SigWebTablet.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/EligibilityCalculation") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/eligibilityCalculationController.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eligibilityCalculationService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/IFSP") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/ifspController.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/ifspService.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eligibilityDeterminationService.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/directives/ifspNavigation.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/collateralService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/ProgressNote") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/controllers/progressNoteController.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/progressNoteService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.ECI/Referral") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralDetailController.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralAdditionalDetailService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralConcernDetailService.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciDemographicService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralHeaderService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactEmailService.js") ); var angularBundle = bundles.GetBundleFor("~/bundles/angular"); if (angularBundle != null && bundles.Remove(angularBundle)) { angularBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/app.js"); bundles.Add(angularBundle); } var tileBundle = bundles.GetBundleFor("~/bundles/tileController"); if (tileBundle != null && bundles.Remove(tileBundle)) { tileBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/screeningService.js"); tileBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eligibilityDeterminationService.js"); tileBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/ifspService.js"); tileBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciTileService.js"); tileBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/progressNoteService.js"); bundles.Add(tileBundle); } //Inject the ECI services needed by client search for downloading a client's data for offline use var clientSearchBundle = bundles.GetBundleFor("~/bundles/Plugins/Axis.Plugins.Registration/ClientSearch"); if (clientSearchBundle != null && bundles.Remove(clientSearchBundle)) { clientSearchBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/screeningService.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eligibilityDeterminationService.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eligibilityCalculationService.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/ifspService.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciDemographicService.js") .Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciAdditionalDemographicService.js"); bundles.Add(clientSearchBundle); } var consentDetailBundle = bundles.GetBundleFor("~/bundles/consentDetails"); if (consentDetailBundle != null && bundles.Remove(consentDetailBundle)) { consentDetailBundle.Include("~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciAdditionalDemographicService.js"); bundles.Add(consentDetailBundle); } }
public void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/LawLiaisonSummary") .Include("~/Areas/BusinessAdmin/Scripts/app/services/organizationStructureService.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callCenterAssessmentPrintService.js") .Include("~/Scripts/app/services/serviceRecordingService.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/lawLiaisonSummaryController.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/lawLiaisonSummaryService.js") .Include("~/Areas/RecordedServices/Scripts/app/services/voidService.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/lawLiaisonFollowUpService.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callerInformationService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callCenterProgressNoteService.js") .Include("~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/CrisisLineSummary") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/crisisLineSummaryController.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/crisisLineSummaryService.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callerInformationService.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/crisisLineFollowUpService.js") .Include("~/Areas/RecordedServices/Scripts/app/services/voidService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/CallCenter") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/callCenterCrisislineController.js", "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/callCenterLawliaisonController.js", "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callerInformationService.js", "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callCenterProgressNoteService.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/services/eSignatureService.js", "~/Scripts/app/services/serviceRecordingService.js", "~/Areas/BusinessAdmin/Scripts/app/services/organizationStructureService.js", "~/Areas/Admin/Scripts/app/services/userPhotoService.js", "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js", "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callCenterAssessmentPrintService.js")); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/ColumbiaSuicideScale") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/columbiaSuicideScaleController.js") .Include("~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js") ); bundles.Add(new ScriptBundle("~/bundles/QuickRegistration") .Include("~/Scripts/app/controllers/quickRegistrationController.js") .Include("~/Scripts/app/controllers/raceDetailsController.js") .Include("~/Scripts/app/directives/quickRegistrationFlyout.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/callCenterQuickRegistrationController.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRaceService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/admissionService.js") ); bundles.Add(new ScriptBundle("~/bundles/Signature") .Include("~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/eSignature.js") .Include("~/Plugins/Axis.Plugins.ESignature/Scripts/Topaz/SigWebTablet.js") .Include("~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/jSignature.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/CrisisAssessment") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/crisisAssessmentController.js", "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js")); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/AdultScreening") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/adultScreeningController.js", "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js")); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/ChildScreening") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/childScreeningController.js", "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js")); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/LawLiaisonscreening") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/lawLiaisonscreeningController.js", "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js", "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/lawLiaisonscreeningService.js")); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/CallerInformation") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/callerInformationController.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/contactSearchDirective.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callerInformationService.js") .Include("~/Scripts/app/directives/breadcrumbs.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/directives/duplicateContactDetection.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/CallCenterProgressNote") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/callCenterProgressNoteController.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callCenterProgressNoteService.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callerInformationService.js") .Include("~/Scripts/app/services/contactSSNService.js") .Include("~/Areas/Account/Scripts/app/services/userProfileService.js") .Include("~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/CallCenterReport").Include( "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/callCenterReportController.js", "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js", "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callCenterAssessmentPrintService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.CallCenter/LawLiaisonEnforcement") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/lawLiaisonEnforcementController.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/services/callerInformationService.js") .Include("~/Scripts/app/directives/breadcrumbs.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/directives/programInfo.js") .Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/directives/duplicateContactDetection.js") ); var angularBundle = bundles.GetBundleFor("~/bundles/angular"); if (angularBundle != null) { if (bundles.Remove(angularBundle)) { angularBundle.Include("~/Plugins/Axis.Plugins.CallCenter/Scripts/app/app.js"); bundles.Add(angularBundle); }//TODO: Else, scream as loud as you can! } }
static void RegisterBundles(BundleCollection bundles) { // for anonymous users bundles.Add(new StyleBundle("~/Content/Auto/css").Include( "~/Content/Auto/*.css") ); bundles.Add(new ScriptBundle("~/Scripts/Auto/js").Include( "~/Scripts/Auto/*.js") ); // for authenticated users bundles.Add(new StyleBundle("~/Content/Auto/cssauth").Include( "~/Content/Auto/*.css") ); bundles.Add(new ScriptBundle("~/Scripts/Auto/jsauth").Include( "~/Scripts/Auto/*.js") ); // syntax highlighter var shRoot = "~/scripts/syntaxhighlighter/"; bundles.Add(new StyleBundle("~/Content/highlighter").Include( shRoot + "styles/shCore.css", shRoot + "styles/shThemeDefault.css") ); bundles.Add(new ScriptBundle("~/Scripts/highlighter").Include( shRoot + "scripts/XRegExp.js", shRoot + "scripts/shCore.js", shRoot + "scripts/shAutoloader.js", shRoot + "shActivator.js") ); // new admin bundles bundles.IgnoreList.Clear(); AddDefaultIgnorePatterns(bundles.IgnoreList); bundles.Add( new StyleBundle("~/Content/admincss") .Include("~/Content/bootstrap.min.css") .Include("~/Content/toastr.css") .Include("~/Content/font-awesome.min.css") .Include("~/Content/star-rating.css") ); bundles.Add( new ScriptBundle("~/scripts/blogadmin") .Include("~/Scripts/jquery-{version}.js") .Include("~/Scripts/jquery.form.js") .Include("~/Scripts/jquery.validate.js") .Include("~/Scripts/jquery-ui.js") .Include("~/Scripts/toastr.js") .Include("~/Scripts/bootstrap.js") .Include("~/Scripts/moment.js") .Include("~/Scripts/Q.js") .Include("~/Scripts/angular.min.js") .Include("~/Scripts/angular-route.min.js") .Include("~/Scripts/angular-sanitize.min.js") .Include("~/admin/app/app.js") .Include("~/admin/app/listpager.js") .Include("~/admin/app/grid-helpers.js") .Include("~/admin/app/data-service.js") .Include("~/admin/app/editor/filemanagerController.js") .Include("~/admin/app/common.js") .Include("~/admin/app/dashboard/dashboardController.js") .Include("~/admin/app/content/blogs/blogController.js") .Include("~/admin/app/content/posts/postController.js") .Include("~/admin/app/content/pages/pageController.js") .Include("~/admin/app/content/tags/tagController.js") .Include("~/admin/app/content/categories/categoryController.js") .Include("~/admin/app/content/comments/commentController.js") .Include("~/admin/app/content/comments/commentFilters.js") .Include("~/admin/app/custom/plugins/pluginController.js") .Include("~/admin/app/custom/themes/themeController.js") .Include("~/admin/app/custom/widgets/widgetController.js") .Include("~/admin/app/custom/widgets/widgetGalleryController.js") .Include("~/admin/app/security/users/userController.js") .Include("~/admin/app/security/roles/roleController.js") .Include("~/admin/app/security/profile/profileController.js") .Include("~/admin/app/settings/settingController.js") .Include("~/admin/app/settings/tools/toolController.js") .Include("~/admin/app/settings/controls/blogrollController.js") .Include("~/admin/app/settings/controls/pingController.js") ); bundles.Add( new ScriptBundle("~/scripts/wysiwyg") .Include("~/scripts/jquery-{version}.js") .Include("~/scripts/jquery.form.js") .Include("~/scripts/jquery.validate.js") .Include("~/scripts/toastr.js") .Include("~/scripts/Q.js") .Include("~/Scripts/angular.min.js") .Include("~/Scripts/angular-route.min.js") .Include("~/Scripts/angular-sanitize.min.js") .Include("~/scripts/bootstrap.js") .Include("~/scripts/textext.js") .Include("~/scripts/moment.js") .Include("~/admin/app/app.js") .Include("~/admin/app/grid-helpers.js") .Include("~/admin/app/editor/editor-helpers.js") .Include("~/admin/app/editor/posteditorController.js") .Include("~/admin/app/editor/pageeditorController.js") .Include("~/admin/app/editor/filemanagerController.js") .Include("~/admin/app/common.js") .Include("~/admin/app/data-service.js") ); if (BlogConfig.DefaultEditor == "~/admin/editors/bootstrap-wysiwyg/editor.cshtml") { bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/bootstrap-wysiwyg/jquery.hotkeys.js"); bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/bootstrap-wysiwyg/bootstrap-wysiwyg.js"); bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/bootstrap-wysiwyg/editor.js"); } if (BlogConfig.DefaultEditor == "~/admin/editors/tinymce/editor.cshtml") { // tinymce plugings won't load when compressed. added in post/page editors instead. //bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/tinymce/tinymce.min.js"); //bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/tinymce/editor.js"); } else { bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/summernote/summernote.js"); // change language here if needed //bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/summernote/lang/summernote-ru-RU.js"); bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/summernote/editor.js"); } }
public void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/Allergy") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/allergyController.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/allergyService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/MedicalHistory") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/medicalHistoryController.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/medicalHistoryService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/MedicalHistoryDetails") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/medicalHistoryDetailsController.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/medicalHistoryService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/Note") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/noteController.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/noteService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/NoteDetail") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/noteDetailController.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/noteService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/ReviewOfSystems") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/reviewOfSystemsController.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/reviewOfSystemsService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/directives/rosNavigation.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/Vital") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/vitalController.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/vitalService.js") .Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical.SocialRelationshipHistory") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/socialRelationshipHistoryController.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/socialRelationshipHistoryService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/socialRelationshipService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/ChiefComplaint") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/chiefComplaintController.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/chiefComplaintService.js") .Include("~/Scripts/app/services/alertService.js") .Include("~/Scripts/app/filters/toDateFilters.js") .Include("~/Scripts/app/directives/toDateDirective.js") .Include("~/Scripts/app/directives/pageShortcuts.js") .Include("~/Scripts/app/directives/toDateDirective.js") .Include("~/Scripts/app/directives/mydatepicker.js") .Include("~/Scripts/app/directives/inputMask.js") .Include("~/Scripts/app/directives/serverValidate.js") .Include("~/Scripts/app/directives/workflowAction.js") .Include("~/Scripts/app/directives/autoFocus.js") .Include("~/Scripts/app/directives/checkForm.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/clinicalAssessment") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/clinicalAssessmentController.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/clinicalAssessmentService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/directives/clinicalAssessmentNavigation.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/SocialRelationship") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/socialRelationshipController.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/socialRelationshipService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Clinical/PresentIllness") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/controllers/presentIllnessController.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/presentIllnessService.js") ); var angularBundle = bundles.GetBundleFor("~/bundles/angular"); if (angularBundle != null && bundles.Remove(angularBundle)) { angularBundle.Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/app.js"); bundles.Add(angularBundle); } var tileBundle = bundles.GetBundleFor("~/bundles/tileController"); if (tileBundle != null && bundles.Remove(tileBundle)) { tileBundle.Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/clinicalTileService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/noteService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/reviewOfSystemsService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/chiefComplaintService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/clinicalAssessmentService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/vitalService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/allergyService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/socialRelationshipService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/presentIllnessService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/medicalHistoryService.js"); bundles.Add(tileBundle); } //Inject the clinical services needed by client search for downloading a client's data for offline use var clientSearchBundle = bundles.GetBundleFor("~/bundles/Plugins/Axis.Plugins.Registration/ClientSearch"); if (clientSearchBundle != null && bundles.Remove(clientSearchBundle)) { clientSearchBundle.Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/allergyService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/vitalService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/socialRelationshipService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/socialRelationshipHistoryService.js") .Include("~/Plugins/Axis.Plugins.Clinical/Scripts/app/services/clinicalAssessmentService.js"); bundles.Add(clientSearchBundle); } }
static void RegisterBundles(BundleCollection bundles) { // for anonymous users bundles.Add(new StyleBundle("~/Content/Auto/css").Include( "~/Content/Auto/*.css") ); bundles.Add(new ScriptBundle("~/Scripts/Auto/js").Include( "~/Scripts/Auto/*.js") ); // for authenticated users bundles.Add(new StyleBundle("~/Content/Auto/cssauth").Include( "~/Content/Auto/*.css", "~/Modules/QuickNotes/Qnotes.css") ); bundles.Add(new ScriptBundle("~/Scripts/Auto/jsauth").Include( "~/Scripts/Auto/*.js") ); // syntax highlighter var shRoot = "~/scripts/syntaxhighlighter/"; bundles.Add(new StyleBundle("~/Content/highlighter").Include( shRoot + "styles/shCore.css", shRoot + "styles/shThemeDefault.css") ); bundles.Add(new ScriptBundle("~/Scripts/highlighter").Include( shRoot + "scripts/XRegExp.js", shRoot + "scripts/shCore.js", shRoot + "scripts/shAutoloader.js", shRoot + "shActivator.js") ); // syntax FileManager bundles.Add(new StyleBundle("~/Content/filemanager").Include( "~/admin/FileManager/FileManager.css", "~/admin/uploadify/uploadify.css", "~/admin/FileManager/jqueryui/jquery-ui.css", "~/admin/FileManager/JCrop/css/jquery.Jcrop.css") ); bundles.Add(new ScriptBundle("~/Scripts/filemanager").Include( "~/admin/uploadify/swfobject.js", "~/admin/uploadify/jquery.uploadify.v2.1.4.min.js", "~/admin/FileManager/jqueryui/jquery-ui.min.js", "~/admin/FileManager/jquery.jeegoocontext.min.js", "~/admin/FileManager/JCrop/js/jquery.Jcrop.min.js", "~/admin/FileManager/FileManager-mini.js") ); // new admin bundles bundles.IgnoreList.Clear(); AddDefaultIgnorePatterns(bundles.IgnoreList); bundles.Add( new StyleBundle("~/Content/css") .Include("~/Content/ie10mobile.css") .Include("~/Content/bootstrap.min.css") .Include("~/Content/toastr.css") .Include("~/Content/font-awesome.min.css") .Include("~/Content/editor.css") .Include("~/Content/app.css") .Include("~/admin/editors/summernote/summernote.css") ); bundles.Add( new ScriptBundle("~/scripts/blogadmin") .Include("~/scripts/jquery-2.1.1.js") .Include("~/scripts/jquery.form.js") .Include("~/scripts/jquery.validate.js") .Include("~/scripts/toastr.js") .Include("~/scripts/Q.js") .Include("~/Scripts/angular.min.js") .Include("~/Scripts/angular-route.min.js") .Include("~/Scripts/angular-animate.min.js") .Include("~/Scripts/angular-sanitize.min.js") .Include("~/admin/be-grid.js") .Include("~/admin/app.js") .Include("~/admin/controllers/dashboard.js") .Include("~/admin/controllers/blogs.js") .Include("~/admin/controllers/posts.js") .Include("~/admin/controllers/listpager.js") .Include("~/admin/controllers/pages.js") .Include("~/admin/controllers/tags.js") .Include("~/admin/controllers/categories.js") .Include("~/admin/controllers/files.js") .Include("~/admin/controllers/comments.js") .Include("~/admin/controllers/users.js") .Include("~/admin/controllers/roles.js") .Include("~/admin/controllers/profile.js") .Include("~/admin/controllers/settings.js") .Include("~/admin/controllers/tools.js") .Include("~/admin/controllers/commentfilters.js") .Include("~/admin/controllers/blogroll.js") .Include("~/admin/controllers/pings.js") .Include("~/admin/controllers/packages.js") .Include("~/admin/controllers/common.js") .Include("~/admin/services.js") .Include("~/scripts/bootstrap.js") .Include("~/scripts/moment.js") .Include("~/admin/editors/summernote/summernote.js") ); bundles.Add( new ScriptBundle("~/scripts/wysiwyg") .Include("~/scripts/jquery-2.1.1.js") .Include("~/scripts/jquery.form.js") .Include("~/scripts/jquery.validate.js") .Include("~/scripts/toastr.js") .Include("~/scripts/Q.js") .Include("~/Scripts/angular.min.js") .Include("~/Scripts/angular-route.min.js") .Include("~/Scripts/angular-animate.min.js") .Include("~/Scripts/angular-sanitize.min.js") .Include("~/scripts/bootstrap.js") .Include("~/scripts/textext.js") .Include("~/scripts/moment.js") .Include("~/admin/app.js") .Include("~/admin/editor/editor.js") .Include("~/admin/editor/postcontroller.js") .Include("~/admin/editor/pagecontroller.js") .Include("~/admin/be-grid.js") .Include("~/admin/controllers/files.js") .Include("~/admin/services.js") ); if (BlogConfig.DefaultEditor == "~/admin/editors/bootstrap-wysiwyg/editor.cshtml") { bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/bootstrap-wysiwyg/jquery.hotkeys.js"); bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/bootstrap-wysiwyg/bootstrap-wysiwyg.js"); bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/bootstrap-wysiwyg/editor.js"); } if (BlogConfig.DefaultEditor == "~/admin/editors/tinymce/editor.cshtml") { // tinymce plugings will not load when scripts compressed, do nothing //bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/tinymce/tinymce.min.js"); //bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/tinymce/editor.js"); } else { bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/summernote/summernote.js"); // change language here if needed //bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/summernote/lang/summernote-ru-RU.js"); bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/summernote/editor.js"); } }
static void RegisterBundles(BundleCollection bundles) { // for anonymous users bundles.Add(new StyleBundle("~/Content/Auto/css").Include( "~/Content/Auto/*.css") ); bundles.Add(new ScriptBundle("~/Scripts/Auto/js").Include( "~/Scripts/Auto/*.js") ); // for authenticated users bundles.Add(new StyleBundle("~/Content/Auto/cssauth").Include( "~/Content/Auto/*.css", "~/Modules/QuickNotes/Qnotes.css") ); bundles.Add(new ScriptBundle("~/Scripts/Auto/jsauth").Include( "~/Scripts/Auto/*.js") ); // syntax highlighter var shRoot = "~/scripts/syntaxhighlighter/"; bundles.Add(new StyleBundle("~/Content/highlighter").Include( shRoot + "styles/shCore.css", shRoot + "styles/shThemeDefault.css") ); bundles.Add(new ScriptBundle("~/Scripts/highlighter").Include( shRoot + "scripts/XRegExp.js", shRoot + "scripts/shCore.js", shRoot + "scripts/shAutoloader.js", shRoot + "shActivator.js") ); // new admin bundles bundles.IgnoreList.Clear(); AddDefaultIgnorePatterns(bundles.IgnoreList); bundles.Add( new StyleBundle("~/Content/admincss") .Include("~/Content/bootstrap.min.css") .Include("~/Content/toastr.css") .Include("~/Content/font-awesome.min.css") .Include("~/Content/star-rating.css") ); bundles.Add( new ScriptBundle("~/scripts/blogadmin") .Include("~/scripts/jquery-2.1.1.js") .Include("~/scripts/jquery.form.js") .Include("~/scripts/jquery.validate.js") .Include("~/scripts/toastr.js") .Include("~/scripts/Q.js") .Include("~/Scripts/angular.min.js") .Include("~/Scripts/angular-route.min.js") .Include("~/Scripts/angular-animate.min.js") .Include("~/Scripts/angular-sanitize.min.js") .Include("~/admin/app.js") .Include("~/admin/app/listpager.js") .Include("~/admin/app/grid-helpers.js") .Include("~/admin/app/data-service.js") .Include("~/admin/app/controllers/dashboard.js") .Include("~/admin/app/controllers/blogList.js") .Include("~/admin/app/controllers/help.js") .Include("~/admin/app/controllers/about.js") .Include("~/admin/app/controllers/posts.js") .Include("~/admin/app/controllers/pages.js") .Include("~/admin/app/controllers/tags.js") .Include("~/admin/app/controllers/categories.js") .Include("~/admin/app/controllers/files.js") .Include("~/admin/app/controllers/commentList.js") .Include("~/admin/app/controllers/users.js") .Include("~/admin/app/controllers/roles.js") .Include("~/admin/app/controllers/profile.js") .Include("~/admin/app/controllers/settings.js") .Include("~/admin/app/controllers/tools.js") .Include("~/admin/app/controllers/commentFilters.js") .Include("~/admin/app/controllers/blogRoll.js") .Include("~/admin/app/controllers/pings.js") .Include("~/admin/app/controllers/custom.js") .Include("~/admin/app/controllers/package.js") .Include("~/admin/app/controllers/common.js") .Include("~/scripts/bootstrap.js") .Include("~/scripts/moment.js") .Include("~/admin/editors/summernote/summernote.js") ); bundles.Add( new ScriptBundle("~/scripts/wysiwyg") .Include("~/scripts/jquery-2.1.1.js") .Include("~/scripts/jquery.form.js") .Include("~/scripts/jquery.validate.js") .Include("~/scripts/toastr.js") .Include("~/scripts/Q.js") .Include("~/Scripts/angular.min.js") .Include("~/Scripts/angular-route.min.js") .Include("~/Scripts/angular-sanitize.min.js") .Include("~/scripts/bootstrap.js") .Include("~/scripts/textext.js") .Include("~/scripts/moment.js") .Include("~/admin/app.js") .Include("~/admin/app/grid-helpers.js") .Include("~/admin/app/editor-helpers.js") .Include("~/admin/app/controllers/postEditor.js") .Include("~/admin/app/controllers/pageEditor.js") .Include("~/admin/app/controllers/files.js") .Include("~/admin/app/controllers/common.js") .Include("~/admin/app/data-service.js") ); if (BlogConfig.DefaultEditor == "~/admin/editors/bootstrap-wysiwyg/editor.cshtml") { bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/bootstrap-wysiwyg/jquery.hotkeys.js"); bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/bootstrap-wysiwyg/bootstrap-wysiwyg.js"); bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/bootstrap-wysiwyg/editor.js"); } if (BlogConfig.DefaultEditor == "~/admin/editors/tinymce/editor.cshtml") { // tinymce plugings won't load when compressed. added in post/page editors instead. //bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/tinymce/tinymce.min.js"); //bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/tinymce/editor.js"); } else { bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/summernote/summernote.js"); // change language here if needed //bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/summernote/lang/summernote-ru-RU.js"); bundles.GetBundleFor("~/scripts/wysiwyg").Include("~/admin/editors/summernote/editor.js"); } }
public static void RegisterBundles(BundleCollection bundles) { bundles.IgnoreList.Clear(); bundles.Add( new StyleBundle("~/Bundles/App/vendor/css") .Include("~/Content/bootstrap.min.css", new CssRewriteUrlTransform()) .Include("~/Content/font-awesome.min.css", new CssRewriteUrlTransform()) .Include("~/Content/weather-icons.min.css", new CssRewriteUrlTransform()) .Include("~/Content/typicons.min.css", new CssRewriteUrlTransform()) .Include("~/Content/animate.min.css", new CssRewriteUrlTransform()) .Include("~/Content/themes/beyond/beyond.min.css", new CssRewriteUrlTransform()) .Include("~/Content/themes/beyond/demo.min.css", new CssRewriteUrlTransform()) .Include("~/Content/themes/beyond/paper-edit.css", new CssRewriteUrlTransform()) ); bundles.Add( new ScriptBundle("~/Bundles/App/vendor/js") .Include( "~/Abp/Framework/scripts/utils/ie10fix.js", "~/Scripts/json2.min.js", "~/Scripts/modernizr-2.8.3.js", "~/Scripts/jquery-2.2.0.min.js", "~/Scripts/jquery-ui-1.11.4.min.js", "~/Scripts/bootstrap.min.js", "~/Scripts/moment-with-locales.min.js", "~/Scripts/jquery.validate.min.js", "~/Scripts/jquery.blockUI.js", "~/Scripts/toastr.min.js", "~/Scripts/others/spinjs/spin.js", "~/Scripts/others/spinjs/jquery.spin.js", "~/Scripts/slimscroll/jquery.slimscroll.min.js", "~/Scripts/bootbox/bootbox.js", "~/Scripts/angular.min.js", "~/Scripts/angular-animate.min.js", "~/Scripts/angular-sanitize.min.js", "~/Scripts/angular-ui-router.min.js", "~/Scripts/angular-ui/ui-bootstrap.min.js", "~/Scripts/angular-ui/ui-bootstrap-tpls.min.js", "~/Scripts/angular-ui/ui-utils.min.js", "~/Scripts/angular-cookies.min.js", "~/Scripts/angular-ngStorage/ngStorage.js", "~/Scripts/angular-breadcrumb/angular-breadcrumb.js", "~/Scripts/angular-ocLazyLoad/ocLazyLoad.js", "~/Abp/Framework/scripts/abp.js", "~/Abp/Framework/scripts/libs/abp.moment.js", "~/Abp/Framework/scripts/libs/abp.bootbox.js", "~/Abp/Framework/scripts/libs/abp.jquery.js", "~/Abp/Framework/scripts/libs/abp.toastr.js", "~/Abp/Framework/scripts/libs/abp.blockUI.js", "~/Abp/Framework/scripts/libs/abp.spin.js", "~/Abp/Framework/scripts/libs/angularjs/abp.ng.js", "~/Scripts/beyond/skins.min.js", "~/Scripts/jquery.signalR-2.2.1.min.js" ) ); bundles.Add( new ScriptBundle("~/Bundles/App/Common/js") .IncludeDirectory("~/Common/Scripts", "*.js", true) ); var bundle = bundles.GetBundleFor("~/Bundles/App/Main/js"); if (bundle == null) { bundle = new ScriptBundle("~/Bundles/App/Main/js"); bundles.Add(bundle); } bundle .IncludeDirectory("~/App/Main", "*.js", false) .IncludeDirectory("~/App/Main/directives", "*.js", true) .IncludeDirectory("~/App/Main/filter", "*.js", true) .IncludeDirectory("~/App/Main/services", "*.js", true); }
public void RegisterBundles(BundleCollection bundles) { bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Registration").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/registrationNavigationController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/registrationController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/contactSearchDirective.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAliasService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/admissionService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRaceService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/AdditionalDemographic").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/additionalDemographyController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/additionalDemographyService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRaceService.js", "~/Scripts/app/controllers/raceDetailsController.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/EmergencyContacts").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/emergencyContactController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/emergencyContactService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/xenCopyAddress.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Benefits").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/ContactBenefitController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/collateralService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/ContactBenefitService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRelationshipService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Referral").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralDetailController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralAdditionalDetailService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralClientInformationService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralConcernDetailService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRelationshipService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/contactSearchDirective.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralHeaderService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactEmailService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Financial").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/financialAssessmentController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/financialDetailsController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialAssessmentService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/financialassessmentdirective.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/FinancialAssessments").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/financialAssessmentsController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/financialSummaryService.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/eSignature.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/Topaz/SigWebTablet.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/jSignature.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/FinancialSummary").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/financialSummaryController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialSummaryService.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/eSignature.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/Topaz/SigWebTablet.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/jSignature.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRelationshipService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Collateral").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/collateralController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/contactSearchDirective.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/collateralService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/clientSearchService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/xenCopyAddress.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRelationshipService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactBenefitService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Consent").Include( "~/Scripts/app/services/alertService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/consentController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/consentService.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/topazSignature.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/Topaz/SigWebTablet.js", "~/Areas/Consents/Scripts/app/services/consentsPrintService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ClientSearch").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/clientSearchController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/clientSearchService.js", // From here on out, needed for offline caching "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/additionalDemographyService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralAdditionalDetailService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/emergencyContactService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/ContactBenefitService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialAssessmentService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/collateralService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/consentService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactEmailService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralHeaderService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralConcernDetailService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/admissionService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhotoService.js", "~/Scripts/app/services/photoService.js", "~/Scripts/app/controllers/baseFlyoutController.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/PatientProfile").Include( "~/Scripts/app/directives/breadcrumbs.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/patientProfileController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhotoService.js", "~/Scripts/app/directives/toggleColumnView.js", "~/Scripts/app/directives/tileFlyout.js", "~/Scripts/app/directives/loadView.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAliasService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRaceService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralAdditionalDetailService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/selfPayService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialAssessmentService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralHeaderService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRelationshipService.js", //bundles that will potentially be needed to load the eci patient header "~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciDemographicService.js", "~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciAdditionalDemographicService.js", "~/Areas/Consents/Scripts/app/services/consentsService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactBenefitService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/dischargeService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ContactEmail").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/contactEmailController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactEmailService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ContactPhone").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/contactPhoneController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Address").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/contactAddressController.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/RegistrationTile").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/registrationTileController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/additionalDemographyService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralAdditionalDetailService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialAssessmentService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/ContactBenefitService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/collateralService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactEmailService.js", //ToDo: Add logic to check for the existence of a file before including it in the bundle, I know that missing files are ignored, but I think it's bad practice "~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciDemographicService.js", "~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciAdditionalDemographicService.js", "~/Plugins/Axis.Plugins.ECI/Scripts/app/services/eciRegistrationTileService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralAdditionalDetailService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralHeaderService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralConcernDetailService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/admissionService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactRaceService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ConsentTile").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/ConsentTileController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/consentService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralCommon").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralParentController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralHeaderService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralDispositionService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralFollowupService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralReferredInformationService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralForwardedService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralClientInformationService.js", "~/Scripts/app/filters/timeFilters.js", "~/Scripts/app/directives/breadcrumbs.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralSearch").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralSearchController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralSearchService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactEmailService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferredInformation").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralDispositionService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralReferredInformationController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralReferredInformationService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralFollowup").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralFollowupController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralFollowupService.js", "~/Scripts/app/filters/timeFilters.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralDisposition").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralDispositionController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralDispositionService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralClientInformation").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralClientController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralClientInformationService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralRequestor").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralRequestorController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralHeaderService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactEmailService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralForwarded").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralForwardedController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralForwardedService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/ReferralProgressNote").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/referralProgressNoteController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/referralProgressNoteService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Program").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/programController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/registrationNavigator.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/DischargeCompany").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/dischargeCompanyController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/admissionsDischargeController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/dischargeProgramUnitController.js", "~/Plugins/Axis.Plugins.CallCenter/Scripts/app/controllers/signatureController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/admisionService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/dischargeService.js", "~/Areas/Admin/Scripts/app/services/userCredentialService.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/services/eSignatureService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Admission").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/admissionController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/admissionService.js", "~/Scripts/app/filters/timeFilters.js", "~/Scripts/app/directives/toTime.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/SelfPay").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/selfPayController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/selfPayService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialAssessmentService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/BenefitsAssistanceProgressNote").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/benefitsAssistanceProgressNoteController.js", "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js", "~/Scripts/app/services/serviceRecordingService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/ContactBenefitService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/benefitsAssistanceProgressNoteService.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/Topaz/SigWebTablet.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/eSignature.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/jSignature.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/jSignature.UndoButton.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/flashcanvas.js", "~/Scripts/app/directives/pdfMaker.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/services/eSignatureService.js", "~/Areas/RecordedServices/Scripts/app/services/voidService.js", "~/Areas/BusinessAdmin/Scripts/app/services/organizationStructureService.js", "~/Areas/RecordedServices/Scripts/app/services/recordingServicePrintService.js") ); bundles.Add(new ScriptBundle("~/bundles/bapnDetails").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/bapnDetailsController.js" )); bundles.Add(new ScriptBundle("~/bundles/BapnNavigation").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/bapnNavigationController.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/BAPN").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/bapnController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/benefitsAssistanceProgressNoteService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/bapnNavigation.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/services/eSignatureService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/BenefitsTile").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/benefitsTileController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/selfPayService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/financialSummaryService.js", "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/benefitsAssistanceProgressNoteService.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/services/eSignatureService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/IntakeTile").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/intakeTileController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/lettersService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/intakeFormsService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js", "~/Areas/BusinessAdmin/Scripts/app/services/organizationStructureService.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/Letters").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/lettersController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/letterNavigation.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/directives/intakeformsNavigation.js", "~/Areas/Assessment/Scripts/app/services/assessmentPrintService.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/Topaz/SigWebTablet.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/eSignature.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/jSignature.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/jSignature.UndoButton.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/directives/flashcanvas.js", "~/Scripts/app/directives/pdfMaker.js", "~/Scripts/app/services/serviceRecordingService.js", "~/Areas/RecordedServices/Scripts/app/services/voidService.js", "~/Plugins/Axis.Plugins.ESignature/Scripts/app/services/eSignatureService.js", "~/Areas/RecordedServices/Scripts/app/services/recordingServicePrintService.js" )); bundles.Add(new ScriptBundle("~/bundles/historyLog").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/historyLogController.js" )); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/LettersDetails").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/lettersDetailsController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactBenefitService.js") ); bundles.Add(new ScriptBundle("~/bundles/Plugins/Axis.Plugins.Registration/FormsDetails").Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/formsDetailsController.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhoneService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/controllers/intakeFormNavigationController.js" )); var angularBundle = bundles.GetBundleFor("~/bundles/angular"); if (angularBundle != null) { if (bundles.Remove(angularBundle)) { angularBundle.Include("~/Plugins/Axis.Plugins.Registration/Scripts/app/app.js"); bundles.Add(angularBundle); }//TODO: Else, scream as loud as you can! } var consentDetailBundle = bundles.GetBundleFor("~/bundles/consentDetails"); if (consentDetailBundle != null && bundles.Remove(consentDetailBundle)) { consentDetailBundle.Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/collateralService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactAddressService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/additionalDemographyService.js" ); bundles.Add(consentDetailBundle); } var miniHeaderBundle = bundles.GetBundleFor("~/bundles/miniHeader"); if (miniHeaderBundle != null && bundles.Remove(miniHeaderBundle)) { miniHeaderBundle.Include( "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/ContactBenefitService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/registrationService.js", "~/Plugins/Axis.Plugins.Registration/Scripts/app/services/contactPhotoService.js" ); bundles.Add(miniHeaderBundle); } }
public static void RegisterScriptBundles(BundleCollection bundles) { BaseBundleConfig.RegisterScriptBundles(bundles); /*********** Updating base bundleds ******************/ var siteMasterBundle = bundles.GetBundleFor(BaseBundleConfig.SiteMasterJsVirtualPath); siteMasterBundle.Include(BaseBundleConfig.ScriptsPath + "larco_common.js"); var multiSelectJSBundle = bundles.GetBundleFor(BaseBundleConfig.ExtraWidgetsJsVirtualPath); multiSelectJSBundle.Include(BaseBundleConfig.ScriptsPath + "jquery.mask.js"); var cssBundle = bundles.GetBundleFor(BaseBundleConfig.SiteMasterCSSVirtualPath); cssBundle.Include(BaseBundleConfig.StylesPath + "app.css"); /*****************************/ var styleBundle = new StyleBundle(StylesPath + "blitzer/jquery_css") .Include(StylesPath + "blitzer/jquery-ui.css") .Include(StylesPath + "blitzer/jquery-horizontal-menu.css") .Include(StylesPath + "blitzer/dataTables.jqueryui.css"); bundles.Add(styleBundle); var jqplotBundle = new StyleBundle(StylesPath + "jqplot_css") .Include(StylesPath + "jquery.jqplot.css"); bundles.Add(jqplotBundle); var jqplotJSBundle = new ScriptBundle(ScriptsPath + "jqplot_js") .Include(BaseBundleConfig.ScriptsPath + "dashboard_common.js") .Include(BaseBundleConfig.ScriptsPath + "jqplot/jquery.jqplot.js") .Include(BaseBundleConfig.ScriptsPath + "jqplot/jqplot.pieRenderer.js") .Include(BaseBundleConfig.ScriptsPath + "jqplot/jqplot.barRenderer.js") .Include(BaseBundleConfig.ScriptsPath + "jqplot/jqplot.categoryAxisRenderer.js") .Include(BaseBundleConfig.ScriptsPath + "jqplot/jqplot.pointLabels.js") .Include(BaseBundleConfig.ScriptsPath + "jqplot/jqplot.highlighter.js") .Include(BaseBundleConfig.ScriptsPath + "jqplot/jqplot.canvasOverlay.js"); bundles.Add(jqplotJSBundle); /*****************************/ var ventasJSBundle = new ScriptBundle(BaseBundleConfig.ScriptsPath + "ventas_js") .Include(ScriptsPath + "app/ventas.js"); bundles.Add(ventasJSBundle); var dvJSBundle = new ScriptBundle(BaseBundleConfig.ScriptsPath + "dias_vencido_js") .Include(ScriptsPath + "app/dias_vencido.js"); bundles.Add(dvJSBundle); var uveJSBundle = new ScriptBundle(BaseBundleConfig.ScriptsPath + "urgentes_vencidas_empleado_js") .Include(ScriptsPath + "app/urgentes_vencidas_empleado.js"); bundles.Add(uveJSBundle); var materialesJSBundle = new ScriptBundle(BaseBundleConfig.ScriptsPath + "materiales_js") .Include(ScriptsPath + "app/materiales.js"); bundles.Add(materialesJSBundle); var prodsJSBundle = new ScriptBundle(BaseBundleConfig.ScriptsPath + "productos_js") .Include(ScriptsPath + "app/productos.js"); bundles.Add(prodsJSBundle); var tasksJSBundle = new ScriptBundle(BaseBundleConfig.ScriptsPath + "tareas_js") .Include(ScriptsPath + "app/tareas.js"); bundles.Add(tasksJSBundle); var planosJSBundle = new ScriptBundle(BaseBundleConfig.ScriptsPath + "planos_js") .Include(ScriptsPath + "app/planos.js"); bundles.Add(planosJSBundle); var stockJSBundle = new ScriptBundle(BaseBundleConfig.ScriptsPath + "stock_js") .Include(ScriptsPath + "app/stock.js"); bundles.Add(stockJSBundle); var defaultJSBundle = new ScriptBundle(BaseBundleConfig.ScriptsPath + "default_js") .Include(ScriptsPath + "app/default.js"); bundles.Add(defaultJSBundle); var motivosJSBundle = new ScriptBundle(BaseBundleConfig.ScriptsPath + "motivos_js") .Include(ScriptsPath + "app/motivos.js"); bundles.Add(motivosJSBundle); var jqplotcssBundle = new StyleBundle(BaseBundleConfig.StylesPath + "jqplot_css") .Include(BaseBundleConfig.StylesPath + "jquery.jqplot.css"); bundles.Add(jqplotcssBundle); }