Skip to content

Commit 8c671b9

Browse files
committed
Add JavaScriptEngineSwitcher v8 config section so ClearScript init doesn't fail
References Taritsyn/JavaScriptEngineSwitcher#12
1 parent c002df3 commit 8c671b9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/React.Sample.Mvc4/Web.config

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55
-->
66

77
<configuration>
8+
<configSections>
9+
<sectionGroup name="jsEngineSwitcher">
10+
<section name="v8" type="JavaScriptEngineSwitcher.V8.Configuration.V8Configuration, JavaScriptEngineSwitcher.V8" />
11+
</sectionGroup>
12+
</configSections>
813
<appSettings>
914
<add key="webpages:Version" value="2.0.0.0" />
1015
<add key="webpages:Enabled" value="false" />
@@ -57,4 +62,7 @@
5762
</assemblyBinding>
5863
</runtime>
5964

65+
<jsEngineSwitcher xmlns="http://tempuri.org/JavaScriptEngineSwitcher.Configuration.xsd">
66+
</jsEngineSwitcher>
67+
6068
</configuration>

0 commit comments

Comments
 (0)