| Index: dart/site/try/poi/patcher.js
|
| diff --git a/dart/site/try/poi/patcher.js b/dart/site/try/poi/patcher.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d6f0c4bdbf9cb9ec5095d25eba73ee515328e91a
|
| --- /dev/null
|
| +++ b/dart/site/try/poi/patcher.js
|
| @@ -0,0 +1,15 @@
|
| +// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +;(function(orig) {
|
| + function patcher(main, args) {
|
| + this.$dart_patch && this.$dart_unsafe_eval.patch($dart_patch);
|
| + if (orig) {
|
| + return orig(main, args);
|
| + } else {
|
| + return main(args);
|
| + }
|
| + }
|
| + this.dartMainRunner = patcher;
|
| +})(this.dartMainRunner);
|
|
|