Skip to content

Commit 2a3cf73

Browse files
committed
more notes about scoring algorithm
1 parent 9142209 commit 2a3cf73

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Implementation Notes.odt

8.25 KB
Binary file not shown.

src/org/argmap/client/ArgMap.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
import com.google.gwt.core.client.EntryPoint;
66
import com.google.gwt.core.client.GWT;
7-
import com.google.gwt.core.client.GWT.UncaughtExceptionHandler;
87
import com.google.gwt.core.client.RunAsyncCallback;
8+
import com.google.gwt.core.client.GWT.UncaughtExceptionHandler;
99
import com.google.gwt.dom.client.Style;
1010
import com.google.gwt.event.logical.shared.SelectionEvent;
1111
import com.google.gwt.event.logical.shared.SelectionHandler;
@@ -39,6 +39,7 @@
3939

4040
//TODO: implement email updates of changes
4141
//TODO: implement email invitations to participate in an particular argument
42+
//TODO: implement facebook integration? see [http://code.google.com/p/batchfb/] and the facebook API
4243
//TODO: implement scoring algorithm
4344
//TODO: implement reversions and batch reversions
4445
//TODO: compose more/edit help tips
@@ -262,8 +263,8 @@ public void onSuccess() {
262263
public void onFailure(Throwable reason) {
263264
ArgMap.messageTimed("Code download failed",
264265
MessageType.ERROR);
265-
Log.log("am.sv.a.of",
266-
"Code download failed" + reason.toString());
266+
Log.log("am.sv.a.of", "Code download failed"
267+
+ reason.toString());
267268
}
268269
});
269270
}
@@ -402,7 +403,8 @@ public void onUncaughtException(Throwable e) {
402403
} catch (Exception handlerException) {
403404
}
404405
GWT.log("Uncaught Exception", e);
405-
if (Log.on) Log.finishOpenLogs();
406+
if (Log.on)
407+
Log.finishOpenLogs();
406408
}
407409

408410
public ModeEdit getModeEdit() {

0 commit comments

Comments
 (0)