Skip to content

Commit

Permalink
remove outdated code and js dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jumperchen committed Mar 15, 2024
1 parent b2f6d7c commit 0510de5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
3 changes: 2 additions & 1 deletion lib/src/engine/socket.dart
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ class Socket extends EventEmitter {
opts['hostname'] = Uri.parse(opts['host']).host;
}

secure = opts['secure'] ?? false /*?? (window.location.protocol == 'https:')*/;
secure =
opts['secure'] ?? false /*?? (window.location.protocol == 'https:')*/;

if (opts['hostname'] != null && !opts.containsKey('port')) {
// if no port is specified manually, use the protocol default
Expand Down
19 changes: 0 additions & 19 deletions lib/src/engine/transport/js_array.dart

This file was deleted.

1 change: 0 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ environment:
dependencies:
logging: '^1.2.0'
socket_io_common: '^3.0.0-beta.0'
js: '^0.7.1'

dev_dependencies:
lints: ^3.0.0
Expand Down

0 comments on commit 0510de5

Please sign in to comment.