当前位置: 首页>>代码示例>>C#>>正文


C# StyleBundle.Include方法代码示例

本文整理汇总了C#中StyleBundle.Include方法的典型用法代码示例。如果您正苦于以下问题:C# StyleBundle.Include方法的具体用法?C# StyleBundle.Include怎么用?C# StyleBundle.Include使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在StyleBundle的用法示例。


在下文中一共展示了StyleBundle.Include方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: RegisterBundles

        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.UseCdn = true;

            var jqueryCdnPath = "http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js";

            bundles.Add(new ScriptBundle(Links.bundles.scripts.jquery, jqueryCdnPath) { CdnFallbackExpression = "window.jquery" }.
                Include("~/Scripts/jquery-{version}.js"));

            // Libraries
            var libraryBundle = new ScriptBundle(Links.bundles.scripts.common);
            libraryBundle.Include("~/Scripts/modernizr-2.6.2.js");
            libraryBundle.Include("~/Scripts/bootstrap.js");
            libraryBundle.Include("~/Scripts/knockout-2.2.0.debug.js");
            libraryBundle.Include("~/Scripts/jquery.validate.js");
            libraryBundle.Include("~/Scripts/jquery.validate.unobtrusive.js");
            libraryBundle.Include("~/Scripts/jquery.unobtrusive-ajax.js");
            bundles.Add(libraryBundle);

            // CSS
            var cssBundle = new StyleBundle(Links.bundles.styles.common);
            cssBundle.Include("~/Content/Styles/bootstrap.css");
            cssBundle.Include("~/Content/Styles/bootstrap-responsive.css");
            cssBundle.Include("~/Content/Styles/main.css");
            bundles.Add(cssBundle);

            // Enable bundling
            BundleTable.EnableOptimizations = true;
        }
开发者ID:eddielee6,项目名称:FirstIssue,代码行数:29,代码来源:BundleConfig.cs

示例2: RegisterBundles

        // 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*"));

            bundles.Add(new ScriptBundle("~/bundles/angular-core").Include(
                "~/Scripts/angular.js",
                "~/Scripts/angular-resource.js"
                ));

            bundles.Add(new ScriptBundle("~/bundles/angular-app").IncludeDirectory("~/app","*.js"));

            bundles.Add(new ScriptBundle("~/bundles/less-js").Include("~/Scripts/less-1.5.1.js"));

            // 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"));

            var lessBundle = new StyleBundle("~/Content/css");
            lessBundle.Include("~/less/bootstrap/bootstrap.less");
            lessBundle.Include("~/less/font-awesome/font-awesome.less");
            lessBundle.Include("~/content/site.less");

            bundles.Add(lessBundle);
        }
开发者ID:rodmjay,项目名称:Ideal,代码行数:34,代码来源:BundleConfig.cs

示例3: RegisterStyleBundles

 private static void RegisterStyleBundles(BundleCollection bundles)
 {
     var cssBundle = new StyleBundle("~/Assets/Styles/before");
     cssBundle.Include("~/Assets/Styles/Bootstrap.css");
     cssBundle.Include("~/Assets/Styles/Ionicons.css");
     cssBundle.Include("~/Assets/Styles/So.css");
     bundles.Add(cssBundle);
 }
开发者ID:mikaelahlinder,项目名称:so.web.asp,代码行数:8,代码来源:BundleConfig.cs

