Added rules and tests for them

This commit is contained in:
2016-02-26 14:21:01 +08:00
parent a82d04af1a
commit 1ceecc417d
13 changed files with 801 additions and 340 deletions
+5
View File
@@ -9,6 +9,11 @@ var UI = (function () {
FastClick.attach(document.body);
});
// $('.prevent-select').on('mousedown', function(e) {
// e.preventDefault();
// });
/** Show a bootstrap modal with dynamic content e.g. background info **/
var showModal = function(title, text, level) {
var $modal = $('#infoBox');