static JsPackageRepository() { var reglist = JsPackageRegistrationProvider.Packages.OrderBy(p => p.Name); foreach (var reg in reglist) { var package = new JsPackage { Name = reg.Name, Description = reg.Description }; var config = new JsPackageConfig(package); reg.ConfigureJsPackage(config); addTestScriptsToPackage(package); addScriptPathToPackage(package); addHtmlPathToPackage(package); packages.Add(config.Package); } }
public override void ConfigureJsPackage(JsPackageConfig config) { }
public override void ConfigureJsPackage(JsPackageConfig config) { config.AddDependency("~/Scripts/jquery.ui.widget.js"); config.AddDependency("~/Scripts/ui.message/ui.message.js"); }