示例4: RegisterBundles

        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            var jsBundles = new ScriptBundle("~/jsBundles/jquery");
            jsBundles.Orderer = new AsDefinedBundleOrderer();
            jsBundles.Include("~/Scripts/modernizr-{version}.js");
            jsBundles.Include("~/Scripts/jquery-{version}.js");
            jsBundles.Include("~/Scripts/linq.js");
            jsBundles.Include("~/Scripts/bootstrap.js");
            jsBundles.Include("~/Scripts/jquery-ui.js");
            jsBundles.Include("~/Scripts/jquery.ikecode.extenders.js");

            //plugins
            jsBundles.Include("~/Scripts/jquery.cookie.js");
            jsBundles.Include("~/Scripts/jquery.bootgrid.js");
            jsBundles.Include("~/Scripts/jquery.bootgrid.fa.js");
            jsBundles.Include("~/Scripts/bootstrap.file-input.js");
            jsBundles.Include("~/Scripts/plugins/bootstrapvalidator/bootstrapValidator.min.js");
            jsBundles.Include("~/Scripts/plugins/jquery.mask-1.13.4.js");

            jsBundles.Include("~/Scripts/plugins/snarl.js");
            jsBundles.Include("~/Scripts/moment.js");
            jsBundles.Include("~/Scripts/fullcalendar.js");
            jsBundles.Include("~/Scripts/gcal.js");
            jsBundles.Include("~/Scripts/lang/pt-br.js");

            jsBundles.Include("~/Scripts/knockout-{version}.js");
            jsBundles.Include("~/Scripts/knockout.mapping-latest.js");
            jsBundles.Include("~/Scripts/knockout.validation.js");

            jsBundles.Include("~/Scripts/ApiConfigs.js");
            jsBundles.Include("~/Scripts/Models/EnumCache.js");
            jsBundles.Include("~/Scripts/Models/PocoModels.js");
            jsBundles.Include("~/Scripts/Models/ConfirmModalModel.js");
            jsBundles.Include("~/Scripts/common.js");
            jsBundles.Include("~/Scripts/DataGridHelper.js");
            jsBundles.Include("~/Scripts/Models/BaseDataGridModel.js");
            bundles.Add(jsBundles);

            var styleBundle = new StyleBundle("~/cssBundles/styles");
            styleBundle.Orderer = new AsDefinedBundleOrderer();
            styleBundle.Include("~/Content/bootstrap.css", new CssRewriteUrlTransform());
            styleBundle.Include("~/Content/jquery-ui.css", new CssRewriteUrlTransform());
            styleBundle.Include("~/Content/bootstrap.theme.css", new CssRewriteUrlTransform());
            styleBundle.Include("~/Content/snarl.min.css", new CssRewriteUrlTransform());
            styleBundle.Include("~/Content/fullcalendar.css", new CssRewriteUrlTransform());
            styleBundle.Include("~/Content/jquery.bootgrid.css", new CssRewriteUrlTransform());

            styleBundle.Include("~/Content/common.css", new CssRewriteUrlTransform());
            bundles.Add(styleBundle);

            var loginStyleBundle = new StyleBundle("~/cssBundles/loginStyles");
            loginStyleBundle.Orderer = new AsDefinedBundleOrderer();
            loginStyleBundle.Include("~/Content/login/css/main.css", new CssRewriteUrlTransform());
            loginStyleBundle.Include("~/Content/login/css/style.css", new CssRewriteUrlTransform());
            loginStyleBundle.Include("~/Content/login/css/animate-custom.css", new CssRewriteUrlTransform());
            bundles.Add(loginStyleBundle);
        }
开发者ID:IkeCode-SmartSolutions,项目名称:Clinike,代码行数:58,代码来源:BundleConfig.cs

示例5: Config

        public static void Config(BundleCollection bundles)
        {
            var cssBundle = new StyleBundle(Path);

            cssBundle.Include("~/Content/bootstrap.css");
            cssBundle.Include("~/Content/bootstrap-theme.css");
            cssBundle.Include("~/Content/site.css");

            bundles.Add(cssBundle);
        }
开发者ID:NGastaGasta,项目名称:EStore,代码行数:10,代码来源:CssBundleConfig.cs

示例6: RegisterBundles

        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            StyleBundle estilos = new StyleBundle("~/bundles/estilos");
            estilos.Include("~/Content/bootstrap/css/bootstrap.css");
            estilos.Include("~/Content/Style.css");
            bundles.Add(estilos);

            ScriptBundle scripts = new ScriptBundle("~/bundles/scripts");
            scripts.Include("~/Scripts/jquery-2.1.1.js");
            scripts.Include("~/Scripts/jquery.validate.js");
            scripts.Include("~/Scripts/jquery.validate.unobtrusive.js");
            bundles.Add(scripts);
        }
开发者ID:rubenskm,项目名称:Alura,代码行数:14,代码来源:BundleConfig.cs

