removed unused code

The LaTeX conlang class has been added to my dotspacemacs instead
This commit is contained in:
Phuntsok Drak-pa 2019-09-03 16:36:41 +02:00
parent d8dc7b7649
commit 3567ae5d5b
2 changed files with 1 additions and 16 deletions

View File

@ -11,20 +11,6 @@
# ### CODE ##################################################################### # ### CODE #####################################################################
#+name: setup
#+begin_src emacs-lisp :results silent :exports none
(unless (find "conlang" org-latex-classes :key 'car
:test 'equal)
(add-to-list 'org-latex-classes
'("conlang"
"\\documentclass{book}"
;; ("\\part{%s}" . "\\part*{%s}")
("\\chapter{%s}" . "\\chapter*{%s}")
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}"))))
#+end_src
#+NAME: tree-dot #+NAME: tree-dot
#+BEGIN_SRC emacs-lisp :noweb yes :exports none :eval yes #+BEGIN_SRC emacs-lisp :noweb yes :exports none :eval yes
(defun declare-node (node-text node-generation) (defun declare-node (node-text node-generation)

View File

@ -3,6 +3,7 @@
window.onload = function() { window.onload = function() {
reorganize_html(); reorganize_html();
create_theme_switcher(); create_theme_switcher();
console.log("JS loaded!");
}; };
function reorganize_html() { function reorganize_html() {
@ -28,9 +29,7 @@ function create_theme_switcher() {
// switch CSS files and button icon, set new cookie on theme switcher click // switch CSS files and button icon, set new cookie on theme switcher click
$('.themeBtn').click(function() { $('.themeBtn').click(function() {
console.log("Theme change");
var light = !isThemeLight(); var light = !isThemeLight();
console.log(light);
$("#theme").first().attr('href', './css/' $("#theme").first().attr('href', './css/'
.concat(light ? 'light' : 'dark') .concat(light ? 'light' : 'dark')
.concat('.css')); .concat('.css'));