| Index: test_sources/non_transformed/web/test.js
|
| diff --git a/test_sources/non_transformed/web/test.js b/test_sources/non_transformed/web/test.js
|
| index 82b875e61b74067814f5c8566ab3f8838dffa0d0..f89d933ec89bad817a99683ac93a5c4721261cdb 100644
|
| --- a/test_sources/non_transformed/web/test.js
|
| +++ b/test_sources/non_transformed/web/test.js
|
| @@ -43,48 +43,3 @@ function roundTrip(e) {
|
| function isNull(value) {
|
| return value === null;
|
| }
|
| -
|
| -// hand-generated export code derived from test.dart
|
| -
|
| -window.dart = window.dart || {};
|
| -
|
| -window.dart.Object = function DartObject() {
|
| - throw "not allowed";
|
| -};
|
| -
|
| -window.dart.Object._wrapDartObject = function(dartObject) {
|
| - var o = Object.create(window.dart.Object.prototype);
|
| - o.__dart_object__ = dartObject;
|
| - return o;
|
| -};
|
| -
|
| -_export_dart_test(dart);
|
| -
|
| -function _export_dart_test(parent) {
|
| - var lib = parent.test = {};
|
| - _export_dart_test_library(lib);
|
| -}
|
| -
|
| -function _export_dart_test_library(parent) {
|
| - var lib = parent.library = {};
|
| - _export_test_library_ExportMe(lib);
|
| -}
|
| -
|
| -function _export_test_library_ExportMe(parent) {
|
| - var constructor = parent.ExportMe = function ExportMeJs() {
|
| - this.__dart_object__ = constructor._new();
|
| - };
|
| - constructor.prototype = Object.create(dart.Object.prototype);
|
| - constructor.prototype.constructor = constructor;
|
| - constructor._wrapDartObject = function(dartObject) {
|
| - var o = Object.create(constructor.prototype);
|
| - o.__dart_object__ = dartObject;
|
| - return o;
|
| - };
|
| -
|
| - // named constructor
|
| - constructor.named = function ExportMeJs(name) {
|
| - this.__dart_object__ = constructor._new_named(name);
|
| - };
|
| - constructor.named.prototype = constructor.prototype;
|
| -}
|
|
|