Permalink
Browse files

no-render -> no-hl

  • Loading branch information...
1 parent 41d04c6 commit dc95d7e7f9009210764992d7b3b7a73160cfc944 @arikon arikon committed Oct 12, 2012
Showing with 4 additions and 10 deletions.
  1. +4 −10 lib/extensions/hl/index.js
View
@@ -1,27 +1,21 @@
var HL_DEFAULT = 'no-hl',
HL = process.env.SHMAKOWIKI_HL || HL_DEFAULT;
-if (!~['server', 'client', 'ohl', 'no-render'].indexOf(HL)) {
+if (!~['server', 'client', 'ohl', 'no-hl'].indexOf(HL)) {
HL = HL_DEFAULT;
}
var ext;
switch (HL) {
case 'server':
- ext = require('./hljs-server');
- break;
-
case 'client':
- ext = require('./hljs-client');
+ ext = require('./hljs-' + HL);
break;
case 'ohl':
- ext = require('./ohl');
- break;
-
- case 'no-render':
- ext = require('./no-hl');
+ case 'no-hl':
+ ext = require('./' + HL);
break;
}

0 comments on commit dc95d7e

Please sign in to comment.