Skip to content

Commit

Permalink
Added Polyfill and fix on Symbol for IE11
Browse files Browse the repository at this point in the history
Added Polyfill and fix on Symbol for IE11
  • Loading branch information
Guillaume ZAHRA committed Apr 27, 2018
1 parent 61701d5 commit 8ce2712
Show file tree
Hide file tree
Showing 16 changed files with 4,825 additions and 0 deletions.
Binary file added .vs/Blazor.Polyfill/v15/.suo
Binary file not shown.
Empty file.
Binary file not shown.
1,023 changes: 1,023 additions & 0 deletions .vs/config/applicationhost.config

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions Blazor.Polyfill.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27520.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Daddoon.Blazor.Polyfill.JS", "src\Daddoon.Blazor.Polyfill.JS\Daddoon.Blazor.Polyfill.JS.csproj", "{A0860159-2B9E-4103-A8DE-3B5F43269128}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A0860159-2B9E-4103-A8DE-3B5F43269128}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A0860159-2B9E-4103-A8DE-3B5F43269128}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A0860159-2B9E-4103-A8DE-3B5F43269128}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A0860159-2B9E-4103-A8DE-3B5F43269128}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {11A558BC-26A4-42F9-AF68-58B289162C7D}
EndGlobalSection
EndGlobal
2 changes: 2 additions & 0 deletions src/Daddoon.Blazor.Polyfill.JS/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
dist/
31 changes: 31 additions & 0 deletions src/Daddoon.Blazor.Polyfill.JS/Daddoon.Blazor.Polyfill.JS.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.0</TargetFramework>
<TypeScriptCompileBlocked>true</TypeScriptCompileBlocked>
<TypeScriptToolsVersion>Latest</TypeScriptToolsVersion>
<DefaultItemExcludes>${DefaultItemExcludes};node_modules\**</DefaultItemExcludes>

<!-- VS's FastUpToDateCheck doesn't consider .ts file changes, so it's necessary to disable it to get incremental builds to work correctly (albeit not as fast as if FastUpToDateCheck did work for them) -->
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="2.0.0" />
<WebpackInputs Include="**\*.ts" Exclude="node_modules\**" />
</ItemGroup>

<ItemGroup>
<Folder Include="dist\" />
</ItemGroup>

<Target Name="RunWebpack" BeforeTargets="Build" Inputs="@(WebpackInputs)" Outputs="dist\blazor.polyfill.js">
<RemoveDir Directories="dist" />
<Exec Command="npm install --save core-js" />
<Exec Command="npm install --save whatwg-fetch" />
<Exec Command="npm run build" />
<ItemGroup>
<EmbeddedResource Include="dist\blazor.polyfill.js" LogicalName="blazor./blazor.polyfill.js" />
</ItemGroup>
</Target>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">C:\Appizeo\Dev\Allogaia\Allogaia\BlazorComponents\Blazor.Polyfill\Blazor.Polyfill\src\Daddoon.Blazor.Polyfill.JS\obj\project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\blyzz\.nuget\packages\;C:\Program Files (x86)\Microsoft SDKs\NuGetPackagesFallback\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">4.6.0</NuGetToolVersion>
</PropertyGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.0.0\build\netcoreapp2.0\Microsoft.NETCore.App.props" Condition="Exists('C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.0.0\build\netcoreapp2.0\Microsoft.NETCore.App.props')" />
</ImportGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\netstandard.library\2.0.0\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('C:\Program Files\dotnet\sdk\NuGetFallbackFolder\netstandard.library\2.0.0\build\netstandard2.0\NETStandard.Library.targets')" />
<Import Project="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.0.0\build\netcoreapp2.0\Microsoft.NETCore.App.targets" Condition="Exists('C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.0.0\build\netcoreapp2.0\Microsoft.NETCore.App.targets')" />
</ImportGroup>
</Project>
Binary file not shown.
Loading

0 comments on commit 8ce2712

Please sign in to comment.