Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
jan
/
mustache.js
mirror da
https://github.com/janl/mustache.js
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Rilasci
46
Wiki
Attività
Sfoglia il codice sorgente
use chai for improved string diffing
tags/v2.1.0
David da Silva
11 anni fa
parent
abd32f0f4b
commit
954a8fbf15
3 ha cambiato i file
con
5 aggiunte
e
2 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
package.json
+3
-1
test/helper.js
+1
-1
test/render-test.js
+ 1
- 0
package.json
Vedi File
@@ -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
Vedi File
@@ -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
Vedi File
@@ -20,7 +20,7 @@ describe('Mustache.render', function () {
output = Mustache.render(test.template, view);
}
assert.equal(output,
test.expect);
output.should.equal(
test.expect);
});
});
Write
Preview
Loading…
Annulla
Salva