Skip to content

Commit 5ae4b2e

Browse files
authored
Changed "Html.ReactInitJavascript" to "Html.ReactInitJavaScript" (#1198)
Struggled with this for a while, and I couldn't find a reason why "Html.ReactInitJavascript" didn't work. Saw a post on stackoverflow where "Html.ReactInitJavaScript" was used, and noticed that the S should be uppercase.
1 parent 7e5c2ab commit 5ae4b2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/jekyll/bundling/webpack.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Reference the built bundle directly in a script tag at the end of the page in `_
9191
<script src="/dist/runtime.js"></script>
9292
<script src="/dist/vendor.js"></script>
9393
<script src="/dist/main.js"></script>
94-
@Html.ReactInitJavascript()
94+
@Html.ReactInitJavaScript()
9595
</body>
9696
```
9797

@@ -121,6 +121,6 @@ Then, make calls to `@Html.ReactGetScriptPaths()` and `@Html.ReactGetStylePaths(
121121
@RenderBody()
122122

123123
@Html.ReactGetScriptPaths()
124-
@Html.ReactInitJavascript()
124+
@Html.ReactInitJavaScript()
125125
</body>
126126
```

0 commit comments

Comments
 (0)