├── CHANGELOG.md ├── pubspec.yaml ├── lib ├── interop.js └── dart.js ├── README.md └── LICENSE /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | ## 0.10.0+3 2 | 3 | * Deprecating package. No functional update. 4 | 5 | ## 0.10.0+2 - Mar 18, 2014 6 | 7 | * Last functional update. 8 | -------------------------------------------------------------------------------- /pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: browser 2 | version: 0.10.0+3 3 | author: "Dart Team " 4 | homepage: https://github.com/dart-lang/browser 5 | description: >- 6 | DEPRECATED package providing support for rewriting script tags 7 | to change a Dart file reference to the corresponding Javascript in 8 | browsers that don't support Dart. 9 | environment: 10 | sdk: ">=1.8.0 <2.0.0" 11 | -------------------------------------------------------------------------------- /lib/interop.js: -------------------------------------------------------------------------------- 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 3 | // BSD-style license that can be found in the LICENSE file. 4 | 5 | // TODO(jmesserly): remove this script after a deprecation period. 6 | if (typeof console == "object" && typeof console.warn == "function") { 7 | console.warn(' 27 | ``` 28 | 29 | If you do not wish to use pub, you may host a copy of this file locally instead. 30 | In this case, you will need to update it yourself as necessary. We reserve the 31 | right to move the old file in the repository, so we no longer recommend linking 32 | to it directly. 33 | 34 | # interop.js 35 | 36 | This script was required for dart:js interop to work, but it is no longer 37 | needed. The functionality is now supported by dart:js directly. 38 | 39 | If you previously had a script such as this, please remove it: 40 | 41 | ```html 42 | 43 | ``` 44 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright 2014, the Dart project authors. All rights reserved. 2 | Redistribution and use in source and binary forms, with or without 3 | modification, are permitted provided that the following conditions are 4 | met: 5 | 6 | * Redistributions of source code must retain the above copyright 7 | notice, this list of conditions and the following disclaimer. 8 | * Redistributions in binary form must reproduce the above 9 | copyright notice, this list of conditions and the following 10 | disclaimer in the documentation and/or other materials provided 11 | with the distribution. 12 | * Neither the name of Google Inc. nor the names of its 13 | contributors may be used to endorse or promote products derived 14 | from this software without specific prior written permission. 15 | 16 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 17 | "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 18 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 19 | A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 20 | OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 21 | SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 22 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24 | THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 26 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | --------------------------------------------------------------------------------