diff --git a/lib/js.dart b/lib/js.dart index e0622c6..16def2a 100644 --- a/lib/js.dart +++ b/lib/js.dart @@ -125,7 +125,7 @@ List _pruneUndefined(arg1, arg2, arg3, arg4, arg5, arg6) { * Proxies to JavaScript objects. */ @proxy -class Proxy implements Serializable { +class Proxy implements Serializable { final js.JsObject _jsObject; Proxy._(this._jsObject); @@ -240,8 +240,7 @@ class _CallbackFunction implements Function { } /// A [Proxy] subtype to JavaScript functions. -class FunctionProxy extends Proxy - implements Serializable, Function { +class FunctionProxy extends Proxy implements Function { final js.JsFunction _jsFunction; final _thisArg; diff --git a/pubspec.yaml b/pubspec.yaml index 9df04f1..7c5e8e2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,5 +1,5 @@ name: js -version: 0.1.0 +version: 0.2.0 authors: - Dart Team - Alexandre Ardhuin @@ -7,9 +7,8 @@ description: Access JavaScript from Dart. homepage: https://github.com/dart-lang/js-interop dependencies: browser: '>=0.8.7' - meta: '>=0.8.7' dev_dependencies: ghpages_generator: '>=0.0.1' unittest: '>=0.8.7' environment: - sdk: '>=0.8.7' + sdk: '>0.8.7'