我无法弄清楚这个错误。我遵循了Chrome教程,但找不到。
holder.append("line") // attach a line
.style("stroke", "black") // colour the line
.attr("x1", xoneMap ) // x position of the first end of the line
.attr("y1", xtwoMap ) // y position of the first end of the line
.attr("x2", xtwoMap ) // x position of the second end of the line
.attr("y2", ytwoMap ); // y position of the second end of the line
{
"name": "tracking",
"version": "0.1",
"manifest.version": 2,
"description": "tracking students",
"browser_action": {
"default_icon": "icon.png"
}
}
答案 0 :(得分:1)
您的JSON配置中具有manifest.version
(带点分隔符)键,但是您应该具有manifest_version
(带下划线分隔符)键:
{
"name": "tracking",
"version": "0.1",
"manifest_version": 2,
"description": "tracking students",
"browser_action": {
"default_icon": "icon.png"
}
}