Browse Source
Merge pull request #1511 from Xeevis/dev
Remove redundant type attributes
pull/1545/head
Halil İbrahim Kalkan
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with
10 additions and
10 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/TagHelpers/AbpTagHelperScriptService.cs
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bundling/Volo/Abp/AspNetCore/Mvc/UI/Bundling/TagHelpers/AbpTagHelperStyleService.cs
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Themes/Basic/Layouts/Account.cshtml
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Themes/Basic/Layouts/Application.cshtml
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Basic/Themes/Basic/Layouts/Empty.cshtml
|
|
|
@ -39,7 +39,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers |
|
|
|
|
|
|
|
protected override void AddHtmlTag(TagHelperContext context, TagHelperOutput output, string file) |
|
|
|
{ |
|
|
|
output.Content.AppendHtml($"<script src=\"{file}\" type=\"text/javascript\"></script>{Environment.NewLine}"); |
|
|
|
output.Content.AppendHtml($"<script src=\"{file}\"></script>{Environment.NewLine}"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -11,12 +11,12 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers |
|
|
|
public class AbpTagHelperStyleService : AbpTagHelperResourceService |
|
|
|
{ |
|
|
|
public AbpTagHelperStyleService( |
|
|
|
IBundleManager bundleManager, |
|
|
|
IBundleManager bundleManager, |
|
|
|
IWebContentFileProvider webContentFileProvider, |
|
|
|
IOptions<BundlingOptions> options, |
|
|
|
IHostingEnvironment hostingEnvironment |
|
|
|
) : base( |
|
|
|
bundleManager, |
|
|
|
bundleManager, |
|
|
|
webContentFileProvider, |
|
|
|
options, |
|
|
|
hostingEnvironment) |
|
|
|
@ -39,7 +39,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers |
|
|
|
|
|
|
|
protected override void AddHtmlTag(TagHelperContext context, TagHelperOutput output, string file) |
|
|
|
{ |
|
|
|
output.Content.AppendHtml($"<link rel=\"stylesheet\" type=\"text/css\" href=\"{file}\" />{Environment.NewLine}"); |
|
|
|
output.Content.AppendHtml($"<link rel=\"stylesheet\" href=\"{file}\" />{Environment.NewLine}"); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
@ -79,8 +79,8 @@ |
|
|
|
|
|
|
|
<abp-script-bundle name="@BasicThemeBundles.Scripts.Global" /> |
|
|
|
|
|
|
|
<script type="text/javascript" src="~/Abp/ApplicationConfigurationScript"></script> |
|
|
|
<script type="text/javascript" src="~/Abp/ServiceProxyScript"></script> |
|
|
|
<script src="~/Abp/ApplicationConfigurationScript"></script> |
|
|
|
<script src="~/Abp/ServiceProxyScript"></script> |
|
|
|
|
|
|
|
@await RenderSectionAsync("scripts", false) |
|
|
|
|
|
|
|
|
|
|
|
@ -64,8 +64,8 @@ |
|
|
|
|
|
|
|
<abp-script-bundle name="@BasicThemeBundles.Scripts.Global" /> |
|
|
|
|
|
|
|
<script type="text/javascript" src="~/Abp/ApplicationConfigurationScript"></script> |
|
|
|
<script type="text/javascript" src="~/Abp/ServiceProxyScript"></script> |
|
|
|
<script src="~/Abp/ApplicationConfigurationScript"></script> |
|
|
|
<script src="~/Abp/ServiceProxyScript"></script> |
|
|
|
|
|
|
|
@await Component.InvokeAsync(typeof(WidgetScriptsViewComponent)) |
|
|
|
|
|
|
|
|
|
|
|
@ -58,8 +58,8 @@ |
|
|
|
|
|
|
|
<abp-script-bundle name="@BasicThemeBundles.Scripts.Global" /> |
|
|
|
|
|
|
|
<script type="text/javascript" src="~/Abp/ApplicationConfigurationScript"></script> |
|
|
|
<script type="text/javascript" src="~/Abp/ServiceProxyScript"></script> |
|
|
|
<script src="~/Abp/ApplicationConfigurationScript"></script> |
|
|
|
<script src="~/Abp/ServiceProxyScript"></script> |
|
|
|
|
|
|
|
@await RenderSectionAsync("scripts", false) |
|
|
|
|
|
|
|
|