Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ampproject/amphtml
/
Class
test/unit/test-template.js:38–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
}
37
38
class
TemplateImplCheckingViewer extends TemplateImpl {
39
render(data) {
40
if
(!this.viewerCanRenderTemplates()) {
41
throw
new
Error();
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected