Browse Source

Removed unused code

pull/41/head
Vitaly Puzrin 10 years ago
parent
commit
ba460b1a71
  1. 2
      lib/rules_core/normalize.js
  2. 1
      lib/rules_core/state_core.js

2
lib/rules_core/normalize.js

@ -11,8 +11,6 @@ var NULL_RE = /\u0000/g;
module.exports = function inline(state) { module.exports = function inline(state) {
var str, lineStart, lastTabPos; var str, lineStart, lastTabPos;
if (!state.normalizeInput) { return; }
// Normalize newlines // Normalize newlines
str = state.src.replace(NEWLINES_RE, '\n'); str = state.src.replace(NEWLINES_RE, '\n');

1
lib/rules_core/state_core.js

@ -7,6 +7,5 @@ module.exports = function StateCore(src, md, env) {
this.env = env; this.env = env;
this.tokens = []; this.tokens = [];
this.inlineMode = false; this.inlineMode = false;
this.normalizeInput = true;
this.md = md; // link to parser instance this.md = md; // link to parser instance
}; };

Loading…
Cancel
Save