Este site funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Acessar
jan
/
mustache.js
espelhamento de
https://github.com/janl/mustache.js
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
46
Wiki
Atividade
Ver código fonte
use chai for improved string diffing
tags/v2.1.0
David da Silva
11 anos atrás
pai
abd32f0f4b
commit
954a8fbf15
3 arquivos alterados
com
5 adições
e
2 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+1
-0
package.json
+3
-1
test/helper.js
+1
-1
test/render-test.js
+ 1
- 0
package.json
Ver arquivo
@@ -39,6 +39,7 @@
"test-browser-local": "npm run pre-test-browser && zuul --local 8080 -- test/context-test.js test/scanner-test.js test/parse-test.js test/render-test-browser.js"
},
"devDependencies": {
"chai": "^2.3.0",
"eslint": "^0.20.0",
"mocha": "^2.1.0",
"zuul": "^2.1.1"
+ 3
- 1
test/helper.js
Ver arquivo
@@ -1,2 +1,4 @@
assert = require('assert');
var chai = require('chai');
assert = chai.assert;
chai.should();
Mustache = require('../mustache');
+ 1
- 1
test/render-test.js
Ver arquivo
@@ -20,7 +20,7 @@ describe('Mustache.render', function () {
output = Mustache.render(test.template, view);
}
assert.equal(output,
test.expect);
output.should.equal(
test.expect);
});
});
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar