Merge "Add URL parameters for enabling Polymer 2 polyfills"
This commit is contained in:
@@ -123,6 +123,15 @@ public class IndexHtmlUtil {
|
|||||||
if (urlParameterMap.containsKey("p2")) {
|
if (urlParameterMap.containsKey("p2")) {
|
||||||
data.put("polymer2", "true");
|
data.put("polymer2", "true");
|
||||||
}
|
}
|
||||||
|
if (urlParameterMap.containsKey("ce")) {
|
||||||
|
data.put("polyfillCE", "true");
|
||||||
|
}
|
||||||
|
if (urlParameterMap.containsKey("sd")) {
|
||||||
|
data.put("polyfillSD", "true");
|
||||||
|
}
|
||||||
|
if (urlParameterMap.containsKey("sc")) {
|
||||||
|
data.put("polyfillSC", "true");
|
||||||
|
}
|
||||||
return data.build();
|
return data.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user