是什么导致这个Polymer.dart在Safari和Chrome中行为不端?

时间:2014-07-28 18:36:54

标签: dart dart-polymer

{post pub build)应用程序位于http://mycommunity.org

在Safari和Chrome中查看控制台。在前者中,有:

[Error] Element name could not be inferred.
    b (polymer.js, line 12)
    (anonymous function) (mycommunity.org, line 5709)
[Error] Element name could not be inferred.
    b (polymer.js, line 12)
    (anonymous function) (mycommunity.org, line 5917)
[Error] Element name could not be inferred.
    b (polymer.js, line 12)
[Log] +WovenApp (index.html_bootstrap.dart.js, line 8353)
[Log] +AddStuff (index.html_bootstrap.dart.js, line 8353)
[Log] +InboxList (index.html_bootstrap.dart.js, line 8353)
[Error] SyntaxError: DOM Exception 12: An invalid or illegal string was specified. (platform.js, line 13)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (current-user, line 0)
[Error] TypeError: 'null' is not an object (evaluating 'String(a.constructor).match(/^\s*function\s*(\S*)\s*\(/)[1]') (index.html_bootstrap.dart.js, line 1283)

1 个答案:

答案 0 :(得分:2)

哇,罪魁祸首就是我现在评论过的这条线。 (我甚至不确定那条线的确切问题是什么。)

https://github.com/DaveNotik/dart-stack/commit/5131fb225d068e23435759913f72d5346d4efc70#diff-53e52681924d78ddb4512d6f988c91cbR85

隐藏你的孩子,隐藏你的妻子,你的整个聚合物应用程序可以在没有太多通知的情况下破坏并且仅在dart2js之后。好的'Git,我重置了它工作的提交,并确定了突然没有的提交,并逐行完成。