Skip to content

Commit dec3ef4

Browse files
authored
Fix docs codepen by reverting to 2.5.1 for now (#2448)
It seems like 3.0.0 doesn't work if you use the UMD bundle. Reverting it to 2.5.1 for now to address #2447
1 parent 4b93d3a commit dec3ef4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ $(".language-jsx").each(function() {
1212
var prefill = {
1313
"title":"RJSF example",
1414
"tags":[],
15-
"scripts":["https://cdnjs.cloudflare.com/ajax/libs/react/16.13.1/umd/react.production.min.js","https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.13.1/umd/react-dom.production.min.js","https://unpkg.com/@rjsf/core/dist/react-jsonschema-form.js"],
15+
"scripts":["https://cdnjs.cloudflare.com/ajax/libs/react/16.13.1/umd/react.production.min.js","https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.13.1/umd/react-dom.production.min.js","https://unpkg.com/@rjsf/core@2.5.1/dist/react-jsonschema-form.js"],
1616
"stylesheets":["//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"]
1717
};
1818
var div = $("<div><div class=\"codepen\" data-height=\"400\" data-theme-id=\"light\" data-default-tab=\"js,result\" data-prefill='" + JSON.stringify(prefill) + " '>\"<pre data-lang=\"html\">\n&lt;div id=\"app\">&lt;/div></pre><pre data-lang=\"babel\">" + text + "</pre></div></div>").css("margin", "30px 0px");

0 commit comments

Comments
 (0)