DartEditor 1.4.3全新安装

时间:2014-06-19 21:53:31

标签: dart dart-editor

我加载了dart 1.4.3的新版本。当我试图在Dartium中运行我的应用程序时,我得到以下堆栈跟踪并且应用程序不运行。我不知道这意味着什么。

我在dart中的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 ...

1 个答案:

答案 0 :(得分:0)

问题在于聚合物0.11.0 +5。您可以使用旧版本的聚合物并避免错误。在pubspec.yaml文件中指定聚合物的版本。我使用'> = 0.10.0< 0.11.0'。