【问题标题】:Dart-polymer strange errorsDart-polymer 奇怪的错误
【发布时间】:2014-02-05 20:18:38
【问题描述】:

我正在尝试创建简单的聚合物飞镖应用程序,但飞镖编辑器给了我一些奇怪的错误,例如:

Unexpected end tag (head). Ignored.

definition for Polymer element with tag name "login-window" not found.

这是该应用程序的简化版本:git repo

这有什么问题?

【问题讨论】:

    标签: dart dart-polymer dart-editor


    【解决方案1】:

    在这行index.html 中,您拼错了link。结果,解析器仍在寻找结束 </ling> 标记。当它没有找到时,它会忽略关闭的</head>,以防止标签嵌套不当。

    <ling rel="import" href="web_compo/login_window.html">
    

    【讨论】:

      猜你喜欢
      • 2015-07-04
      • 2022-07-20
      • 1970-01-01
      • 1970-01-01
      • 2010-11-17
      • 1970-01-01
      • 1970-01-01
      • 2014-10-11
      • 2012-04-27
      相关资源
      最近更新 更多