소스 검색

spaces, not tabs

tags/0.2.1
Jan Lehnardt 16 년 전
부모
커밋
ec18e0eff4
2개의 변경된 파일11개의 추가작업 그리고 11개의 파일을 삭제
  1. +3
    -3
      examples/template_partial.js
  2. +8
    -8
      examples/view_partial.js

+ 3
- 3
examples/template_partial.js 파일 보기

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

+ 8
- 8
examples/view_partial.js 파일 보기

@@ -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
}
};


불러오는 중...
취소
저장