--- a/slides/slides01.tex Tue Sep 23 11:23:29 2014 +0100
+++ b/slides/slides01.tex Tue Sep 23 11:45:21 2014 +0100
@@ -11,7 +11,7 @@
% beamer stuff
\renewcommand{\slidecaption}{APP 01, King's College London}
-\lstset{language=Scala,
+\lstset{language=JavaScript,
style=mystyle,
numbersep=0pt,
numbers=none,
@@ -657,14 +657,14 @@
A simple response from the server:
\small
-\lstinputlisting[language=JavaScript]{../progs/ap0.js}
+\lstinputlisting{../progs/ap0.js}
\medskip\pause
\small
alternative response:\smallskip\\
-\lstinline[language=JavaScript]{response.write('<H1>Hello World</H1>');}
+\lstinline{response.write('<H1>Hello World</H1>');}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -675,7 +675,7 @@
\begin{frame}[c]
\footnotesize
-\lstinputlisting[language=JavaScript]{../progs/ap1.js}
+\lstinputlisting{../progs/ap1.js}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -851,7 +851,7 @@
\mbox{}\\[-9mm]
\footnotesize
-\lstinputlisting[language=JavaScript]{../progs/ap2.js}
+\lstinputlisting{../progs/ap2.js}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -876,7 +876,7 @@
\mbox{}\\[-7mm]
\footnotesize
-\lstinputlisting[language=JavaScript]{../progs/ap3.js}
+\lstinputlisting{../progs/ap3.js}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -901,7 +901,7 @@
\begin{frame}[c]
\mbox{}\\[-2mm]
-{\footnotesize\lstinputlisting[language=JavaScript]{../progs/ap4.js}}
+{\footnotesize\lstinputlisting{../progs/ap4.js}}
\begin{textblock}{1}(9,0)
\begin{tikzpicture}[scale=1.3]
@@ -1234,7 +1234,7 @@
\item Never store passwords in plain text.\medskip
\item Always salt your hashes!\medskip
\item Use an existing crypto algorithm; do not write your own!\medskip
-\item Make the party responsible for losses, who is in the position to improve
+\item Make the party responsible for losses that is in the position to improve
security.
\end{itemize}