This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const DELIM = ',' | |
const QUOTE = '"' | |
const MAX_LENGTH = 9 | |
const tokenRainbow = state => `string num${state.num}` | |
const tokenPlain = () => 'string' | |
CodeMirror.defineMode('csv', function modeCsv(opts, modeOpts) { | |
let { delimiter = DELIM, rainbow = false } = modeOpts | |
let token = rainbow ? tokenRainbow : tokenPlain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class StructureMapDecoratorHelperExtension | |
{ | |
public static DecoratorHelper<TTarget> Decorate<TTarget>(this SmartInstance<TTarget> instance) | |
{ | |
return new DecoratorHelper<TTarget>(instance); | |
} | |
} | |
public class DecoratorHelper<TTarget> | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* title */ | |
body { | |
background: #d6e1d1; | |
width: 100%; | |
height: 100%; | |
margin: 0; | |
position: absolute; | |
} |