Remove unnecessary TODOs

This commit is contained in:
yflory
2017-03-27 11:53:13 +02:00
parent d92a875ce5
commit 71c59d7ae2
5 changed files with 2 additions and 10 deletions
+1 -3
View File
@@ -646,7 +646,7 @@ define([
});
var $testColor = $('<input>', { type: 'color', value: '!' });
var $check = $pad.contents().find("#colorPicker_check");
if ($testColor.attr('type') !== "color" || $testColor.val() === '!') { return; } // TODO
if ($testColor.attr('type') !== "color" || $testColor.val() === '!') { return; }
$back.on('click', function() {
var $picker = $('<input>', { type: 'color', value: backColor })
.css({ display: 'none', })
@@ -908,7 +908,6 @@ define([
var second = function (CM) {
Cryptpad.ready(function (err, env) {
// TODO handle error
andThen(CM);
});
Cryptpad.onError(function (info) {
@@ -921,7 +920,6 @@ define([
var first = function () {
if (ifrw.CodeMirror) {
// it exists, call your continuation
//andThen(ifrw.CodeMirror);
second(ifrw.CodeMirror);
} else {
console.log("CodeMirror was not defined. Trying again in %sms", interval);