Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Oct 2, 2024
1 parent 291569e commit bf57800
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion example/google_jsapi_picker_example.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library google_jsapi_example;
library;

import 'dart:html';

Expand Down
2 changes: 1 addition & 1 deletion example/test_config.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library test_config;
library;

class AppOptions {
// The developer key needed for the picker API
Expand Down
4 changes: 2 additions & 2 deletions lib/picker.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library gapi_picker;
library;

import 'dart:async';
import 'dart:js';
Expand Down Expand Up @@ -32,7 +32,7 @@ class Picker {
_jsObject!.callMethod('setVisible', [visible]);
}

/// Return Future<null> on cancel
/// Throw on cancel
Future<PickerDataDocuments> pick() {
final completer = Completer<PickerDataDocuments>();
visible = true;
Expand Down
5 changes: 5 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,8 @@ dev_dependencies:
test: any
process_run: '>=1.0.0'
googleapis_auth: '>=1.6.0'
tekartik_js_utils:
git:
url: https://github.com/tekartik/js_utils.dart
ref: dart3a
path: js_utils
2 changes: 1 addition & 1 deletion test/all_test_browser.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library all_test_browser;
library;

import 'picker_test.dart' as picker_test;

Expand Down
2 changes: 1 addition & 1 deletion test/picker_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@TestOn('browser')
library picker_test;
library;

import 'dart:async';

Expand Down
2 changes: 1 addition & 1 deletion test/test_config.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library test_config;
library;

class AppOptions {
// The developer key needed for the picker API
Expand Down

0 comments on commit bf57800

Please sign in to comment.