2014-06-19 29 views
1

我裝上了新版本的dart 1.4.3。當我試圖在Dartium中運行我的應用程序時,出現以下堆棧跟蹤並且應用程序無法運行。我不知道這是什麼意思。在鏢DartEditor 1.4.3新安裝

我index.html文件堆棧跟蹤說\打破例外:的ReferenceError:平臺不定義

感謝

** 
* @license 
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 
* This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt 
* The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 
* The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt 
* Code distributed by Google as part of the polymer project is also 
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt 
*/ 
// @version: 0.3.1-604ba08 
window.PolymerGestures={},function(a){var b={shadow:function(a){return a?a.shadowRoot||a.webkitShadowRoot:void 0},canTarget:function(a){return a&&Boolean(a.elementFromPoint)},targetingShadow:function(a){var b=this.shadow(a);return this.canTarget(b)?b:void 0},olderShadow:function(a){var b=a.olderShadowRoot;if(!b){var c=a.querySelector("shadow");c&&(b=c.olderShadowRoot)}return b},allShadows:function(a){for(var b=[],c=this.shadow(a);c;)b.push(c),c=this.olderShadow(c);return b},searchRoot:function(a,b,c){if(a){var d,e,f=a.elementFromPoint(b,c);for(e=this.targetingShadow(f);e;){if(d=e.elementFromPoint(b,c)){var g=this.targetingShadow(d);return ... 
+0

這仍然是一個問題? –

回答

0

的問題是在聚合物0.11.0 +5。您可以使用較舊版本的聚合物並避免該錯誤。在你的pubspec.yaml文件中指定聚合物的版本。我用'> = 0.10.0 < 0.11.0'。