using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Optimization; using Weee.Extensions; namespace Weee { public class BundleConfig { public static void RegisterBundles(BundleCollection bundles) { bundles.IgnoreList.Clear(); bundles.Add(new StyleBundle("~/bootstrap/css") .Include("~/Content/bootstrap.css") .Include("~/Content/kendo/2014.2.716/kendo.common-bootstrap.min.css") .Include("~/Content/kendo/2014.2.716/kendo.bootstrap.min.css") .Include("~/Content/bootstrap-theme.css")); bundles.Add(new StyleBundle("~/admin/Content/css") .Include("~/Areas/Admin/Content/css/adminarea.css")); bundles.Add(new StyleBundle("~/account/css") .Include("~/Browser_Local/css/Account/general.css")); bundles.Add(new StyleBundle("~/certification/css") .Include("~/Areas/Certification/Content/css/general.css")); bundles.Add(new StyleBundle("~/module/scrollHash/css") .Include("~/Browser_Local/css/Module/ScrollHash.css")); bundles.Add(new StyleBundle("~/fancybox/css") .Include("~/Content/fancybox/source/jquery.fancybox.css")); bundles.Add(new StyleBundle("~/publicFiles/css") .Include("~/Browser_Local/css/Home/public_files.css")); bundles.Add(new StyleBundle("~/Browser_Local") .Include("~/Browser_Local/css/html5-doctor-reset-stylesheet.css") .Include("~/Browser_Local/css/table_view.css") .Include("~/Browser_Local/css/simapro.css") .Include("~/Browser_Local/css/datepicker.css") .Include("~/Browser_Local/css/normal_table.css") .Include("~/Browser_Local/css/popout.css") .Include("~/Browser_Local/css/table_edit.css") .Include("~/Browser_Local/css/quality.css") .Include("~/Browser_Local/css/reply_mode.css") .Include("~/Browser_Local/css/loading.css") .Include("~/Browser_Local/css/validate.css") .Include("~/Browser_Local/css/tooltip.css") .Include("~/Browser_Local/css/image.css") .Include("~/Browser_Local/css/input.css")); bundles.Add(new ScriptBundle("~/admin/Scripts") .Include("~/Scripts/jquery-{version}.js") .Include("~/scripts/bootstrap.js") .Include("~/Scripts/kendo/2014.2.716/jquery.min.js") .Include("~/Scripts/kendo/2014.2.716/kendo.core.min.js") .Include("~/Scripts/kendo/2014.2.716/kendo.data.min.js") .Include("~/Scripts/kendo/2014.2.716/kendo.popup.min.js") .Include("~/Scripts/kendo/2014.2.716/kendo.list.min.js") .Include("~/Scripts/kendo/2014.2.716/kendo.multiselect.min.js")); bundles.Add(new ScriptBundle("~/jQuery") .Include("~/Scripts/jquery-1.10.2.min.js")); bundles.Add(new ScriptBundle("~/bootstrap") .Include("~/Scripts/bootstrap.min.js") .Include("~/Scripts/bootstrap-datepicker.js")); bundles.Add(new ScriptBundle("~/sticky") .Include("~/Scripts/Sticky/jquery.sticky.js")); bundles.Add(new ScriptBundle("~/multiLanguage/resource") .Include("~/Scripts/Nls/en/app-resx.js") .Include("~/Scripts/Nls/root/app-resx.js") .Include("~/Scripts/Nls/zh/app-resx.js")); bundles.Add(new ScriptBundle("~/parameterDatabase") .Include("~/Browser_Local/js/ParameterDatabase/SwitchSimaproType.js")); bundles.Add(new ScriptBundle("~/fancybox") .Include("~/Content/fancybox/source/jquery.fancybox.pack.js")); bundles.Add(new ScriptBundle("~/certification/lca/detail") .Include("~/Areas/Certification/Content/js/detail.js")); bundles.Add(new ScriptBundle("~/setCulture") .Include("~/Browser_Local/js/Module/SetCulture.js")); bundles.Add(new ScriptBundle("~/ReplyRequest") .Include("~/Content/fancybox/source/jquery.fancybox.pack.js") .Include("~/Browser_Local/js/Module/GetUrlParameters.js") .Include("~/Browser_Local/js/LandingPage/ReplyRequest.js")); bundles.Add(new ScriptBundle("~/papaParse") .Include("~/Scripts/PapaParse-4.1.0/papaparse.min.js")); bundles.Add(new ScriptBundle("~/linq") .Include("~/Scripts/linq.min.js")); bundles.Add(new ScriptBundle("~/moment") .Include("~/Scripts/moment.min.js")); bundles.Add(new ScriptBundle("~/survey") .Include("~/Scripts/require.js") .Include("~/Scripts/angular.min.js") .Include("~/Scripts/angular-animate.min.js") .Include("~/Scripts/angular-route.min.js") .Include("~/Scripts/angular-resource.min.js") .Include("~/Scripts/angular-cookies.min.js") .Include("~/Scripts/angular-ui-notification.min.js") .Include("~/Browser_Local/js/Basic.MultiLanguage.Config.js") .Include("~/Browser_Local/js/Main.js") .Include("~/Browser_Local/js/UploadFile.js") .Include("~/Browser_Local/js/Services.js") .Include("~/Browser_Local/js/ExportService.js") .Include("~/Browser_Local/js/ImportService.js") .Include("~/Browser_Local/js/Model.js").WithLastModifiedToken() .Include("~/Browser_Local/js/BasicLogic.js") .Include("~/Browser_Local/js/Resources.Config.js") .Include("~/Browser_Local/js/View.Directive.js") .Include("~/Browser_Local/js/Directive/*.js") .Include("~/Browser_Local/js/datepicker.js") .Include("~/Browser_Local/js/LCA/*.js").WithLastModifiedToken() .Include("~/Browser_Local/js/LCA/DetailSurveyForm/*.js") .Include("~/Browser_Local/js/LCA/DetailSurveyForm/RiskAssmt/*.js") .Include("~/Browser_Local/js/MultiLanguageService.js") .Include("~/Browser_Local/js/Services.js") .Include("~/Browser_Local/js/CRUD.js") .Include("~/Browser_Local/js/Product/*.js") .Include("~/Browser_Local/js/Fab/*.js") .Include("~/Browser_Local/js/Report/*.js") .Include("~/Browser_Local/js/Management/*.js") .Include("~/Browser_Local/js/Filter/*.js") .Include("~/Browser_Local/js/detect-zoom.js") .Include("~/Browser_Local/js/ListTable.Filter.js")); bundles.Add(new ScriptBundle("~/chartjs") .Include("~/Scripts/chart.min.js")); } } }