├── .gitignore ├── .npmignore ├── .travis.yml ├── LICENSE ├── README.md ├── assets ├── screen-shot.png └── theme-tomorrow-night.png ├── bin └── cdl.js ├── cardinal.js ├── examples ├── .cardinalrc ├── README.md ├── git-diff.txt ├── highlight-diff.js ├── highlight-json.js ├── highlight-self-hide-semicolons.js ├── highlight-self.js └── highlight-string.js ├── lib ├── highlight.js ├── highlightFile.js └── highlightFileSync.js ├── package.json ├── settings.js ├── test ├── cardinal-highlight-block-comment.js ├── cardinal-highlight-file-async.js ├── cardinal-highlight-file-sync.js ├── cardinal-highlight-json-file-async.js ├── cardinal-highlight-json-file-sync.js ├── cardinal-highlight-json.js ├── cardinal-highlight-string.js ├── cardinal-smoke.js ├── fixtures │ ├── block-comment.js │ ├── custom.js │ ├── foo-with-errors.js │ ├── foo.js │ ├── json.json │ └── svn-diff.txt ├── settings.js └── themes.js ├── themes ├── README.md ├── default.js ├── empty.js ├── hide-semicolons.js ├── jq.js └── tomorrow-night.js └── utl.js /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | assets 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/README.md -------------------------------------------------------------------------------- /assets/screen-shot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/assets/screen-shot.png -------------------------------------------------------------------------------- /assets/theme-tomorrow-night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/assets/theme-tomorrow-night.png -------------------------------------------------------------------------------- /bin/cdl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/bin/cdl.js -------------------------------------------------------------------------------- /cardinal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/cardinal.js -------------------------------------------------------------------------------- /examples/.cardinalrc: -------------------------------------------------------------------------------- 1 | { 2 | "theme": "hide-semicolons" 3 | } 4 | -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/examples/README.md -------------------------------------------------------------------------------- /examples/git-diff.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/examples/git-diff.txt -------------------------------------------------------------------------------- /examples/highlight-diff.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/examples/highlight-diff.js -------------------------------------------------------------------------------- /examples/highlight-json.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/examples/highlight-json.js -------------------------------------------------------------------------------- /examples/highlight-self-hide-semicolons.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/examples/highlight-self-hide-semicolons.js -------------------------------------------------------------------------------- /examples/highlight-self.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/examples/highlight-self.js -------------------------------------------------------------------------------- /examples/highlight-string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/examples/highlight-string.js -------------------------------------------------------------------------------- /lib/highlight.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/lib/highlight.js -------------------------------------------------------------------------------- /lib/highlightFile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/lib/highlightFile.js -------------------------------------------------------------------------------- /lib/highlightFileSync.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/lib/highlightFileSync.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/package.json -------------------------------------------------------------------------------- /settings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/settings.js -------------------------------------------------------------------------------- /test/cardinal-highlight-block-comment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/test/cardinal-highlight-block-comment.js -------------------------------------------------------------------------------- /test/cardinal-highlight-file-async.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/test/cardinal-highlight-file-async.js -------------------------------------------------------------------------------- /test/cardinal-highlight-file-sync.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/test/cardinal-highlight-file-sync.js -------------------------------------------------------------------------------- /test/cardinal-highlight-json-file-async.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/test/cardinal-highlight-json-file-async.js -------------------------------------------------------------------------------- /test/cardinal-highlight-json-file-sync.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/test/cardinal-highlight-json-file-sync.js -------------------------------------------------------------------------------- /test/cardinal-highlight-json.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/test/cardinal-highlight-json.js -------------------------------------------------------------------------------- /test/cardinal-highlight-string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/test/cardinal-highlight-string.js -------------------------------------------------------------------------------- /test/cardinal-smoke.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/test/cardinal-smoke.js -------------------------------------------------------------------------------- /test/fixtures/block-comment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/test/fixtures/block-comment.js -------------------------------------------------------------------------------- /test/fixtures/custom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/test/fixtures/custom.js -------------------------------------------------------------------------------- /test/fixtures/foo-with-errors.js: -------------------------------------------------------------------------------- 1 | function () { 2 | var a = 3; return a > 2 ? true : false; 3 | }; 4 | -------------------------------------------------------------------------------- /test/fixtures/foo.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | var a = 3; return a > 2 ? true : false; 3 | } 4 | -------------------------------------------------------------------------------- /test/fixtures/json.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/test/fixtures/json.json -------------------------------------------------------------------------------- /test/fixtures/svn-diff.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/test/fixtures/svn-diff.txt -------------------------------------------------------------------------------- /test/settings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/test/settings.js -------------------------------------------------------------------------------- /test/themes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/test/themes.js -------------------------------------------------------------------------------- /themes/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/themes/README.md -------------------------------------------------------------------------------- /themes/default.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/themes/default.js -------------------------------------------------------------------------------- /themes/empty.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/themes/empty.js -------------------------------------------------------------------------------- /themes/hide-semicolons.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/themes/hide-semicolons.js -------------------------------------------------------------------------------- /themes/jq.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/themes/jq.js -------------------------------------------------------------------------------- /themes/tomorrow-night.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/themes/tomorrow-night.js -------------------------------------------------------------------------------- /utl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thlorenz/cardinal/HEAD/utl.js --------------------------------------------------------------------------------