Skip to content

Commit

Permalink
fix opening trainer solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jan 8, 2015
1 parent 3d29b5b commit 63dfcab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion modules/security/src/main/DataForm.scala
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ final class DataForm(val captcher: akka.actor.ActorSelection) extends lila.hub.C
"slut",
"whore",
"nazi",
"morteza")
"mortez")
replacement <- List("" -> "", "o" -> "0", "i" -> "1")
} yield base.replace(replacement._1, replacement._2)
}
Expand Down
3 changes: 1 addition & 2 deletions ui/opening/src/ctrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ var Chess = require('chessli.js').Chess;
module.exports = function(cfg, router, i18n) {

this.data = cfg;
console.log(this.data);

this.vm;

Expand Down Expand Up @@ -151,7 +150,7 @@ module.exports = function(cfg, router, i18n) {

this.notFiguredOut = function() {
return this.data.opening.moves.filter(function(m) {
return !this.vm.figuredOut.filter(function(fm) {
return m.quality === 'good' && !this.vm.figuredOut.filter(function(fm) {
return fm.uci === m.uci;
}).length
}.bind(this));
Expand Down

0 comments on commit 63dfcab

Please sign in to comment.