The below code throws the error: Uncaught DOMException: Failed to construct 'CustomElement': The result must not have attributes
. Does anyone know why?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<script src="/bower_components/webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="/bower_components/google-map/google-map-poly.html">
</head>
<body>
<script>
document.createElement('google-map-poly')
</script>
</body>
</html>