示例7: RegisterBundles

        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        /// <summary>
        /// Registers the bundles.
        /// </summary>
        /// <param name="bundles">The bundles.</param>
        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/profile.js",

                      "~/Scripts/respond.js"));

            bundles.Add(new StyleBundle("~/bundles/css").Include(
                      "~/Content/bootstrap.css",
                      "~/Content/Fyotx.css",
                      "~/Content/site.css"));

            // Adding support for DropZone
            bundles.Add(new ScriptBundle("~/bundles/dropzonescripts").Include(
                     "~/Scripts/dropzone/dropzone.js"));

            var DZSB = new StyleBundle("~/bundles/dropzonecss");
            DZSB.Include("~/Scripts/dropzone/basic.css",
                     "~/Scripts/dropzone/dropzone.css");
            bundles.Add(DZSB);

            // Adding support for Star Rating...
            bundles.Add(new ScriptBundle("~/bundles/starrating").Include(
                "~/Scripts/bootstrap-star-rating/js/star-rating.js"));

            var SRSB = new StyleBundle("~/bundles/star-rating");
            SRSB.Include("~/Scripts/bootstrap-star-rating/css/star-rating.css");
            SRSB.Include("~/Scripts/bootstrap-star-rating/css/theme-krajee-svg.css");
            SRSB.Include("~/Scripts/bootstrap-star-rating/css/theme-krajee-fa.css");
            bundles.Add(SRSB);

            bundles.Add(new StyleBundle("~/Content/httpErrors").Include(
              "~/Content/HttpErrorPages/Layout.css"));

            // Set EnableOptimizations to false for debugging. For more information,
            // visit http://go.microsoft.com/fwlink/?LinkId=301862
            BundleTable.EnableOptimizations = false;
        }
开发者ID:computamike,项目名称:App-Utility-Store,代码行数:55,代码来源:BundleConfig.cs

示例8: RegisterBundles

        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.IgnoreList.Clear();
            bundles.DirectoryFilter.Clear();
            bundles.DirectoryFilter.Ignore("font-awesome.*", OptimizationMode.Always);

            var css = new StyleBundle("~/bundles/css");
            css.Include("~/content/css/font-awesome.css", new CssRewriteUrlTransform());
            css.Include("~/content/css/kube.min.css");
            css.Include("~/content/css/kube.responsive.min.css");
            css.Include("~/content/css/forms.css");
            css.Include("~/content/css/site.css");

            bundles.Add(css);
        }
开发者ID:kijanawoodard,项目名称:Blog,代码行数:15,代码来源:BundleConfig.cs

示例9: Register

        public static void Register(IKernel kernel)
        {
            if (!CurrentRequestData.DatabaseIsInstalled)
                return;

            foreach (IStylesheetBundle bundle in kernel.GetAll<IStylesheetBundle>())
            {
                var styleBundle = new StyleBundle(bundle.Url);
                foreach (string file in bundle.Files)
                {
                    styleBundle.Include(file);
                }
                BundleTable.Bundles.Add(styleBundle);
            }
            foreach (IScriptBundle bundle in kernel.GetAll<IScriptBundle>())
            {
                var styleBundle = new ScriptBundle(bundle.Url);
                foreach (string file in bundle.Files)
                {
                    styleBundle.Include(file);
                }
                BundleTable.Bundles.Add(styleBundle);
            }
            BundleTable.EnableOptimizations = kernel.Get<BundlingSettings>().EnableOptimisations;
        }
开发者ID:neozhu,项目名称:MrCMS,代码行数:25,代码来源:BundleRegistration.cs

示例10: RegisterBundles

        // 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 ScriptBundle("~/bundles/app").Include(
                        "~/Scripts/app/*.js"));
            bundles.Add(new ScriptBundle("~/bundles/frameworks").Include(
                        "~/Scripts/frameworks/*.js"));

            var cssbundle = new StyleBundle("~/Content/css");
            cssbundle.Include(
                      "~/Content/bootstrap.css",
                      "~/Content/site.css",
                      "~/Content/less/*.less");
            cssbundle.Transforms.Add(new LessTransform());

            bundles.Add(cssbundle);

            BundleTable.EnableOptimizations = true;
        }
开发者ID:okusnadi,项目名称:Asp.Net-MVC-5-Bootstrap-Application,代码行数:34,代码来源:BundleConfig.cs

