Blame view

bower_components/prism/plugins/show-invisibles/prism-show-invisibles.js 232 Bytes
73bcce88   luigser   COMPONENTS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  (function(){
  
  if(!window.Prism) {
  	return;
  }
  
  for (var language in Prism.languages) {
  	var tokens = Prism.languages[language];
  	
      tokens.tab = /\t/g;
      tokens.crlf = /\r\n/g;
      tokens.lf = /\n/g;
  	tokens.cr = /\r/g;
  }
  
  })();