Docs: add unit testing to the tutorial

This commit is contained in:
Mike Hearn
2015-11-25 18:49:44 +01:00
parent ecf70efd2e
commit 1ce9bdeba0
2 changed files with 172 additions and 4 deletions

View File

@ -15,6 +15,11 @@ $(document).ready(function() {
kotlinButton.setAttribute("class", "");
javaButton.setAttribute("class", "current");
};
if ($(el).children(".highlight-java").length == 0) {
// No Java for this example.
javaButton.style.display = "none";
}
c.insertBefore(el);
});
});