示例11: RegisterBundles

        public static void RegisterBundles(BundleCollection bundles)
        {
            StyleBundle cssBundle = new StyleBundle("~/Content/IntelliDocsCSS");
            cssBundle.Include(
                "~/Content/bootstrap.css",
                "~/Content/font-awesome.css",
                "~/Content/jquery.auto-complete.css",
                "~/Content/IntelliDocs.css"
                );
            bundles.Add(cssBundle);

            ScriptBundle jsBundle = new ScriptBundle("~/Scripts/IntelliDocsJS");
            jsBundle.Include(
                "~/Scripts/jquery-{version}.js",
                "~/Scripts/jquery.form.js",
                "~/Scripts/jquery.auto-complete.js",
                "~/Scripts/bootstrap.js",
                "~/Scripts/IntelliDocs/IntelliDocs.js"
                );
            bundles.Add(jsBundle);

            ScriptBundle jqueryValBundle = new ScriptBundle("~/Scripts/jQueryVal");
            jqueryValBundle.Include(
                "~/Scripts/jquery.validate.js",
                "~/Scripts/jquery.validate.unobtrusive.js"
                );
            bundles.Add(jqueryValBundle);
        }
开发者ID:cgrady17,项目名称:Ictect.IntelliDocs,代码行数:28,代码来源:BundleConfig.cs

示例12: RegisterBundles

        public static void RegisterBundles(BundleCollection bundles)
        {
            {
                bundles.UseCdn = true;

                StyleBundle siteCSS = new StyleBundle("~/Content/siteCSS");
                siteCSS.Include("~/Content/navbar_style.css",
                  "~/Content/site_style.css");
                bundles.Add(siteCSS);

                StyleBundle bootstrapCSS = new StyleBundle("~/Content/bootstrapCSS", "//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css");
                bootstrapCSS.Include("~/Content/bootstrap.min.css");
                bundles.Add(bootstrapCSS);

                StyleBundle fontawesomeCSS = new StyleBundle("~/Content/fontawesomeCSS", "//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css");
                fontawesomeCSS.Include("~/Content/font-awesome.css");
                bundles.Add(fontawesomeCSS);

                ScriptBundle siteJS = new ScriptBundle("~/Scripts/siteJS");
                siteJS.Include("~/Scripts/jquery-2.1.4.min.js", "~/Scripts/bootstrap.min.js");
                bundles.Add(siteJS);

                BundleTable.EnableOptimizations = true;
            }
        }
开发者ID:alisonvogel12,项目名称:personalsite,代码行数:25,代码来源:BundleConfig.cs

示例13: RegisterBundles

        public static void RegisterBundles(BundleCollection bundles)
        {
            var orderer= new AsIsBundleOrderer();

            StyleBundle bootstrapBundle = new StyleBundle("~/Templates/Template1/Bootstrap");
            bootstrapBundle.Orderer = orderer;
            bootstrapBundle.Include(
                "~/Templates/Template1/css/bootstrap.css",
                "~/Templates/Template1/css/bootstrap-responsive.css",
                "~/Templates/Template1/css/font-awesome.css",
                "~/Templates/Template1/css/bootstrap-responsive.min.css");
            bundles.Add(bootstrapBundle);

            var jqueryBundle=new ScriptBundle("~/Templates/Template1/Jquery").Include(
                 "~/Templates/Template1/js/vendor/modernizr-2.6.2.min.js",
                "~/Templates/Template1/js/vendor/jquery-1.9.1.min.js",
                "~/Templates/Template1/js/jquery-ui-1.10.3.custom.min.js"
                ).ForceOrdered();
            //jqueryBundle.Orderer= orderer;
            bundles.Add(jqueryBundle);

            //bundles.FileSetOrderList.Clear();
            //BundleFileSetOrdering orderList = new BundleFileSetOrdering("modernizr");
            //orderList.Files.Add("~/Templates/Template1/css/bootstrap.css");
            //orderList.Files.Add("~/Templates/Template1/css/bootstrap-responsive.css");
            //orderList.Files.Add("~/Templates/Template1/css/font-awesome.css");
            //orderList.Files.Add("~/Templates/Template1/css/bootstrap-responsive.min.css");

            //orderList.Files.Add("~/Templates/Template1/js/vendor/modernizr-2.6.2.min.js");
            //orderList.Files.Add("~/Templates/Template1/js/vendor/jquery-1.9.1.min.js");
            //orderList.Files.Add("~/Templates/Template1/js/jquery-ui-1.10.3.custom.min.js");
            //bundles.FileSetOrderList.Add(orderList);
        }
开发者ID:prasanjeetd,项目名称:myshop,代码行数:33,代码来源:BundleConfig.cs

