From 5d3a968e031ab8dff5c07e1d6bb4f196fb82bfa0 Mon Sep 17 00:00:00 2001 From: "basil.belokon" Date: Sun, 3 Dec 2017 15:58:09 +0600 Subject: Manipulation: Add support for scripts with module type Fixes gh-3871 Close gh-3869 --- src/manipulation/var/rscriptType.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/manipulation/var') diff --git a/src/manipulation/var/rscriptType.js b/src/manipulation/var/rscriptType.js index 7237c8a31..cd1430a7e 100644 --- a/src/manipulation/var/rscriptType.js +++ b/src/manipulation/var/rscriptType.js @@ -1,5 +1,5 @@ define( function() { "use strict"; - return ( /^$|\/(?:java|ecma)script/i ); + return ( /^$|^module$|\/(?:java|ecma)script/i ); } ); -- cgit v1.2.3