При использовании Angular.dart 0.9.10 с начальной загрузкой 3.1.1 и компиляции в Javascript я получаю уродливую трассировку стека, прикрепленную ниже.
Трассировка стека печатается в консоли каждый раз, когда я, например, фокусирую текстовое поле или ввожу текст.
Раньше это работало, поэтому мне интересно, является ли это ошибкой с реализацией shadow_dom?
На данный момент приложение довольно простое и корректно работает с Dartium. Та же проблема возникает после компиляции javascript как в Firefox, так и в Chrome.
Это работает, когда я удаляю строку ниже из index.html
<script src="packages/shadow_dom/shadow_dom.debug.js"></script>
Трассировка стека в чистом виде:
TypeError {stack: "TypeError: Object # has no method 'getAt…/packages/shadow_dom/shadow_dom.debug.js:2805:28)", message: "Object # has no method 'getAttribute'"} message: "Object # has no method 'getAttribute'" stack: "TypeError: Object # has no method 'getAttribute'↵ at Function.Sizzle.attr (http://localhost:8000/bower_components/jquery/dist/jquery.js:1422:9)↵ at Array. (http://localhost:8000/bower_components/jquery/dist/jquery.js:1618:25)↵ at http://localhost:8000/bower_components/jquery/dist/jquery.js:2116:22↵ at superMatcher (http://localhost:8000/bower_components/jquery/dist/jquery.js:2322:12)↵ at select (http://localhost:8000/bower_components/jquery/dist/jquery.js:2483:28)↵ at Function.Sizzle (http://localhost:8000/bower_components/jquery/dist/jquery.js:838:9)↵ at HTMLDocument.jQuery.event.handlers (http://localhost:8000/bower_components/jquery/dist/jquery.js:4416:48)↵ at HTMLDocument.jQuery.event.dispatch (http://localhost:8000/bower_components/jquery/dist/jquery.js:4353:40)↵ at Document.elemData.handle (http://localhost:8000/bower_components/jquery/dist/jquery.js:4057:28)↵ at invoke (http://localhost:8000/packages/shadow_dom/shadow_dom.debug.js:2805:28)" __proto__: Error constructor: function TypeError() { [native code] } name: "TypeError" stack: undefined __proto__: d "TypeError: Object # has no method 'getAttribute' at Function.Sizzle.attr (http://localhost:8000/bower_components/jquery/dist/jquery.js:1422:9) at Array. (http://localhost:8000/bower_components/jquery/dist/jquery.js:1618:25) at http://localhost:8000/bower_components/jquery/dist/jquery.js:2116:22 at superMatcher (http://localhost:8000/bower_components/jquery/dist/jquery.js:2322:12) at select (http://localhost:8000/bower_components/jquery/dist/jquery.js:2483:28) at Function.Sizzle (http://localhost:8000/bower_components/jquery/dist/jquery.js:838:9) at HTMLDocument.jQuery.event.handlers (http://localhost:8000/bower_components/jquery/dist/jquery.js:4416:48) at HTMLDocument.jQuery.event.dispatch (http://localhost:8000/bower_components/jquery/dist/jquery.js:4353:40) at Document.elemData.handle (http://localhost:8000/bower_components/jquery/dist/jquery.js:4057:28) at invoke (http://localhost:8000/packages/shadow_dom/shadow_dom.debug.js:2805:28)"
{stack: "TypeError: Object #<b> has no method 'getAttribute…00/packages/shadow_dom/shadow_dom.min.js:1:27285)", message: "Object #<b> has no method 'getAttribute'"} "TypeError: Object #<b> has no method 'getAttribute'
- person Daniel   schedule 11.04.2014