Šī lapa labāk darbojas, ja pārlūkam ir iespējots JavaScript.
Sākums
Izpētīt
Palīdzība
Pierakstīties
jan
/
mustache.js
spogulis no
https://github.com/janl/mustache.js
Vērot
1
Pievienot zvaigznīti
0
Atdalīts
0
Kods
Problēmas
0
Laidieni
46
Vikivietne
Aktivitāte
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
457
Revīzijas
19
Atzari
20MB
Koks:
ecc2e2a28f
8-as-legacy
master
remove-build-output-from-git
0.4.x
browser-tests-on-8
fix_commonjs
gh-pages
greenkeeper-chai-3.4.0
greenkeeper-chai-4.0.0
greenkeeper-chai-4.0.1
greenkeeper-eslint-1.5.1
greenkeeper-mocha-2.3.3
greenkeeper-mocha-3.3.0
greenkeeper-mocha-3.4.0
greenkeeper-pin
helpers
new-build-system
parser-rewrite
with-js-extras
v4.2.0
v4.1.0
v4.0.1
v4.0.0
v3.2.1
v3.2.0
v3.1.0
v3.0.3
v3.0.2
v3.0.1
v3.0.0
v2.3.2
v2.3.1
v2.3.0
v2.2.1
v2.2.0
v2.1.3
v2.1.2
v2.1.1
v2.1.0
v2.0.0
v1.2.0
v1.1.0
v1.0.0
0.8.2
0.8.1
0.8.0
0.7.3
0.7.2
0.7.1
0.7.0
0.6.0
0.5.2
0.5.2-vsc
0.5.1
0.5.1-vsc
0.5.0-vsc
0.4.2
0.4.1
0.4.0
0.3.0
0.2.3
0.2.2
0.2.1
0.2
0.1
Atzari
Tagi
${ item.name }
Izveidot atzaru
${ searchTerm }
no 'ecc2e2a28f'
${ noResults }
mustache.js
/
test
/
_files
/
escaped.js
escaped.js
89B
Neapstrādāts
Parastais skats
Vēsture
Another rewrite - Cleaner separation of responsibilities in the code between scanning, parsing, compiling, and rendering functions. - Much faster
pirms 14 gadiem
add test suite, implement escaping
pirms 16 gadiem
don't doublt encode entities. Closes #19. Patch by Leeoniya
pirms 16 gadiem
Strict HTML escape. This replaces the soft escaping ('&' -> '&') with strict escaping ('&' -> '&'). This new behavior matches that of Ruby and other Mustache implementations. Other points: - `dot_notation` currency is changed to use an ASCII character, since the JS interpreters did not appreciate unicode. - Forward slash is added to escape list c/o OWASP recommendations.
pirms 14 gadiem
Another rewrite - Cleaner separation of responsibilities in the code between scanning, parsing, compiling, and rendering functions. - Much faster
pirms 14 gadiem
1
2
3
4
5
6
({
title: function () {
return "Bear > Shark";
},
entities: "" \"'<>/"
})