Showing the changes to player/javascript.c (1 of 3 files). Show all
Unified · Split
| @@ -1256,7 +1256,7 @@ static void add_functions(js_State *J, struct script_ctx *ctx) · 1255 unmodified lines | ||
| 1256 | 1256 | |
| 1257 | 1257 | // main export of this file, used by cplayer to load js scripts |
| 1258 | 1258 | const struct mp_scripting mp_scripting_js = { |
| 1259 | − .name = "javascript", | |
| 1259 | + .name = "js", | |
| 1260 | 1260 | .file_ext = "js", |
| 1261 | 1261 | .load = s_load_javascript, |
| 1262 | 1262 | }; |