Esempio n. 1
0
        public static void IncludePluginScript(this ScriptRegister register, string script, int?order = null)
        {
            string path = string.Format("/Plugins/Widgets.OwlCarousel/Scripts/{0}", script);

            register.IncludeExternal(path, order);
        }
Esempio n. 2
0
        public static void IncludePluginScript(this ScriptRegister register, string script, int?order = null)
        {
            string path = string.Format("/Plugins/Maintenance.Watchdog/Scripts/{0}", script);

            register.IncludeExternal(path, order);
        }
Esempio n. 3
0
        public static void IncludePluginScript(this ScriptRegister register, string script, int?order = null, object htmlAttributes = null)
        {
            string path = string.Format("/Plugins/Messaging.Forums/Scripts/{0}", script);

            register.IncludeExternal(path, order, htmlAttributes);
        }
Esempio n. 4
0
 public static void IncludeJQueryValidate(this ScriptRegister register)
 {
     register.IncludeExternal("/Scripts/jquery.validate.js", order: DefaultOrder);
     register.IncludeExternal("/Scripts/jquery.validate.unobtrusive.min.js", order: DefaultOrder);
     register.IncludeExternal("/Scripts/jquery.unobtrusive-ajax.min.js", order: DefaultOrder);
 }