var metrobusApp = metrobusApp || {Views:{},Models:{},Routes:{},JST:{}};
metrobusApp.JST["/main"] = _.template('
<label>Introduzca el codigo de la tarjeta</label>
<input type="text" id="txtCodigo"/>
<input type="submit" id="btnSubmit"/>
');
metrobusApp.JST["/consultar/:id"] = _.template('
<p>Id: <%tarjeta.get("id")%></p>
<p>Saldo: <%tarjeta.get("saldo")%></p>
<p>Estado de Contrato: <%tarjeta.get("estadoContrato")%></p>
<p>Fecha y Hora: <%tarjeta.get("tiempo").fecha%> <%tarjeta.get("tiempo").hora%></p>
');
I am doing an app with backbone and phonegap. but first i want to test it in the browser then in the file of the templates this error appears: Uncaught SyntaxError: Unexpected token ILLEGAL
What i am doing wrong? the error appears at line 2.