using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Optimization;

namespace BeachOrder.App_Start
{
    public class BundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.UseCdn = true;

            BundleTable.EnableOptimizations = true;

            bundles.Add(new StyleBundle("~/bundles/materialCss").Include(
                        "~/Content/material/assets/css/bootstrap.min.css",
                       "~/Content/material/assets/css/icon.css",
                        "~/Content/material/assets/css/roboto.css",
                        "~/Content/material/assets/css/font-awesome.min.css",
                        "~/Content/material/assets/css/material-kit.css",
                        "~/Content/material/assets/css/demo.css",
                        "~/Content/material/assets/icoroll/icomoon/style.css",
                        "~/Content/material/assets/icoroll/icomoon/icomoonstyle.css",
                        "~/Content/material/assets/css/materialStyle.css",
                        "~/Content/material/assets/uRoll/uRollStyle.css"
                ));

            bundles.Add(new ScriptBundle("~/bundles/materialJS").Include(
                        "~/Content/material/assets/js/libs/modernizr-2.6.2.min.js",
                        "~/Scripts/jquery-1.10.2.js",
                        "~/Scripts/qrcode/jsqrcode-combined.min.js",
                        "~/Scripts/knockout-3.4.2.js",
                        "~/Scripts/knockout.mapping-latest.js",
                        "~/Scripts/knockout.validation.js",
                        "~/Content/material/assets/js/bootstrap.min.js",
                        "~/Content/material/assets/uRoll/uRoll.js",
                        "~/Content/material/assets/js/stickyHeaders.js",
                        "~/Apps/helpers.js"

                ));

            bundles.Add(new ScriptBundle("~/bundles/afterBindings").Include(
                        "~/Content/material/assets/js/material-kit.js",
                        "~/Content/Templete/js/stickyHeaders.js",
                        "~/Content/material/assets/js/material.min.js", 
                        "~/apps/pos/afterBinding.js"
                ));
            bundles.Add(new ScriptBundle("~/bundles/qrcode").Include(
                "~/Scripts/qrcode/qrcode.js"
                ));
            bundles.Add(new ScriptBundle("~/bundles/SignalRFiles").Include(
                   "~/Scripts/jquery.signalR-2.2.3.min.js",
                   "~/signalr/hubs",
                   "~/Apps/appsignalr.js"
               ));
        }
    }
}