Skip to content

Commit 7fa837c

Browse files
committed
formatting
1 parent 06a3592 commit 7fa837c

File tree

3 files changed

+16
-19
lines changed

3 files changed

+16
-19
lines changed

.idea/workspace.xml

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dargon2_flutter/dargon2_flutter_web/lib/src/argon2.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ class DArgon2FlutterWeb extends DArgon2Platform {
2626
}
2727

2828
/// The static hashwasm URL to use when getting the script.
29-
static const hashwasm =
30-
"https://cdn.jsdelivr.net/npm/[email protected]/+esm";
29+
static const hashwasm = "https://cdn.jsdelivr.net/npm/[email protected]/+esm";
3130

3231
/// The [DArgon2FlutterWeb] constructor. Needed to set the global hashwasm
3332
/// variable to the right script.
@@ -132,7 +131,7 @@ class DArgon2FlutterWeb extends DArgon2Platform {
132131
Completer completer = Completer();
133132

134133
context.callMethod('trigger_$windowVar', [
135-
(module) {
134+
(module) {
136135
context[windowVar] = JsObject.jsify({
137136
"argon2i": module[0],
138137
"argon2d": module[1],
@@ -146,7 +145,6 @@ class DArgon2FlutterWeb extends DArgon2Platform {
146145

147146
await completer.future;
148147
}
149-
150148
}
151149

152150
/// JS interop binding to call the hashwasm argon2i hash function.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
21
void main() {}

0 commit comments

Comments
 (0)