Explorar el Código

spaces, not tabs

tags/0.2.1
Jan Lehnardt hace 16 años
padre
commit
ec18e0eff4
Se han modificado 2 ficheros con 11 adiciones y 11 borrados
  1. +3
    -3
      examples/template_partial.js
  2. +8
    -8
      examples/view_partial.js

+ 3
- 3
examples/template_partial.js Ver fichero

@@ -2,7 +2,7 @@ var partial_context = {
title: function() {
return "Welcome";
},
partial: {
again: "Goodbye"
}
partial: {
again: "Goodbye"
}
}

+ 8
- 8
examples/view_partial.js Ver fichero

@@ -7,13 +7,13 @@ var partial_context = {
return "Fair enough, right?";
},

partial: {
name: "Chris",
value: 10000,
taxed_value: function() {
return this.value - (this.value * 0.4);
},
in_ca: true
}
partial: {
name: "Chris",
value: 10000,
taxed_value: function() {
return this.value - (this.value * 0.4);
},
in_ca: true
}
};


Cargando…
Cancelar
Guardar