示例14: RegisterBundles

        // 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",
                        "~/Scripts/jquery-migrate-{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-*"));

            var CustomBund = new ScriptBundle("~/bundles/custom");
            CustomBund.Include("~/Scripts/jmp3.js");
            //CustomBund.Include("~/Scripts/gallery.js");
            CustomBund.Include("~/Scripts/Easing.js");
            CustomBund.Include("~/Scripts/jqFancyTransitions.1.8.js");

            bundles.Add(CustomBund);

            var Bund = new StyleBundle("~/Content/css");
            Bund.Include("~/Content/site.css");
            Bund.Include("~/Content/calendar.css");

            bundles.Add(Bund);

            bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
                        "~/Content/themes/base/jquery-ui.css",
                        "~/Content/themes/base/jquery.ui.core.css",
                        "~/Content/themes/base/jquery.ui.resizable.css",
                        "~/Content/themes/base/jquery.ui.selectable.css",
                        "~/Content/themes/base/jquery.ui.accordion.css",
                        "~/Content/themes/base/jquery.ui.autocomplete.css",
                        "~/Content/themes/base/jquery.ui.button.css",
                        "~/Content/themes/base/jquery.ui.dialog.css",
                        "~/Content/themes/base/jquery.ui.slider.css",
                        "~/Content/themes/base/jquery.ui.tabs.css",
                        "~/Content/themes/base/jquery.ui.datepicker.css",
                        "~/Content/themes/base/jquery.ui.progressbar.css",
                        "~/Content/themes/base/jquery.ui.theme.css"));
        }
开发者ID:ThePublicTheater,项目名称:NYSF,代码行数:48,代码来源:BundleConfig.cs

示例15: RegisterBundles

        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.UseCdn = true;
            var cssTransformer = new StyleTransformer();
            var jsTransformer = new ScriptTransformer();
            var nullOrderer = new NullOrderer();

            var cssBundle = new StyleBundle("~/bundles/css");
            cssBundle.Include("~/Content/Site.less", "~/Content/bootstrap/bootstrap.less");
            cssBundle.Transforms.Add(cssTransformer);
            cssBundle.Orderer = nullOrderer;
            bundles.Add(cssBundle);

            var commonBundle = new ScriptBundle("~/bundles/common");
            commonBundle.Include("~/Scripts/jquery-{version}.js")
                        .Include("~/Scripts/jquery.validate*")
                        .Include("~/Scripts/modernizr-*")
                        .Include("~/Scripts/respond.js")
                        .Include("~/Scripts/knockout-{version}.js");
            commonBundle.Transforms.Add(jsTransformer);
            commonBundle.Orderer = nullOrderer;
            bundles.Add(commonBundle);

            //var jqueryBundle = new ScriptBundle("~/bundles/jquery");
            //jqueryBundle.Include("~/Scripts/jquery-{version}.js");
            //jqueryBundle.Transforms.Add(jsTransformer);
            //jqueryBundle.Orderer = nullOrderer;
            //bundles.Add(jqueryBundle);

            //var jqueryvalBundle = new ScriptBundle("~/bundles/jqueryval");
            //jqueryvalBundle.Include("~/Scripts/jquery.validate*");
            //jqueryvalBundle.Transforms.Add(jsTransformer);
            //jqueryvalBundle.Orderer = nullOrderer;
            //bundles.Add(jqueryvalBundle);

            //// 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.

            //var modernizrBundle = new ScriptBundle("~/bundles/modernizr");
            //modernizrBundle.Include("~/Scripts/modernizr-*");
            //modernizrBundle.Transforms.Add(jsTransformer);
            //modernizrBundle.Orderer = nullOrderer;
            //bundles.Add(modernizrBundle);

            //var bootstrapBundle = new ScriptBundle("~/bundles/bootstrap");
            //bootstrapBundle.Include("~/Scripts/bootstrap.js", "~/Scripts/respond.js");
            //bootstrapBundle.Transforms.Add(jsTransformer);
            //bootstrapBundle.Orderer = nullOrderer;
            //bundles.Add(bootstrapBundle);

            //var knockoutBundle = new ScriptBundle("~/bundles/knockout");
            //knockoutBundle.Include("~/Scripts/knockout-{version}.js");
            //knockoutBundle.Transforms.Add(jsTransformer);
            //knockoutBundle.Orderer = nullOrderer;
            //bundles.Add(knockoutBundle);
        }
开发者ID:diluent,项目名称:TaskTracker,代码行数:57,代码来源:BundleConfig.cs


注:本文中的StyleBundle.Include方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。