OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library polymer.test.transfom.common; | 5 library polymer.test.build.common; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 | 8 |
9 import 'package:barback/barback.dart'; | 9 import 'package:barback/barback.dart'; |
10 import 'package:stack_trace/stack_trace.dart'; | 10 import 'package:stack_trace/stack_trace.dart'; |
11 import 'package:unittest/unittest.dart'; | 11 import 'package:unittest/unittest.dart'; |
12 | 12 |
13 String idToString(AssetId id) => '${id.package}|${id.path}'; | 13 String idToString(AssetId id) => '${id.package}|${id.path}'; |
14 AssetId idFromString(String s) { | 14 AssetId idFromString(String s) { |
15 int index = s.indexOf('|'); | 15 int index = s.indexOf('|'); |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 } | 102 } |
103 | 103 |
104 // TODO(jmesserly): this is .debug to workaround issue 13046. | 104 // TODO(jmesserly): this is .debug to workaround issue 13046. |
105 const SHADOW_DOM_TAG = | 105 const SHADOW_DOM_TAG = |
106 '<script src="packages/shadow_dom/shadow_dom.debug.js"></script>\n'; | 106 '<script src="packages/shadow_dom/shadow_dom.debug.js"></script>\n'; |
107 | 107 |
108 const INTEROP_TAG = '<script src="packages/browser/interop.js"></script>\n'; | 108 const INTEROP_TAG = '<script src="packages/browser/interop.js"></script>\n'; |
109 | 109 |
110 const PKG_JS_INTEROP_TAG = | 110 const PKG_JS_INTEROP_TAG = |
111 '<script src="packages/js/dart_interop.js"></script>\n'; | 111 '<script src="packages/js/dart_interop.js"></script>\n'; |
OLD | NEW |