Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.86 KB | None | 0 0
  1. using System.Web;
  2. using System.Web.Optimization;
  3.  
  4. namespace ProjetoArquitetura
  5. {
  6.     public class BundleConfig
  7.     {
  8.         // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
  9.         public static void RegisterBundles(BundleCollection bundles)
  10.         {
  11.             bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
  12.                         "~/Scripts/jquery-{version}.js",
  13.                         "~/Scripts/jquery.unobtrusive-ajax.min.js"));
  14.  
  15.             bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
  16.                         "~/Scripts/jquery.validate*"));
  17.  
  18.             // Use the development version of Modernizr to develop with and learn from. Then, when you're
  19.             // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
  20.             bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
  21.                         "~/Scripts/modernizr-*"));
  22.  
  23.             bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
  24.                       "~/Scripts/bootstrap.js",
  25.                       "~/Scripts/respond.js"));
  26.  
  27.             bundles.Add(new StyleBundle("~/Content/css").Include(
  28.                       "~/Content/bootstrap.css",
  29.                       "~/Content/Site.css",
  30.                       "~/Content/dataTables.bootstrap.min.css",
  31.                       "~/Content/font-awesome.min.css"));
  32.  
  33.             bundles.Add(new ScriptBundle("~/bundles/datatable").Include(
  34.                     "~/Scripts/jquery.dataTables.min.js",
  35.                     "~/Scripts/dataTables.bootstrap.min.js",
  36.                     "~/Scripts/dataTable.js"));
  37.  
  38.             bundles.Add(new ScriptBundle("~/bundles/knockout").Include(
  39.                       "~/Scripts/knockout-3.4.1.js",
  40.                       "~/Scripts/knockout.mapping-latest.js"));
  41.         }
  42.     }
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement