Add browser-compatible version.

Still need to find a way to test it.

R=floitsch@google.com

Review URL: https://codereview.chromium.org//1612003002 .
22 files changed
tree: ef92bb0b557b86a3659d04b9c9400fcdad49dc1c
  1. lib/
  2. test/
  3. tool/
  4. .gitignore
  5. .test_config
  6. .travis.yml
  7. AUTHORS
  8. CHANGELOG.md
  9. CONTRIBUTING.md
  10. LICENSE
  11. pubspec.yaml
  12. README.md
README.md

Resource

Reading data from package contents and files.

Features and bugs

The current version of resource.dart depends on the dart:io library, and doesn't work in the browser. Use package:resource/browser_resource.dart in the browser until further notice.

Please file feature requests and bugs at the issue tracker.