summaryrefslogtreecommitdiffstats
path: root/test/plugins/blocks/index.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-03-14 23:23:28 +0100
committerSamy Pessé <samypesse@gmail.com>2015-03-14 23:23:28 +0100
commit94485621560152cf197dc8bd603774c46de2f0ef (patch)
tree189aa8349423187a807dd2c2a4b3639d1a752213 /test/plugins/blocks/index.js
parent8320484b88f2481dad276b1912831110fdf75bcd (diff)
downloadgitbook-94485621560152cf197dc8bd603774c46de2f0ef.zip
gitbook-94485621560152cf197dc8bd603774c46de2f0ef.tar.gz
gitbook-94485621560152cf197dc8bd603774c46de2f0ef.tar.bz2
Add editorconfig and normalize indent
Diffstat (limited to 'test/plugins/blocks/index.js')
-rw-r--r--test/plugins/blocks/index.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/test/plugins/blocks/index.js b/test/plugins/blocks/index.js
index 0a02ff7..32f1910 100644
--- a/test/plugins/blocks/index.js
+++ b/test/plugins/blocks/index.js
@@ -2,22 +2,22 @@ var assert = require("assert");
module.exports = {
blocks: {
- "test": {
+ "test": {
shortcuts: {
parsers: ["markdown"],
start: "$$",
end: "$$"
},
- process: function(blk) {
- return "test"+blk.body+"test";
- }
- },
- "test2": {
- end: "endtest2end",
- process: function(blk) {
- return "test2"+blk.body+"test2";
- }
- },
+ process: function(blk) {
+ return "test"+blk.body+"test";
+ }
+ },
+ "test2": {
+ end: "endtest2end",
+ process: function(blk) {
+ return "test2"+blk.body+"test2";
+ }
+ },
"test3join": {
blocks: [
"also"