├── tests └── resources ├── .gitignore ├── resources ├── bower_components │ ├── Faker │ │ ├── lib │ │ │ ├── version.js │ │ │ ├── phone_number.js │ │ │ ├── name.js │ │ │ └── company.js │ │ ├── .jshintignore │ │ ├── .travis.yml │ │ ├── logo.png │ │ ├── test │ │ │ ├── mocha.opts │ │ │ ├── random.unit.js │ │ │ ├── browser.unit.html │ │ │ └── phone_number.unit.js │ │ ├── examples │ │ │ ├── node_min_test.js │ │ │ ├── library_test.js │ │ │ ├── dataSet.json │ │ │ └── node_generateSet.js │ │ ├── .gitignore │ │ ├── .bower.json │ │ ├── Makefile │ │ ├── package.json │ │ └── MIT-LICENSE.txt │ ├── jquery │ │ ├── src │ │ │ ├── outro.js │ │ │ ├── selector.js │ │ │ ├── var │ │ │ │ ├── arr.js │ │ │ │ ├── rnotwhite.js │ │ │ │ ├── strundefined.js │ │ │ │ ├── push.js │ │ │ │ ├── slice.js │ │ │ │ ├── class2type.js │ │ │ │ ├── concat.js │ │ │ │ ├── indexOf.js │ │ │ │ ├── pnum.js │ │ │ │ ├── hasOwn.js │ │ │ │ ├── toString.js │ │ │ │ └── support.js │ │ │ ├── ajax │ │ │ │ ├── var │ │ │ │ │ ├── rquery.js │ │ │ │ │ └── nonce.js │ │ │ │ ├── parseJSON.js │ │ │ │ └── parseXML.js │ │ │ ├── css │ │ │ │ ├── var │ │ │ │ │ ├── rmargin.js │ │ │ │ │ ├── cssExpand.js │ │ │ │ │ ├── rnumnonpx.js │ │ │ │ │ ├── getStyles.js │ │ │ │ │ └── isHidden.js │ │ │ │ ├── hiddenVisibleSelectors.js │ │ │ │ ├── swap.js │ │ │ │ └── addGetHookIf.js │ │ │ ├── manipulation │ │ │ │ ├── var │ │ │ │ │ └── rcheckableType.js │ │ │ │ ├── _evalUrl.js │ │ │ │ └── support.js │ │ │ ├── data │ │ │ │ ├── var │ │ │ │ │ ├── data_priv.js │ │ │ │ │ └── data_user.js │ │ │ │ └── accepts.js │ │ │ ├── core │ │ │ │ ├── var │ │ │ │ │ └── rsingleTag.js │ │ │ │ └── parseHTML.js │ │ │ ├── traversing │ │ │ │ └── var │ │ │ │ │ └── rneedsContext.js │ │ │ ├── event │ │ │ │ └── support.js │ │ │ ├── attributes.js │ │ │ ├── deprecated.js │ │ │ ├── effects │ │ │ │ └── animatedSelector.js │ │ │ ├── selector-sizzle.js │ │ │ ├── queue │ │ │ │ └── delay.js │ │ │ ├── jquery.js │ │ │ ├── exports │ │ │ │ ├── global.js │ │ │ │ └── amd.js │ │ │ └── attributes │ │ │ │ └── support.js │ │ ├── bower.json │ │ ├── .bower.json │ │ └── MIT-LICENSE.txt │ ├── marked │ │ ├── .gitignore │ │ ├── doc │ │ │ └── todo.md │ │ ├── .npmignore │ │ ├── test │ │ │ ├── new │ │ │ │ ├── escaped_angles.text │ │ │ │ ├── escaped_angles.html │ │ │ │ ├── gfm_del.text │ │ │ │ ├── not_a_link.text │ │ │ │ ├── lazy_blockquotes.text │ │ │ │ ├── not_a_link.html │ │ │ │ ├── gfm_del.html │ │ │ │ ├── nested_code.text │ │ │ │ ├── same_bullet.text │ │ │ │ ├── case_insensitive_refs.text │ │ │ │ ├── gfm_em.text │ │ │ │ ├── nested_square_link.text │ │ │ │ ├── ref_paren.text │ │ │ │ ├── autolink_lines.text │ │ │ │ ├── case_insensitive_refs.html │ │ │ │ ├── gfm_em.html │ │ │ │ ├── nested_code.html │ │ │ │ ├── gfm_break.breaks.text │ │ │ │ ├── ref_paren.html │ │ │ │ ├── gfm_break.breaks.html │ │ │ │ ├── list_item_text.text │ │ │ │ ├── nested_em.text │ │ │ │ ├── gfm_links.text │ │ │ │ ├── hr_list_break.text │ │ │ │ ├── nested_square_link.html │ │ │ │ ├── lazy_blockquotes.html │ │ │ │ ├── same_bullet.html │ │ │ │ ├── list_item_text.html │ │ │ │ ├── blockquote_list_item.text │ │ │ │ ├── autolink_lines.html │ │ │ │ ├── nested_em.html │ │ │ │ ├── gfm_links.html │ │ │ │ ├── blockquote_list_item.html │ │ │ │ ├── hr_list_break.html │ │ │ │ ├── text.smartypants.text │ │ │ │ ├── text.smartypants.html │ │ │ │ ├── tricky_list.text │ │ │ │ ├── def_blocks.text │ │ │ │ ├── double_link.text │ │ │ │ ├── double_link.html │ │ │ │ ├── gfm_code.text │ │ │ │ ├── gfm_code.html │ │ │ │ ├── def_blocks.html │ │ │ │ ├── tricky_list.html │ │ │ │ ├── loose_lists.text │ │ │ │ ├── toplevel_paragraphs.gfm.text │ │ │ │ ├── gfm_tables.text │ │ │ │ ├── toplevel_paragraphs.gfm.html │ │ │ │ ├── gfm_code_hr_list.text │ │ │ │ ├── loose_lists.html │ │ │ │ └── gfm_code_hr_list.html │ │ │ ├── tests │ │ │ │ ├── escaped_angles.text │ │ │ │ ├── escaped_angles.html │ │ │ │ ├── gfm_del.text │ │ │ │ ├── not_a_link.text │ │ │ │ ├── lazy_blockquotes.text │ │ │ │ ├── not_a_link.html │ │ │ │ ├── gfm_del.html │ │ │ │ ├── gfm_em.text │ │ │ │ ├── nested_code.text │ │ │ │ ├── nested_square_link.text │ │ │ │ ├── ref_paren.text │ │ │ │ ├── same_bullet.text │ │ │ │ ├── case_insensitive_refs.text │ │ │ │ ├── nested_code.html │ │ │ │ ├── autolink_lines.text │ │ │ │ ├── case_insensitive_refs.html │ │ │ │ ├── gfm_em.html │ │ │ │ ├── ref_paren.html │ │ │ │ ├── gfm_break.breaks.text │ │ │ │ ├── nested_blockquotes.text │ │ │ │ ├── gfm_break.breaks.html │ │ │ │ ├── gfm_links.text │ │ │ │ ├── list_item_text.text │ │ │ │ ├── nested_em.text │ │ │ │ ├── hr_list_break.text │ │ │ │ ├── nested_square_link.html │ │ │ │ ├── lazy_blockquotes.html │ │ │ │ ├── list_item_text.html │ │ │ │ ├── same_bullet.html │ │ │ │ ├── autolink_lines.html │ │ │ │ ├── blockquote_list_item.text │ │ │ │ ├── tidyness.text │ │ │ │ ├── nested_em.html │ │ │ │ ├── gfm_links.html │ │ │ │ ├── hr_list_break.html │ │ │ │ ├── blockquote_list_item.html │ │ │ │ ├── strong_and_em_together.text │ │ │ │ ├── literal_quotes_in_titles.text │ │ │ │ ├── nested_blockquotes.html │ │ │ │ ├── text.smartypants.text │ │ │ │ ├── tidyness.html │ │ │ │ ├── text.smartypants.html │ │ │ │ ├── code_spans.text │ │ │ │ ├── literal_quotes_in_titles.html │ │ │ │ ├── blockquotes_with_code_blocks.text │ │ │ │ ├── tricky_list.text │ │ │ │ ├── def_blocks.text │ │ │ │ ├── double_link.text │ │ │ │ ├── inline_html_advanced.text │ │ │ │ ├── inline_html_comments.text │ │ │ │ ├── inline_html_advanced.html │ │ │ │ ├── strong_and_em_together.html │ │ │ │ ├── code_spans.html │ │ │ │ ├── inline_html_comments.html │ │ │ │ ├── code_blocks.text │ │ │ │ ├── hard_wrapped_paragraphs_with_list_like_lines.nogfm.text │ │ │ │ ├── double_link.html │ │ │ │ ├── hard_wrapped_paragraphs_with_list_like_lines.nogfm.html │ │ │ │ ├── blockquotes_with_code_blocks.html │ │ │ │ ├── gfm_code.text │ │ │ │ ├── links_shortcut_references.html │ │ │ │ ├── auto_links.text │ │ │ │ ├── links_shortcut_references.text │ │ │ │ ├── gfm_code.html │ │ │ │ ├── def_blocks.html │ │ │ │ ├── code_blocks.html │ │ │ │ ├── links_inline_style.text │ │ │ │ ├── tabs.text │ │ │ │ ├── tricky_list.html │ │ │ │ ├── amps_and_angles_encoding.text │ │ │ │ ├── loose_lists.text │ │ │ │ ├── tabs.html │ │ │ │ ├── toplevel_paragraphs.gfm.text │ │ │ │ ├── links_inline_style.html │ │ │ │ ├── horizontal_rules.text │ │ │ │ ├── gfm_tables.text │ │ │ │ ├── amps_and_angles_encoding.html │ │ │ │ ├── auto_links.html │ │ │ │ ├── toplevel_paragraphs.gfm.html │ │ │ │ ├── horizontal_rules.html │ │ │ │ ├── gfm_code_hr_list.text │ │ │ │ ├── loose_lists.html │ │ │ │ ├── inline_html_simple.text │ │ │ │ ├── gfm_code_hr_list.html │ │ │ │ ├── inline_html_simple.html │ │ │ │ └── links_reference_style.text │ │ │ ├── original │ │ │ │ ├── nested_blockquotes.text │ │ │ │ ├── tidyness.text │ │ │ │ ├── literal_quotes_in_titles.text │ │ │ │ ├── strong_and_em_together.text │ │ │ │ ├── nested_blockquotes.html │ │ │ │ ├── tidyness.html │ │ │ │ ├── literal_quotes_in_titles.html │ │ │ │ ├── code_spans.text │ │ │ │ ├── blockquotes_with_code_blocks.text │ │ │ │ ├── inline_html_advanced.text │ │ │ │ ├── inline_html_comments.text │ │ │ │ ├── code_spans.html │ │ │ │ ├── inline_html_advanced.html │ │ │ │ ├── strong_and_em_together.html │ │ │ │ ├── hard_wrapped_paragraphs_with_list_like_lines.text │ │ │ │ ├── inline_html_comments.html │ │ │ │ ├── code_blocks.text │ │ │ │ ├── blockquotes_with_code_blocks.html │ │ │ │ ├── hard_wrapped_paragraphs_with_list_like_lines.html │ │ │ │ ├── links_shortcut_references.html │ │ │ │ ├── auto_links.text │ │ │ │ ├── links_shortcut_references.text │ │ │ │ ├── code_blocks.html │ │ │ │ ├── links_inline_style.text │ │ │ │ ├── tabs.text │ │ │ │ ├── amps_and_angles_encoding.text │ │ │ │ ├── tabs.html │ │ │ │ ├── links_inline_style.html │ │ │ │ ├── amps_and_angles_encoding.html │ │ │ │ ├── horizontal_rules.text │ │ │ │ ├── auto_links.html │ │ │ │ ├── horizontal_rules.html │ │ │ │ ├── inline_html_simple.text │ │ │ │ ├── inline_html_simple.html │ │ │ │ └── links_reference_style.text │ │ │ ├── browser │ │ │ │ ├── index.html │ │ │ │ └── index.js │ │ │ └── README │ │ ├── index.js │ │ ├── .travis.yml │ │ ├── Makefile │ │ ├── component.json │ │ ├── .bower.json │ │ ├── package.json │ │ └── LICENSE │ ├── angularjs-scope.safeapply │ │ ├── .gitignore │ │ ├── test │ │ │ ├── lib │ │ │ │ ├── chai-expect.js │ │ │ │ └── chai-should.js │ │ │ └── run.sh │ │ ├── .gitconcat │ │ ├── src │ │ │ └── Scope.SafeApply.min.js │ │ ├── .bower.json │ │ └── package.json │ ├── fontawesome │ │ ├── less │ │ │ ├── extras.less │ │ │ ├── fixed-width.less │ │ │ ├── core.less │ │ │ ├── bordered-pulled.less │ │ │ ├── rotated-flipped.less │ │ │ ├── larger.less │ │ │ ├── list.less │ │ │ ├── font-awesome.less │ │ │ ├── stacked.less │ │ │ ├── path.less │ │ │ ├── mixins.less │ │ │ └── spinning.less │ │ ├── fonts │ │ │ ├── FontAwesome.otf │ │ │ ├── fontawesome-webfont.eot │ │ │ ├── fontawesome-webfont.ttf │ │ │ └── fontawesome-webfont.woff │ │ ├── scss │ │ │ ├── _fixed-width.scss │ │ │ ├── _core.scss │ │ │ ├── _bordered-pulled.scss │ │ │ ├── _larger.scss │ │ │ ├── _rotated-flipped.scss │ │ │ ├── _list.scss │ │ │ ├── font-awesome.scss │ │ │ ├── _stacked.scss │ │ │ ├── _path.scss │ │ │ ├── _mixins.scss │ │ │ └── _spinning.scss │ │ ├── .gitignore │ │ ├── .npmignore │ │ └── .bower.json │ ├── angular-ui-codemirror │ │ ├── .travis.yml │ │ ├── bower.json │ │ ├── CHANGELOG.md │ │ └── .bower.json │ ├── angular │ │ ├── angular.min.js.gzip │ │ ├── bower.json │ │ ├── angular-csp.css │ │ └── .bower.json │ ├── codemirror │ │ ├── theme │ │ │ ├── ambiance-mobile.css │ │ │ ├── neat.css │ │ │ ├── elegant.css │ │ │ ├── neo.css │ │ │ └── eclipse.css │ │ ├── addon │ │ │ ├── display │ │ │ │ └── fullscreen.css │ │ │ ├── fold │ │ │ │ └── foldgutter.css │ │ │ ├── dialog │ │ │ │ └── dialog.css │ │ │ ├── hint │ │ │ │ └── show-hint.css │ │ │ ├── mode │ │ │ │ └── multiplex_test.js │ │ │ ├── lint │ │ │ │ ├── yaml-lint.js │ │ │ │ └── json-lint.js │ │ │ └── edit │ │ │ │ └── trailingspace.js │ │ ├── mode │ │ │ ├── tiddlywiki │ │ │ │ └── tiddlywiki.css │ │ │ ├── ruby │ │ │ │ └── test.js │ │ │ └── tiki │ │ │ │ └── tiki.css │ │ ├── bower.json │ │ ├── README.md │ │ ├── .bower.json │ │ └── LICENSE │ ├── toastr │ │ ├── bower.json │ │ └── .bower.json │ ├── angular-mocks │ │ ├── bower.json │ │ └── .bower.json │ ├── angular-animate │ │ ├── bower.json │ │ └── .bower.json │ ├── angular-bootstrap │ │ ├── bower.json │ │ └── .bower.json │ ├── moment │ │ ├── bower.json │ │ ├── .bower.json │ │ └── LICENSE │ ├── mocha │ │ ├── bower.json │ │ ├── media │ │ │ └── logo.svg │ │ ├── .bower.json │ │ └── LICENSE │ ├── lodash │ │ ├── bower.json │ │ └── .bower.json │ ├── angular-ui-router │ │ ├── bower.json │ │ ├── .bower.json │ │ ├── src │ │ │ └── stateFilters.js │ │ └── LICENSE │ └── chai │ │ ├── bower.json │ │ ├── karma.conf.js │ │ └── .bower.json ├── kcd │ ├── filters │ │ ├── app.js │ │ ├── kcdDynamicFilter-docs.md │ │ ├── kcdMdToHtml.js │ │ ├── kcdDate.js │ │ ├── kcdMdToHtml-docs.md │ │ ├── kcdDynamicFilter.js │ │ └── kcdDate-docs.md │ ├── directives │ │ ├── app.js │ │ ├── kcd-select-all-on-focus-docs.md │ │ ├── kcd-highlight-code-docs.md │ │ ├── kcd-select-all-on-focus.js │ │ ├── kcd-select-all-on-focus-example.html │ │ ├── kcd-input-match-docs.md │ │ ├── kcd-input-match.js │ │ ├── kcd-key-bind-docs.md │ │ ├── kcd-recompileSpec.js │ │ ├── kcd-time-binding-docs.md │ │ ├── kcd-dynamic-attr.js │ │ ├── kcd-autofocus.js │ │ ├── kcd-custom-validation-docs.md │ │ ├── kcd-remove-watchers-docs.md │ │ ├── kcd-highlight-code.js │ │ ├── kcd-key-bind-example.html │ │ ├── kcd-autofocus-docs.md │ │ ├── kcd-key-bind.js │ │ ├── kcd-remove-watchers.js │ │ ├── kcd-dynamic-attr-docs.md │ │ └── kcd-custom-validation.js │ ├── services │ │ ├── app.js │ │ ├── JWTAuthInterceptor-docs.md │ │ └── JWTAuthInterceptor.js │ ├── constants │ │ ├── hljs-docs.md │ │ ├── marked-docs.md │ │ ├── moment-docs.md │ │ ├── _-docs.md │ │ └── app.js │ └── app.js ├── site_components │ ├── one-off │ │ ├── mocha-setup.js │ │ └── long-errors.js │ ├── stylus │ │ ├── util.styl │ │ └── main.styl │ ├── directives │ │ └── kcd-thing-interactive.styl │ ├── constants │ │ └── app.js │ ├── MainCtrl │ │ ├── main-default.html │ │ └── MainCtrl.styl │ ├── services │ │ └── MochaService.js │ ├── ThingCtrl │ │ ├── ThingCtrl.js │ │ └── ThingCtrl.styl │ └── filters │ │ └── linkifyDependencies.js └── non_bower_components │ ├── clippy.swf │ └── bootstrap-and-theme │ └── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ └── glyphicons-halflings-regular.woff ├── .bowerrc ├── .jshintignore ├── README.md ├── .jshintrc ├── LICENSE └── package.json /tests/resources: -------------------------------------------------------------------------------- 1 | ../resources/ -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .grunt/ 2 | node_modules/ -------------------------------------------------------------------------------- /resources/bower_components/Faker/lib/version.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/outro.js: -------------------------------------------------------------------------------- 1 | })); 2 | -------------------------------------------------------------------------------- /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "resources/bower_components" 3 | } -------------------------------------------------------------------------------- /resources/bower_components/marked/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/doc/todo.md: -------------------------------------------------------------------------------- 1 | # Todo 2 | 3 | -------------------------------------------------------------------------------- /resources/kcd/filters/app.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.filters', []); -------------------------------------------------------------------------------- /resources/bower_components/marked/.npmignore: -------------------------------------------------------------------------------- 1 | .git* 2 | test/ 3 | -------------------------------------------------------------------------------- /resources/kcd/directives/app.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.directives', []); -------------------------------------------------------------------------------- /resources/kcd/services/app.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.services', []); -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/escaped_angles.text: -------------------------------------------------------------------------------- 1 | \> 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/escaped_angles.text: -------------------------------------------------------------------------------- 1 | \> 2 | -------------------------------------------------------------------------------- /resources/bower_components/angularjs-scope.safeapply/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/escaped_angles.html: -------------------------------------------------------------------------------- 1 |
>
2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/gfm_del.text: -------------------------------------------------------------------------------- 1 | hello ~~hi~~ world 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/escaped_angles.html: -------------------------------------------------------------------------------- 1 |>
2 | -------------------------------------------------------------------------------- /.jshintignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | bower_components/ 3 | non_bower_components/ 4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/not_a_link.text: -------------------------------------------------------------------------------- 1 | \[test](not a link) 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/gfm_del.text: -------------------------------------------------------------------------------- 1 | hello ~~hi~~ world 2 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/selector.js: -------------------------------------------------------------------------------- 1 | define([ "./selector-sizzle" ]); 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/index.js: -------------------------------------------------------------------------------- 1 | module.exports = require('./lib/marked'); 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/lazy_blockquotes.text: -------------------------------------------------------------------------------- 1 | > hi there 2 | bud 3 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/not_a_link.html: -------------------------------------------------------------------------------- 1 |[test](not a link)
2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/not_a_link.text: -------------------------------------------------------------------------------- 1 | \[test](not a link) 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/gfm_del.html: -------------------------------------------------------------------------------- 1 |hello hi world
[test](not a link)
2 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/var/arr.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return []; 3 | }); 4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/case_insensitive_refs.text: -------------------------------------------------------------------------------- 1 | [hi] 2 | 3 | [HI]: /url 4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/gfm_em.text: -------------------------------------------------------------------------------- 1 | These words should_not_be_emphasized. 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/nested_square_link.text: -------------------------------------------------------------------------------- 1 | [the `]` character](/url) 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/ref_paren.text: -------------------------------------------------------------------------------- 1 | [hi] 2 | 3 | [hi]: /url (there) 4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/gfm_del.html: -------------------------------------------------------------------------------- 1 |hello hi world
These words should_not_be_emphasized.
2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/nested_code.html: -------------------------------------------------------------------------------- 1 |hi ther `` ok ```
hi ther `` ok ```
These words should_not_be_emphasized.
2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/ref_paren.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /resources/bower_components/angularjs-scope.safeapply/test/run.sh: -------------------------------------------------------------------------------- 1 | testacular start ./test/testacular.conf.js 2 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/css/var/rmargin.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/^margin/); 3 | }); 4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/gfm_break.breaks.html: -------------------------------------------------------------------------------- 1 |Look at the
pretty line
breaks.
Look at the
pretty line
breaks.
2 |5 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/same_bullet.html: -------------------------------------------------------------------------------- 1 |hi there 3 | bud
4 |
2 |5 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/var/class2type.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | // [[Class]] -> type pairs 3 | return {}; 4 | }); 5 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/var/concat.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.concat; 5 | }); 6 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/var/indexOf.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.indexOf; 5 | }); 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/list_item_text.html: -------------------------------------------------------------------------------- 1 |hi there 3 | bud
4 |
item1
text
item1
text
hello world 2 | http://example.com 3 |
4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/autolink_lines.html: -------------------------------------------------------------------------------- 1 |hello world 2 | http://example.com 3 |
4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/blockquote_list_item.text: -------------------------------------------------------------------------------- 1 | This fails in markdown.pl and upskirt: 2 | 3 | * hello 4 | > world 5 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/tidyness.text: -------------------------------------------------------------------------------- 1 | > A list within a blockquote: 2 | > 3 | > * asterisk 1 4 | > * asterisk 2 5 | > * asterisk 3 6 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/var/hasOwn.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.hasOwnProperty; 5 | }); 6 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/var/toString.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.toString; 5 | }); 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/tidyness.text: -------------------------------------------------------------------------------- 1 | > A list within a blockquote: 2 | > 3 | > * asterisk 1 4 | > * asterisk 2 5 | > * asterisk 3 6 | -------------------------------------------------------------------------------- /resources/bower_components/angular/angular.min.js.gzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/kcd-angular/HEAD/resources/bower_components/angular/angular.min.js.gzip -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/core/var/rsingleTag.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | // Match a standalone tag 3 | return (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); 4 | }); 5 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/var/support.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | // All support tests are defined in their respective modules. 3 | return {}; 4 | }); 5 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/nested_em.html: -------------------------------------------------------------------------------- 1 |test test test
2 | 3 |test test test
4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/nested_em.html: -------------------------------------------------------------------------------- 1 |test test test
2 | 3 |test test test
4 | -------------------------------------------------------------------------------- /resources/bower_components/Faker/test/mocha.opts: -------------------------------------------------------------------------------- 1 | --reporter spec 2 | --ui bdd 3 | --globals state,newBlocks,params,type,__coverage__ 4 | --timeout 6500 5 | --slow 200 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/gfm_links.html: -------------------------------------------------------------------------------- 1 |This should be a link: 2 | http://example.com/hello-world.
3 | -------------------------------------------------------------------------------- /resources/bower_components/angular/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.3.0-beta.17", 4 | "main": "./angular.js", 5 | "dependencies": { 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/kcd-angular/HEAD/resources/bower_components/fontawesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/gfm_links.html: -------------------------------------------------------------------------------- 1 |This should be a link: 2 | http://example.com/hello-world.
3 | -------------------------------------------------------------------------------- /resources/site_components/directives/kcd-thing-interactive.styl: -------------------------------------------------------------------------------- 1 | .kcd-thing-interactive-wrapper 2 | .controls 3 | margin-bottom 16px 4 | .CodeMirror 5 | height 450px -------------------------------------------------------------------------------- /resources/bower_components/codemirror/theme/ambiance-mobile.css: -------------------------------------------------------------------------------- 1 | .cm-s-ambiance.CodeMirror { 2 | -webkit-box-shadow: none; 3 | -moz-box-shadow: none; 4 | box-shadow: none; 5 | } 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/blockquote_list_item.html: -------------------------------------------------------------------------------- 1 |This fails in markdown.pl and upskirt:
2 | 3 |world
you today?
11 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/hr_list_break.html: -------------------------------------------------------------------------------- 1 |you today?
11 | -------------------------------------------------------------------------------- /resources/kcd/constants/marked-docs.md: -------------------------------------------------------------------------------- 1 | [marked](https://github.com/chjj/marked): "A markdown parser and compiler. Built for speed." It's the library that I'm 2 | using to render these docs. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # kcd-angular 2 | 3 | A repo to hold the `kcd` angular module. Things I made that I think are useful. 4 | See the demo/docs/etc [here](http://kent.doddsfamily.us/kcd-angular). 5 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/css/var/rnumnonpx.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../var/pnum" 3 | ], function( pnum ) { 4 | return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); 5 | }); 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/blockquote_list_item.html: -------------------------------------------------------------------------------- 1 |This fails in markdown.pl and upskirt:
2 | 3 |world
testing...
4 | 5 | 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/strong_and_em_together.text: -------------------------------------------------------------------------------- 1 | ***This is strong and em.*** 2 | 3 | So is ***this*** word. 4 | 5 | ___This is strong and em.___ 6 | 7 | So is ___this___ word. 8 | -------------------------------------------------------------------------------- /resources/bower_components/toastr/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "toastr", 3 | "version": "2.0.3", 4 | "main": ["toastr.js", "toastr.css"], 5 | "dependencies": { 6 | "jquery": ">=1.6.3" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/literal_quotes_in_titles.text: -------------------------------------------------------------------------------- 1 | Foo [bar][]. 2 | 3 | Foo [bar](/url/ "Title with "quotes" inside"). 4 | 5 | 6 | [bar]: /url/ "Title with "quotes" inside" 7 | 8 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/strong_and_em_together.text: -------------------------------------------------------------------------------- 1 | ***This is strong and em.*** 2 | 3 | So is ***this*** word. 4 | 5 | ___This is strong and em.___ 6 | 7 | So is ___this___ word. 8 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/literal_quotes_in_titles.text: -------------------------------------------------------------------------------- 1 | Foo [bar][]. 2 | 3 | Foo [bar](/url/ "Title with "quotes" inside"). 4 | 5 | 6 | [bar]: /url/ "Title with "quotes" inside" 7 | 8 | -------------------------------------------------------------------------------- /resources/bower_components/angular-mocks/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-mocks", 3 | "version": "1.2.23", 4 | "main": "./angular-mocks.js", 5 | "dependencies": { 6 | "angular": "1.2.23" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /resources/kcd/constants/moment-docs.md: -------------------------------------------------------------------------------- 1 | Moment is library that makes the `Date` object what I wish it was. If you're not using moment for all of your date 2 | needs, I suggest you look into it. Moment is fully featured. -------------------------------------------------------------------------------- /resources/bower_components/angular-animate/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.2.18", 4 | "main": "./angular-animate.js", 5 | "dependencies": { 6 | "angular": "1.2.18" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/event/support.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../var/support" 3 | ], function( support ) { 4 | 5 | support.focusinBubbles = "onfocusin" in window; 6 | 7 | return support; 8 | 9 | }); 10 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/text.smartypants.text: -------------------------------------------------------------------------------- 1 | Hello world 'how' "are" you -- today... 2 | 3 | "It's a more 'challenging' smartypants test..." 4 | 5 | 'And,' as a bonus -- "one 6 | multiline" test! 7 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/nested_blockquotes.html: -------------------------------------------------------------------------------- 1 |2 |10 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/nested_blockquotes.html: -------------------------------------------------------------------------------- 1 |foo
3 | 4 |5 |7 | 8 |bar
6 |foo
9 |
2 |10 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/text.smartypants.text: -------------------------------------------------------------------------------- 1 | Hello world 'how' "are" you -- today... 2 | 3 | "It's a more 'challenging' smartypants test..." 4 | 5 | 'And,' as a bonus -- "one 6 | multiline" test! 7 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/tidyness.html: -------------------------------------------------------------------------------- 1 |foo
3 | 4 |5 |7 | 8 |bar
6 |foo
9 |
2 |9 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/tidyness.html: -------------------------------------------------------------------------------- 1 |A list within a blockquote:
3 |4 |
8 |- asterisk 1
5 |- asterisk 2
6 |- asterisk 3
7 |
2 |9 | -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-select-all-on-focus-docs.md: -------------------------------------------------------------------------------- 1 | Simple directive that is meant to be used to select all the text in an input field when the input receives focus. 2 | 3 | ```html 4 | 5 | ``` -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/text.smartypants.html: -------------------------------------------------------------------------------- 1 |A list within a blockquote:
3 |4 |
8 |- asterisk 1
5 |- asterisk 2
6 |- asterisk 3
7 |
Hello world ‘how’ “are” you — today…
2 | 3 |“It’s a more ‘challenging’ smartypants test…”
4 | 5 |‘And,’ as a bonus — “one 6 | multiline” test!
7 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/text.smartypants.html: -------------------------------------------------------------------------------- 1 |Hello world ‘how’ “are” you — today…
2 | 3 |“It’s a more ‘challenging’ smartypants test…”
4 | 5 |‘And,’ as a bonus — “one 6 | multiline” test!
7 | -------------------------------------------------------------------------------- /resources/non_bower_components/bootstrap-and-theme/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/kcd-angular/HEAD/resources/non_bower_components/bootstrap-and-theme/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /resources/non_bower_components/bootstrap-and-theme/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/kcd-angular/HEAD/resources/non_bower_components/bootstrap-and-theme/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /resources/non_bower_components/bootstrap-and-theme/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/kcd-angular/HEAD/resources/non_bower_components/bootstrap-and-theme/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /resources/bower_components/angularjs-scope.safeapply/.gitconcat: -------------------------------------------------------------------------------- 1 | jsmin: 2 | filters: 3 | - cat src/Scope.SafeApply.js | jsmin > %{output} 4 | input: 5 | - src/Scope.SafeApply.js 6 | output: 7 | - src/Scope.SafeApply.min.js 8 | -------------------------------------------------------------------------------- /resources/bower_components/Faker/examples/node_min_test.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var util = require('util'); 4 | 5 | var faker = require('../faker'); 6 | 7 | var card = faker.Helpers.createCard(); 8 | 9 | util.puts(JSON.stringify(card)); -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/literal_quotes_in_titles.html: -------------------------------------------------------------------------------- 1 |Foo bar.
2 | 3 |Foo bar.
4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/code_spans.text: -------------------------------------------------------------------------------- 1 | `Foo bar.
2 | 3 |Foo bar.
4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/code_spans.text: -------------------------------------------------------------------------------- 1 | `Already linked: http://example.com/.
2 | 3 | Already linked: [http://example.com/](http://example.com/). 4 | 5 | Already linked: **http://example.com/**. 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/double_link.text: -------------------------------------------------------------------------------- 1 |Already linked: http://example.com/.
2 | 3 | Already linked: [http://example.com/](http://example.com/). 4 | 5 | Already linked: **http://example.com/**. 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/inline_html_advanced.text: -------------------------------------------------------------------------------- 1 | Simple block on one line: 2 | 3 |<test a=" content of attribute ">
Fix for backticks within HTML tag: like this
4 | 5 |Here's how you put `backticks` in a code span.
Simple block on one line:
2 | 3 |And nested without indentation:
6 | 7 |Simple block on one line:
2 | 3 |And nested without indentation:
6 | 7 |This is strong and em.
2 | 3 |So is this word.
4 | 5 |This is strong and em.
6 | 7 |So is this word.
8 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/strong_and_em_together.html: -------------------------------------------------------------------------------- 1 |This is strong and em.
2 | 3 |So is this word.
4 | 5 |This is strong and em.
6 | 7 |So is this word.
8 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/code_spans.html: -------------------------------------------------------------------------------- 1 |<test a=" content of attribute ">
Fix for backticks within HTML tag: like this
4 | 5 |Here's how you put `backticks` in a code span.
Paragraph one.
2 | 3 | 4 | 5 | 8 | 9 |Paragraph two.
10 | 11 | 12 | 13 |The end.
14 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/inline_html_comments.html: -------------------------------------------------------------------------------- 1 |Paragraph one.
2 | 3 | 4 | 5 | 8 | 9 |Paragraph two.
10 | 11 | 12 | 13 |The end.
14 | -------------------------------------------------------------------------------- /resources/site_components/constants/app.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | 4 | var app = angular.module('kcd.site'); 5 | function addConstant(name) { 6 | if (window[name]) { 7 | app.constant(name, window[name]); 8 | } 9 | } 10 | addConstant('faker'); 11 | addConstant('mocha'); 12 | })(); -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/double_link.html: -------------------------------------------------------------------------------- 1 |Already linked: http://example.com/.
2 | 3 |Already linked: http://example.com/.
4 | 5 |Already linked: http://example.com/.
6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/code_blocks.text: -------------------------------------------------------------------------------- 1 | code block on the first line 2 | 3 | Regular text. 4 | 5 | code block indented by spaces 6 | 7 | Regular text. 8 | 9 | the lines in this block 10 | all contain trailing spaces 11 | 12 | Regular Text. 13 | 14 | code block on the last line 15 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/hard_wrapped_paragraphs_with_list_like_lines.nogfm.text: -------------------------------------------------------------------------------- 1 | In Markdown 1.0.0 and earlier. Version 2 | 8. This line turns into a list item. 3 | Because a hard-wrapped line in the 4 | middle of a paragraph looked like a 5 | list item. 6 | 7 | Here's one with a bullet. 8 | * criminey. 9 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/code_blocks.text: -------------------------------------------------------------------------------- 1 | code block on the first line 2 | 3 | Regular text. 4 | 5 | code block indented by spaces 6 | 7 | Regular text. 8 | 9 | the lines in this block 10 | all contain trailing spaces 11 | 12 | Regular Text. 13 | 14 | code block on the last line 15 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/double_link.html: -------------------------------------------------------------------------------- 1 |Already linked: http://example.com/.
2 | 3 |Already linked: http://example.com/.
4 | 5 |Already linked: http://example.com/.
6 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/ajax/parseJSON.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Support: Android 2.3 6 | // Workaround failure to string-cast null input 7 | jQuery.parseJSON = function( data ) { 8 | return JSON.parse( data + "" ); 9 | }; 10 | 11 | return jQuery.parseJSON; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/deprecated.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "./traversing" 4 | ], function( jQuery ) { 5 | 6 | // The number of elements contained in the matched element set 7 | jQuery.fn.size = function() { 8 | return this.length; 9 | }; 10 | 11 | jQuery.fn.andSelf = jQuery.fn.addBack; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/blockquotes_with_code_blocks.html: -------------------------------------------------------------------------------- 1 |2 |16 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/hard_wrapped_paragraphs_with_list_like_lines.html: -------------------------------------------------------------------------------- 1 |Example:
3 | 4 |8 | 9 |sub status { 5 | print "working"; 6 | } 7 |Or:
10 | 11 |15 |sub status { 12 | return "working"; 13 | } 14 |
In Markdown 1.0.0 and earlier. Version 2 | 8. This line turns into a list item. 3 | Because a hard-wrapped line in the 4 | middle of a paragraph looked like a 5 | list item.
6 | 7 |Here's one with a bullet. 8 | * criminey.
9 | -------------------------------------------------------------------------------- /resources/bower_components/marked/component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "marked", 3 | "version": "0.3.2", 4 | "repo": "chjj/marked", 5 | "description": "A markdown parser built for speed", 6 | "keywords": ["markdown", "markup", "html"], 7 | "scripts": ["lib/marked.js"], 8 | "main": "lib/marked.js", 9 | "license": "MIT" 10 | } 11 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/hard_wrapped_paragraphs_with_list_like_lines.nogfm.html: -------------------------------------------------------------------------------- 1 |In Markdown 1.0.0 and earlier. Version 2 | 8. This line turns into a list item. 3 | Because a hard-wrapped line in the 4 | middle of a paragraph looked like a 5 | list item.
6 | 7 |Here's one with a bullet. 8 | * criminey.
9 | -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-select-all-on-focus.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.directives').directive('kcdSelectAllOnFocus', function() { 2 | 'use strict'; 3 | return function kcdSelectAllOnFocus(scope, el) { 4 | el.on('focus', function() { 5 | setTimeout(function() { 6 | el.select(); 7 | }); 8 | }); 9 | }; 10 | }); -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/effects/animatedSelector.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../selector", 4 | "../effects" 5 | ], function( jQuery ) { 6 | 7 | jQuery.expr.filters.animated = function( elem ) { 8 | return jQuery.grep(jQuery.timers, function( fn ) { 9 | return elem === fn.elem; 10 | }).length; 11 | }; 12 | 13 | }); 14 | -------------------------------------------------------------------------------- /resources/bower_components/codemirror/mode/tiddlywiki/tiddlywiki.css: -------------------------------------------------------------------------------- 1 | span.cm-underlined { 2 | text-decoration: underline; 3 | } 4 | span.cm-strikethrough { 5 | text-decoration: line-through; 6 | } 7 | span.cm-brace { 8 | color: #170; 9 | font-weight: bold; 10 | } 11 | span.cm-table { 12 | color: blue; 13 | font-weight: bold; 14 | } 15 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/gfm_code.text: -------------------------------------------------------------------------------- 1 | ``` js 2 | var a = 'hello'; 3 | console.log(a + ' world'); 4 | ``` 5 | 6 | ~~~bash 7 | echo "hello, ${WORLD}" 8 | ~~~ 9 | 10 | ```````longfence 11 | Q: What do you call a tall person who sells stolen goods? 12 | ``````` 13 | 14 | ~~~~~~~~~~ ManyTildes 15 | A longfence! 16 | ~~~~~~~~~~ 17 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/blockquotes_with_code_blocks.html: -------------------------------------------------------------------------------- 1 |2 |16 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/gfm_code.text: -------------------------------------------------------------------------------- 1 | ``` js 2 | var a = 'hello'; 3 | console.log(a + ' world'); 4 | ``` 5 | 6 | ~~~bash 7 | echo "hello, ${WORLD}" 8 | ~~~ 9 | 10 | ```````longfence 11 | Q: What do you call a tall person who sells stolen goods? 12 | ``````` 13 | 14 | ~~~~~~~~~~ ManyTildes 15 | A longfence! 16 | ~~~~~~~~~~ 17 | -------------------------------------------------------------------------------- /resources/bower_components/angular-bootstrap/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": { 3 | "name": "https://github.com/angular-ui/bootstrap/graphs/contributors" 4 | }, 5 | "name": "angular-bootstrap", 6 | "version": "0.11.0", 7 | "main": ["./ui-bootstrap-tpls.js"], 8 | "dependencies": { 9 | "angular": ">=1" 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /resources/bower_components/angular/angular-csp.css: -------------------------------------------------------------------------------- 1 | /* Include this file in your html if you are using the CSP mode. */ 2 | 3 | @charset "UTF-8"; 4 | 5 | [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], 6 | .ng-cloak, .x-ng-cloak, 7 | .ng-hide:not(.ng-animate) { 8 | display: none !important; 9 | } 10 | 11 | ng\:form { 12 | display: block; 13 | } 14 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/links_shortcut_references.html: -------------------------------------------------------------------------------- 1 |Example:
3 | 4 |8 | 9 |sub status { 5 | print "working"; 6 | } 7 |Or:
10 | 11 |15 |sub status { 12 | return "working"; 13 | } 14 |
This is the simple case.
2 | 3 |This one has a line 4 | break.
5 | 6 |This one has a line 7 | break with a line-ending space.
8 | 9 | 10 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/links_shortcut_references.html: -------------------------------------------------------------------------------- 1 |This is the simple case.
2 | 3 |This one has a line 4 | break.
5 | 6 |This one has a line 7 | break with a line-ending space.
8 | 9 | 10 | -------------------------------------------------------------------------------- /resources/kcd/constants/app.js: -------------------------------------------------------------------------------- 1 | (function() { 2 | 'use strict'; 3 | 4 | var app = angular.module('kcd.constants', []); 5 | function addConstant(name) { 6 | if (window[name]) { 7 | app.constant(name, window[name]); 8 | } 9 | } 10 | addConstant('_'); 11 | addConstant('marked'); 12 | addConstant('hljs'); 13 | addConstant('moment'); 14 | })(); -------------------------------------------------------------------------------- /resources/bower_components/codemirror/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "CodeMirror", 3 | "version":"4.3.0", 4 | "main": ["lib/codemirror.js", "lib/codemirror.css"], 5 | "ignore": [ 6 | "**/.*", 7 | "node_modules", 8 | "components", 9 | "bin", 10 | "demo", 11 | "doc", 12 | "test", 13 | "index.html", 14 | "package.json" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/less/core.less: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix} { 5 | display: inline-block; 6 | font-family: FontAwesome; 7 | font-style: normal; 8 | font-weight: normal; 9 | line-height: 1; 10 | -webkit-font-smoothing: antialiased; 11 | -moz-osx-font-smoothing: grayscale; 12 | } 13 | -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/scss/_core.scss: -------------------------------------------------------------------------------- 1 | // Base Class Definition 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix} { 5 | display: inline-block; 6 | font-family: FontAwesome; 7 | font-style: normal; 8 | font-weight: normal; 9 | line-height: 1; 10 | -webkit-font-smoothing: antialiased; 11 | -moz-osx-font-smoothing: grayscale; 12 | } 13 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/manipulation/_evalUrl.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../ajax" 3 | ], function( jQuery ) { 4 | 5 | jQuery._evalUrl = function( url ) { 6 | return jQuery.ajax({ 7 | url: url, 8 | type: "GET", 9 | dataType: "script", 10 | async: false, 11 | global: false, 12 | "throws": true 13 | }); 14 | }; 15 | 16 | return jQuery._evalUrl; 17 | 18 | }); 19 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/auto_links.text: -------------------------------------------------------------------------------- 1 | Link:var a = 'hello';
2 | console.log(a + ' world');
3 | echo "hello, ${WORLD}"
4 | Q: What do you call a tall person who sells stolen goods?
5 | A longfence!
6 |
--------------------------------------------------------------------------------
/resources/bower_components/marked/test/original/links_shortcut_references.text:
--------------------------------------------------------------------------------
1 | This is the [simple case].
2 |
3 | [simple case]: /simple
4 |
5 |
6 |
7 | This one has a [line
8 | break].
9 |
10 | This one has a [line
11 | break] with a line-ending space.
12 |
13 | [line break]: /foo
14 |
15 |
16 | [this] [that] and the [other]
17 |
18 | [this]: /this
19 | [that]: /that
20 | [other]: /other
21 |
--------------------------------------------------------------------------------
/resources/kcd/directives/kcd-select-all-on-focus-example.html:
--------------------------------------------------------------------------------
1 | var a = 'hello';
2 | console.log(a + ' world');
3 | echo "hello, ${WORLD}"
4 | Q: What do you call a tall person who sells stolen goods?
5 | A longfence!
6 |
--------------------------------------------------------------------------------
/resources/bower_components/marked/test/new/def_blocks.html:
--------------------------------------------------------------------------------
1 | 2 |5 | 6 |hello 3 | [1]: hello
4 |
9 |11 | 12 | 13 |hello
10 |
25 |29 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/def_blocks.html: -------------------------------------------------------------------------------- 1 |foo 26 | bar 27 | bar
28 |
2 |5 | 6 |hello 3 | [1]: hello
4 |
9 |11 | 12 | 13 |hello
10 |
25 |29 | -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-input-match-docs.md: -------------------------------------------------------------------------------- 1 | Useful for password and password confirmation input fields. Use like so: 2 | 3 | ```html 4 | 5 | 6 | ``` 7 | 8 | This will set the field's `$error.match` property to whether it matches the given value or not. -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/code_blocks.html: -------------------------------------------------------------------------------- 1 |foo 26 | bar 27 | bar
28 |
code block on the first line
2 |
3 |
4 | Regular text.
5 | 6 |code block indented by spaces
7 |
8 |
9 | Regular text.
10 | 11 |the lines in this block
12 | all contain trailing spaces
13 |
14 |
15 | Regular Text.
16 | 17 |code block on the last line
18 |
19 |
--------------------------------------------------------------------------------
/resources/bower_components/marked/test/tests/code_blocks.html:
--------------------------------------------------------------------------------
1 | code block on the first line
2 |
3 |
4 | Regular text.
5 | 6 |code block indented by spaces
7 |
8 |
9 | Regular text.
10 | 11 |the lines in this block
12 | all contain trailing spaces
13 |
14 |
15 | Regular Text.
16 | 17 |code block on the last line
18 |
19 |
--------------------------------------------------------------------------------
/resources/bower_components/moment/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "moment",
3 | "version": "2.7.0",
4 | "main": "moment.js",
5 | "ignore": [
6 | "**/.*",
7 | "node_modules",
8 | "bower_components",
9 | "test",
10 | "tests",
11 | "tasks",
12 | "component.json",
13 | "composer.json",
14 | "CONTRIBUTING.md",
15 | "ender.js",
16 | "Gruntfile.js",
17 | "package.js",
18 | "package.json"
19 | ]
20 | }
21 |
--------------------------------------------------------------------------------
/resources/bower_components/marked/test/tests/links_inline_style.text:
--------------------------------------------------------------------------------
1 | Just a [URL](/url/).
2 |
3 | [URL and title](/url/ "title").
4 |
5 | [URL and title](/url/ "title preceded by two spaces").
6 |
7 | [URL and title](/url/ "title preceded by a tab").
8 |
9 | [URL and title](/url/ "title has spaces afterward" ).
10 |
11 | [URL and title]( /url/has space ).
12 |
13 | [URL and title]( /url/has space/ "url has space and title").
14 |
15 | [Empty]().
16 |
--------------------------------------------------------------------------------
/resources/bower_components/marked/test/tests/tabs.text:
--------------------------------------------------------------------------------
1 | + this is a list item
2 | indented with tabs
3 |
4 | + this is a list item
5 | indented with spaces
6 |
7 | Code:
8 |
9 | this code block is indented by one tab
10 |
11 | And:
12 |
13 | this code block is indented by two tabs
14 |
15 | And:
16 |
17 | + this is an example list item
18 | indented with tabs
19 |
20 | + this is an example list item
21 | indented with spaces
22 |
--------------------------------------------------------------------------------
/resources/bower_components/fontawesome/less/bordered-pulled.less:
--------------------------------------------------------------------------------
1 | // Bordered & Pulled
2 | // -------------------------
3 |
4 | .@{fa-css-prefix}-border {
5 | padding: .2em .25em .15em;
6 | border: solid .08em @fa-border-color;
7 | border-radius: .1em;
8 | }
9 |
10 | .pull-right { float: right; }
11 | .pull-left { float: left; }
12 |
13 | .@{fa-css-prefix} {
14 | &.pull-left { margin-right: .3em; }
15 | &.pull-right { margin-left: .3em; }
16 | }
17 |
--------------------------------------------------------------------------------
/resources/bower_components/fontawesome/less/rotated-flipped.less:
--------------------------------------------------------------------------------
1 | // Rotated & Flipped Icons
2 | // -------------------------
3 |
4 | .@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); }
5 | .@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); }
6 | .@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); }
7 |
8 | .@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1, 0); }
9 | .@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1, 2); }
10 |
--------------------------------------------------------------------------------
/resources/bower_components/fontawesome/scss/_bordered-pulled.scss:
--------------------------------------------------------------------------------
1 | // Bordered & Pulled
2 | // -------------------------
3 |
4 | .#{$fa-css-prefix}-border {
5 | padding: .2em .25em .15em;
6 | border: solid .08em $fa-border-color;
7 | border-radius: .1em;
8 | }
9 |
10 | .pull-right { float: right; }
11 | .pull-left { float: left; }
12 |
13 | .#{$fa-css-prefix} {
14 | &.pull-left { margin-right: .3em; }
15 | &.pull-right { margin-left: .3em; }
16 | }
17 |
--------------------------------------------------------------------------------
/resources/bower_components/jquery/src/css/var/isHidden.js:
--------------------------------------------------------------------------------
1 | define([
2 | "../../core",
3 | "../../selector"
4 | // css is assumed
5 | ], function( jQuery ) {
6 |
7 | return function( elem, el ) {
8 | // isHidden might be called from jQuery#filter function;
9 | // in that case, element will be second argument
10 | elem = el || elem;
11 | return jQuery.css( elem, "display" ) === "none" || !jQuery.contains( elem.ownerDocument, elem );
12 | };
13 | });
14 |
--------------------------------------------------------------------------------
/resources/bower_components/marked/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "marked",
3 | "homepage": "https://github.com/chjj/marked",
4 | "version": "0.3.2",
5 | "_release": "0.3.2",
6 | "_resolution": {
7 | "type": "version",
8 | "tag": "v0.3.2",
9 | "commit": "43db549e31af5ff6e4a3b12e41a23513b9f88c99"
10 | },
11 | "_source": "git://github.com/chjj/marked.git",
12 | "_target": "~0.3.2",
13 | "_originalSource": "marked",
14 | "_direct": true
15 | }
--------------------------------------------------------------------------------
/resources/bower_components/marked/test/original/links_inline_style.text:
--------------------------------------------------------------------------------
1 | Just a [URL](/url/).
2 |
3 | [URL and title](/url/ "title").
4 |
5 | [URL and title](/url/ "title preceded by two spaces").
6 |
7 | [URL and title](/url/ "title preceded by a tab").
8 |
9 | [URL and title](/url/ "title has spaces afterward" ).
10 |
11 | [URL and title]( /url/has space ).
12 |
13 | [URL and title]( /url/has space/ "url has space and title").
14 |
15 | [Empty]().
16 |
--------------------------------------------------------------------------------
/resources/bower_components/marked/test/original/tabs.text:
--------------------------------------------------------------------------------
1 | + this is a list item
2 | indented with tabs
3 |
4 | + this is a list item
5 | indented with spaces
6 |
7 | Code:
8 |
9 | this code block is indented by one tab
10 |
11 | And:
12 |
13 | this code block is indented by two tabs
14 |
15 | And:
16 |
17 | + this is an example list item
18 | indented with tabs
19 |
20 | + this is an example list item
21 | indented with spaces
22 |
--------------------------------------------------------------------------------
/resources/bower_components/mocha/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mocha",
3 | "version": "1.21.4",
4 | "main": [
5 | "mocha.js",
6 | "mocha.css"
7 | ],
8 | "ignore": [
9 | "bin",
10 | "editors",
11 | "images",
12 | "lib",
13 | "support",
14 | "test",
15 | ".gitignore",
16 | ".npmignore",
17 | ".travis.yml",
18 | "component.json",
19 | "index.js",
20 | "Makefile",
21 | "package.json"
22 | ]
23 | }
24 |
--------------------------------------------------------------------------------
/resources/bower_components/Faker/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Faker",
3 | "homepage": "https://github.com/Marak/Faker.js",
4 | "version": "1.0.1",
5 | "_release": "1.0.1",
6 | "_resolution": {
7 | "type": "version",
8 | "tag": "1.0.1",
9 | "commit": "6bed149da3df03edbe9a87145c8471d965d1bc3b"
10 | },
11 | "_source": "git://github.com/Marak/Faker.js.git",
12 | "_target": "~1.0.1",
13 | "_originalSource": "Faker",
14 | "_direct": true
15 | }
--------------------------------------------------------------------------------
/resources/bower_components/fontawesome/less/larger.less:
--------------------------------------------------------------------------------
1 | // Icon Sizes
2 | // -------------------------
3 |
4 | /* makes the font 33% larger relative to the icon container */
5 | .@{fa-css-prefix}-lg {
6 | font-size: (4em / 3);
7 | line-height: (3em / 4);
8 | vertical-align: -15%;
9 | }
10 | .@{fa-css-prefix}-2x { font-size: 2em; }
11 | .@{fa-css-prefix}-3x { font-size: 3em; }
12 | .@{fa-css-prefix}-4x { font-size: 4em; }
13 | .@{fa-css-prefix}-5x { font-size: 5em; }
14 |
--------------------------------------------------------------------------------
/resources/bower_components/marked/test/new/tricky_list.html:
--------------------------------------------------------------------------------
1 | hello world
2 | 3 |hello world
8 | 9 |hello world
14 | 15 |hello world
20 | 21 |hello world
2 | 3 |hello world
8 | 9 |hello world
14 | 15 |hello world
20 | 21 |this is a list item 3 | indented with tabs
this is a list item 5 | indented with spaces
Code:
9 | 10 |this code block is indented by one tab
11 |
12 |
13 | And:
14 | 15 | this code block is indented by two tabs
16 |
17 |
18 | And:
19 | 20 |+ this is an example list item
21 | indented with tabs
22 |
23 | + this is an example list item
24 | indented with spaces
25 |
26 |
--------------------------------------------------------------------------------
/resources/bower_components/marked/test/tests/tabs.html:
--------------------------------------------------------------------------------
1 | this is a list item 3 | indented with tabs
this is a list item 5 | indented with spaces
Code:
9 | 10 |this code block is indented by one tab
11 |
12 |
13 | And:
14 | 15 | this code block is indented by two tabs
16 |
17 |
18 | And:
19 | 20 |+ this is an example list item
21 | indented with tabs
22 |
23 | + this is an example list item
24 | indented with spaces
25 |
26 |
--------------------------------------------------------------------------------
/resources/bower_components/marked/test/tests/toplevel_paragraphs.gfm.text:
--------------------------------------------------------------------------------
1 | hello world
2 | how are you
3 | how are you
4 |
5 | hello world
6 | ```
7 | how are you
8 | ```
9 |
10 | hello world
11 | * * *
12 |
13 | hello world
14 | # how are you
15 |
16 | hello world
17 | how are you
18 | ===========
19 |
20 | hello world
21 | > how are you
22 |
23 | hello world
24 | * how are you
25 |
26 | hello world
27 | Just a URL.
2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/links_inline_style.html: -------------------------------------------------------------------------------- 1 |Just a URL.
2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /resources/bower_components/angular-animate/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-animate", 3 | "version": "1.2.18", 4 | "main": "./angular-animate.js", 5 | "dependencies": { 6 | "angular": "1.2.18" 7 | }, 8 | "homepage": "https://github.com/angular/bower-angular-animate", 9 | "_release": "1.2.18", 10 | "_resolution": { 11 | "type": "version", 12 | "tag": "v1.2.18", 13 | "commit": "cd5a97b990643e831802256cbfd3c39f0372fd3b" 14 | }, 15 | "_source": "git://github.com/angular/bower-angular-animate.git", 16 | "_target": "~1.2.18", 17 | "_originalSource": "angular-animate", 18 | "_direct": true 19 | } -------------------------------------------------------------------------------- /resources/site_components/services/MochaService.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.site').factory('MochaService', function MochaService(mocha) { 2 | 'use strict'; 3 | return { 4 | getTestHtmlForSpec: getTestHtmlForSpec, 5 | clearSuites: clearSuites 6 | }; 7 | 8 | function getTestHtmlForSpec(spec) { 9 | return [ 10 | 'AT&T has an ampersand in their name.
2 | 3 |AT&T is another way to write it.
4 | 5 |This & that.
6 | 7 |4 < 5.
8 | 9 |6 > 5.
10 | 11 |Here's a link with an ampersand in the URL.
12 | 13 |Here's a link with an amersand in the link text: AT&T.
14 | 15 |Here's an inline link.
16 | 17 |Here's an inline link.
18 | -------------------------------------------------------------------------------- /resources/site_components/ThingCtrl/ThingCtrl.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.site').controller('ThingCtrl', function($scope, thing, MochaService, $anchorScroll, $location, $timeout) { 2 | 'use strict'; 3 | $scope.thing = thing; 4 | $scope.isLibrary = !!thing.libraryLink; 5 | $scope.hasExample = !!thing.example; 6 | $scope.hasTests = !!thing.spec; 7 | $scope.testOnClear = MochaService.clearSuites; 8 | $scope.scrollTo = function scrollTo(id) { 9 | $location.hash(id); 10 | $anchorScroll(); 11 | }; 12 | $timeout(function() { 13 | $anchorScroll(); 14 | }, 500); // wait for a few digests to run to get the height to its max 15 | }); -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/gfm_tables.text: -------------------------------------------------------------------------------- 1 | | Heading 1 | Heading 2 2 | | --------- | --------- 3 | | Cell 1 | Cell 2 4 | | Cell 3 | Cell 4 5 | 6 | | Header 1 | Header 2 | Header 3 | Header 4 | 7 | | :------: | -------: | :------- | -------- | 8 | | Cell 1 | Cell 2 | Cell 3 | Cell 4 | 9 | | Cell 5 | Cell 6 | Cell 7 | Cell 8 | 10 | 11 | Test code 12 | 13 | Header 1 | Header 2 14 | -------- | -------- 15 | Cell 1 | Cell 2 16 | Cell 3 | Cell 4 17 | 18 | Header 1|Header 2|Header 3|Header 4 19 | :-------|:------:|-------:|-------- 20 | Cell 1 |Cell 2 |Cell 3 |Cell 4 21 | *Cell 5*|Cell 6 |Cell 7 |Cell 8 22 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/horizontal_rules.text: -------------------------------------------------------------------------------- 1 | Dashes: 2 | 3 | --- 4 | 5 | --- 6 | 7 | --- 8 | 9 | --- 10 | 11 | --- 12 | 13 | - - - 14 | 15 | - - - 16 | 17 | - - - 18 | 19 | - - - 20 | 21 | - - - 22 | 23 | 24 | Asterisks: 25 | 26 | *** 27 | 28 | *** 29 | 30 | *** 31 | 32 | *** 33 | 34 | *** 35 | 36 | * * * 37 | 38 | * * * 39 | 40 | * * * 41 | 42 | * * * 43 | 44 | * * * 45 | 46 | 47 | Underscores: 48 | 49 | ___ 50 | 51 | ___ 52 | 53 | ___ 54 | 55 | ___ 56 | 57 | ___ 58 | 59 | _ _ _ 60 | 61 | _ _ _ 62 | 63 | _ _ _ 64 | 65 | _ _ _ 66 | 67 | _ _ _ 68 | -------------------------------------------------------------------------------- /resources/bower_components/Faker/Makefile: -------------------------------------------------------------------------------- 1 | BASE = . 2 | 3 | ISTANBUL = ./node_modules/.bin/istanbul 4 | COVERAGE_OPTS = --lines 95 --statements 95 --branches 95 --functions 95 5 | 6 | main: lint test 7 | 8 | build: 9 | cd BUILD && node BUILD.js 10 | 11 | cover: 12 | $(ISTANBUL) cover test/run.js --root ./lib -- -T unit,functional 13 | 14 | check-coverage: 15 | $(ISTANBUL) check-coverage $(COVERAGE_OPTS) 16 | 17 | test: cover check-coverage 18 | 19 | test-cov: cover check-coverage 20 | open coverage/lcov-report/index.html 21 | 22 | lint: 23 | ./node_modules/jshint/bin/hint ./lib --config $(BASE)/.jshintrc 24 | 25 | 26 | .PHONY: test, build 27 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/horizontal_rules.text: -------------------------------------------------------------------------------- 1 | Dashes: 2 | 3 | --- 4 | 5 | --- 6 | 7 | --- 8 | 9 | --- 10 | 11 | --- 12 | 13 | - - - 14 | 15 | - - - 16 | 17 | - - - 18 | 19 | - - - 20 | 21 | - - - 22 | 23 | 24 | Asterisks: 25 | 26 | *** 27 | 28 | *** 29 | 30 | *** 31 | 32 | *** 33 | 34 | *** 35 | 36 | * * * 37 | 38 | * * * 39 | 40 | * * * 41 | 42 | * * * 43 | 44 | * * * 45 | 46 | 47 | Underscores: 48 | 49 | ___ 50 | 51 | ___ 52 | 53 | ___ 54 | 55 | ___ 56 | 57 | ___ 58 | 59 | _ _ _ 60 | 61 | _ _ _ 62 | 63 | _ _ _ 64 | 65 | _ _ _ 66 | 67 | _ _ _ 68 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/gfm_tables.text: -------------------------------------------------------------------------------- 1 | | Heading 1 | Heading 2 2 | | --------- | --------- 3 | | Cell 1 | Cell 2 4 | | Cell 3 | Cell 4 5 | 6 | | Header 1 | Header 2 | Header 3 | Header 4 | 7 | | :------: | -------: | :------- | -------- | 8 | | Cell 1 | Cell 2 | Cell 3 | Cell 4 | 9 | | Cell 5 | Cell 6 | Cell 7 | Cell 8 | 10 | 11 | Test code 12 | 13 | Header 1 | Header 2 14 | -------- | -------- 15 | Cell 1 | Cell 2 16 | Cell 3 | Cell 4 17 | 18 | Header 1|Header 2|Header 3|Header 4 19 | :-------|:------:|-------:|-------- 20 | Cell 1 |Cell 2 |Cell 3 |Cell 4 21 | *Cell 5*|Cell 6 |Cell 7 |Cell 8 22 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/ajax/parseXML.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Cross-browser xml parsing 6 | jQuery.parseXML = function( data ) { 7 | var xml, tmp; 8 | if ( !data || typeof data !== "string" ) { 9 | return null; 10 | } 11 | 12 | // Support: IE9 13 | try { 14 | tmp = new DOMParser(); 15 | xml = tmp.parseFromString( data, "text/xml" ); 16 | } catch ( e ) { 17 | xml = undefined; 18 | } 19 | 20 | if ( !xml || xml.getElementsByTagName( "parsererror" ).length ) { 21 | jQuery.error( "Invalid XML: " + data ); 22 | } 23 | return xml; 24 | }; 25 | 26 | return jQuery.parseXML; 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /resources/bower_components/Faker/examples/node_generateSet.js: -------------------------------------------------------------------------------- 1 | var sys = require('sys') 2 | , fs = require('fs'); 3 | 4 | var faker= require('../index'); 5 | 6 | 7 | // generate dataSet as example 8 | fs.writeFile('../examples/dataSet.json', JSON.stringify(faker.Helpers.userCard()), function() { 9 | sys.puts("dataSet generated successfully!"); 10 | }); 11 | // generate bigDataSet as example 12 | var bigSet = []; 13 | 14 | for(i = 20; i >= 0; i--){ 15 | bigSet.push(faker.Helpers.userCard()); 16 | }; 17 | 18 | fs.writeFile('../examples/bigDataSet.json', JSON.stringify(bigSet), function() { 19 | sys.puts("bigDataSet generated successfully!"); 20 | }); 21 | -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/.npmignore: -------------------------------------------------------------------------------- 1 | *.pyc 2 | *.egg-info 3 | *.db 4 | *.db.old 5 | *.swp 6 | *.db-journal 7 | 8 | .coverage 9 | .DS_Store 10 | .installed.cfg 11 | _gh_pages/* 12 | 13 | .idea/* 14 | .svn/* 15 | src/website/static/* 16 | src/website/media/* 17 | 18 | bin 19 | cfcache 20 | develop-eggs 21 | dist 22 | downloads 23 | eggs 24 | parts 25 | tmp 26 | .sass-cache 27 | node_modules 28 | 29 | src/website/settingslocal.py 30 | stunnel.log 31 | 32 | .ruby-version 33 | 34 | # don't need these in the npm package. 35 | src/ 36 | _config.yml 37 | bower.json 38 | component.json 39 | composer.json 40 | CONTRIBUTING.md 41 | Gemfile 42 | Gemfile.lock 43 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/amps_and_angles_encoding.html: -------------------------------------------------------------------------------- 1 |AT&T has an ampersand in their name.
2 | 3 |AT&T is another way to write it.
4 | 5 |This & that.
6 | 7 |4 < 5.
8 | 9 |6 > 5.
10 | 11 |Here's a link with an ampersand in the URL.
12 | 13 |Here's a link with an amersand in the link text: AT&T.
14 | 15 |Here's an inline link.
16 | 17 |Here's an inline link.
18 | -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-dynamic-attr.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.directives').directive('kcdDynamicAttr', function kcdDynamicAttr() { 2 | 'use strict'; 3 | return { 4 | restrict: 'A', 5 | priority: 599, // one after ngIf 6 | controller: function($scope, $element, $attrs) { 7 | var attrNames = $attrs.kcdDynamicAttr.split(','); // allow for multiple replacements 8 | attrNames.forEach(function replaceAttr(attrName) { 9 | $attrs.$set(attrName, $scope.$eval($attrs[attrName])); 10 | }); 11 | 12 | // clean up 13 | $element.removeAttr('kcd-dynamic-attr'); 14 | delete $attrs.kcdDynamicAttr; 15 | } 16 | }; 17 | }); -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/auto_links.html: -------------------------------------------------------------------------------- 1 |Link: http://example.com/.
2 | 3 |With an ampersand: http://example.com/?foo=1&bar=2
4 | 5 |12 |14 | 15 |Blockquoted: http://example.com/
13 |
Auto-links should not occur here: <http://example.com/>
or here: <http://example.com/>
18 |
19 |
--------------------------------------------------------------------------------
/resources/bower_components/angularjs-scope.safeapply/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "angularjs-scope.safeapply",
3 | "description": "A Scope Wrapper for AngularJS",
4 | "homepage": "https://github.com/yearofmoo/AngularJS-Scope.SafeApply",
5 | "bugs": {
6 | "url": "https://github.com/yearofmoo/AngularJS-Scope.SafeApply/issues"
7 | },
8 | "keywords": [
9 | "AngularJS",
10 | "apply",
11 | "scope",
12 | "nodejs",
13 | "js",
14 | "javascript"
15 | ],
16 | "author": "Matias Niemela",
17 | "repository": {
18 | "type": "git",
19 | "url": "git://github.com/yearofmoo/AngularJS-Scope.SafeApply.git"
20 | },
21 | "version": "0.0.1"
22 | }
23 |
--------------------------------------------------------------------------------
/resources/bower_components/marked/test/original/auto_links.html:
--------------------------------------------------------------------------------
1 | Link: http://example.com/.
2 | 3 |With an ampersand: http://example.com/?foo=1&bar=2
4 | 5 |12 |14 | 15 |Blockquoted: http://example.com/
13 |
Auto-links should not occur here: <http://example.com/>
or here: <http://example.com/>
18 |
19 |
--------------------------------------------------------------------------------
/resources/bower_components/chai/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "chai"
3 | , "version": "1.9.1"
4 | , "description": "BDD/TDD assertion library for node.js and the browser. Test framework agnostic."
5 | , "license": "MIT"
6 | , "keywords": [
7 | "test"
8 | , "assertion"
9 | , "assert"
10 | , "testing"
11 | , "chai"
12 | ]
13 | , "main": "chai.js"
14 | , "ignore": [
15 | "build"
16 | , "components"
17 | , "lib"
18 | , "node_modules"
19 | , "support"
20 | , "test"
21 | , "index.js"
22 | , "Makefile"
23 | , ".*"
24 | ]
25 | , "dependencies": {}
26 | , "devDependencies": {}
27 | }
28 |
--------------------------------------------------------------------------------
/resources/bower_components/codemirror/addon/dialog/dialog.css:
--------------------------------------------------------------------------------
1 | .CodeMirror-dialog {
2 | position: absolute;
3 | left: 0; right: 0;
4 | background: white;
5 | z-index: 15;
6 | padding: .1em .8em;
7 | overflow: hidden;
8 | color: #333;
9 | }
10 |
11 | .CodeMirror-dialog-top {
12 | border-bottom: 1px solid #eee;
13 | top: 0;
14 | }
15 |
16 | .CodeMirror-dialog-bottom {
17 | border-top: 1px solid #eee;
18 | bottom: 0;
19 | }
20 |
21 | .CodeMirror-dialog input {
22 | border: none;
23 | outline: none;
24 | background: transparent;
25 | width: 20em;
26 | color: inherit;
27 | font-family: monospace;
28 | }
29 |
30 | .CodeMirror-dialog button {
31 | font-size: 70%;
32 | }
33 |
--------------------------------------------------------------------------------
/resources/bower_components/jquery/src/queue/delay.js:
--------------------------------------------------------------------------------
1 | define([
2 | "../core",
3 | "../queue",
4 | "../effects" // Delay is optional because of this dependency
5 | ], function( jQuery ) {
6 |
7 | // Based off of the plugin by Clint Helfers, with permission.
8 | // http://blindsignals.com/index.php/2009/07/jquery-delay/
9 | jQuery.fn.delay = function( time, type ) {
10 | time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;
11 | type = type || "fx";
12 |
13 | return this.queue( type, function( next, hooks ) {
14 | var timeout = setTimeout( next, time );
15 | hooks.stop = function() {
16 | clearTimeout( timeout );
17 | };
18 | });
19 | };
20 |
21 | return jQuery.fn.delay;
22 | });
23 |
--------------------------------------------------------------------------------
/resources/bower_components/mocha/media/logo.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
9 |
--------------------------------------------------------------------------------
/resources/bower_components/jquery/src/css/swap.js:
--------------------------------------------------------------------------------
1 | define([
2 | "../core"
3 | ], function( jQuery ) {
4 |
5 | // A method for quickly swapping in/out CSS properties to get correct calculations.
6 | jQuery.swap = function( elem, options, callback, args ) {
7 | var ret, name,
8 | old = {};
9 |
10 | // Remember the old values, and insert the new ones
11 | for ( name in options ) {
12 | old[ name ] = elem.style[ name ];
13 | elem.style[ name ] = options[ name ];
14 | }
15 |
16 | ret = callback.apply( elem, args || [] );
17 |
18 | // Revert the old values
19 | for ( name in options ) {
20 | elem.style[ name ] = old[ name ];
21 | }
22 |
23 | return ret;
24 | };
25 |
26 | return jQuery.swap;
27 |
28 | });
29 |
--------------------------------------------------------------------------------
/resources/bower_components/codemirror/README.md:
--------------------------------------------------------------------------------
1 | # CodeMirror
2 | [](https://travis-ci.org/marijnh/CodeMirror)
3 | [](https://www.npmjs.org/package/codemirror)
4 |
5 | CodeMirror is a JavaScript component that provides a code editor in
6 | the browser. When a mode is available for the language you are coding
7 | in, it will color your code, and optionally help with indentation.
8 |
9 | The project page is http://codemirror.net
10 | The manual is at http://codemirror.net/doc/manual.html
11 | The contributing guidelines are in [CONTRIBUTING.md](https://github.com/marijnh/CodeMirror/blob/master/CONTRIBUTING.md)
12 |
--------------------------------------------------------------------------------
/resources/bower_components/jquery/src/css/addGetHookIf.js:
--------------------------------------------------------------------------------
1 | define(function() {
2 |
3 | function addGetHookIf( conditionFn, hookFn ) {
4 | // Define the hook, we'll check on the first run if it's really needed.
5 | return {
6 | get: function() {
7 | if ( conditionFn() ) {
8 | // Hook not needed (or it's not possible to use it due to missing dependency),
9 | // remove it.
10 | // Since there are no other hooks for marginRight, remove the whole object.
11 | delete this.get;
12 | return;
13 | }
14 |
15 | // Hook needed; redefine it so that the support test is not executed again.
16 |
17 | return (this.get = hookFn).apply( this, arguments );
18 | }
19 | };
20 | }
21 |
22 | return addGetHookIf;
23 |
24 | });
25 |
--------------------------------------------------------------------------------
/resources/kcd/services/JWTAuthInterceptor.js:
--------------------------------------------------------------------------------
1 | angular.module('kcd.services').factory('JWTAuthInterceptor', function ($q, $window) {
2 | 'use strict';
3 | return {
4 | request: function (config) {
5 | config.headers = config.headers || {};
6 | var token = $window.localStorage.getItem('user-token');
7 | if (token) {
8 | config.headers.Authorization = 'Bearer ' + token;
9 | }
10 | return config;
11 | },
12 | response: function (response) {
13 | if (response.status === 401) {
14 | console.warn('user not authenticated', response);
15 | // handle the case where the user is not authenticated
16 | }
17 | return response || $q.when(response);
18 | }
19 | };
20 | });
--------------------------------------------------------------------------------
/resources/bower_components/angular-bootstrap/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "author": {
3 | "name": "https://github.com/angular-ui/bootstrap/graphs/contributors"
4 | },
5 | "name": "angular-bootstrap",
6 | "version": "0.11.0",
7 | "main": [
8 | "./ui-bootstrap-tpls.js"
9 | ],
10 | "dependencies": {
11 | "angular": ">=1"
12 | },
13 | "homepage": "https://github.com/angular-ui/bootstrap-bower",
14 | "_release": "0.11.0",
15 | "_resolution": {
16 | "type": "version",
17 | "tag": "0.11.0",
18 | "commit": "75b302f82c1a3b0647695a3dfeacab0a153ea8a0"
19 | },
20 | "_source": "git://github.com/angular-ui/bootstrap-bower.git",
21 | "_target": "~0.11.0",
22 | "_originalSource": "angular-bootstrap",
23 | "_direct": true
24 | }
--------------------------------------------------------------------------------
/resources/bower_components/codemirror/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "CodeMirror",
3 | "version": "4.3.0",
4 | "main": [
5 | "lib/codemirror.js",
6 | "lib/codemirror.css"
7 | ],
8 | "ignore": [
9 | "**/.*",
10 | "node_modules",
11 | "components",
12 | "bin",
13 | "demo",
14 | "doc",
15 | "test",
16 | "index.html",
17 | "package.json"
18 | ],
19 | "homepage": "https://github.com/marijnh/CodeMirror",
20 | "_release": "4.3.0",
21 | "_resolution": {
22 | "type": "version",
23 | "tag": "4.3.0",
24 | "commit": "fe51575290369ad27eea6732d65ba3af8ab3489d"
25 | },
26 | "_source": "git://github.com/marijnh/CodeMirror.git",
27 | "_target": "3 || 4",
28 | "_originalSource": "codemirror"
29 | }
--------------------------------------------------------------------------------
/resources/bower_components/marked/test/new/toplevel_paragraphs.gfm.html:
--------------------------------------------------------------------------------
1 | hello world 2 | how are you 3 | how are you
4 | 5 |hello world
6 |how are you
7 |
8 | hello world
9 |hello world
12 |hello world
15 |hello world
18 |19 | 20 |how are you
hello world
21 |hello world
24 |hello world 27 | how are you
28 | 29 |hello world 30 |
31 | 32 |hello
35 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/toplevel_paragraphs.gfm.html: -------------------------------------------------------------------------------- 1 |hello world 2 | how are you 3 | how are you
4 | 5 |hello world
6 |how are you
7 |
8 | hello world
9 |hello world
12 |hello world
15 |hello world
18 |19 | 20 |how are you
hello world
21 |hello world
24 |hello world 27 | how are you
28 | 29 |hello world 30 |
31 | 32 |hello
35 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/jquery.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "./selector", 4 | "./traversing", 5 | "./callbacks", 6 | "./deferred", 7 | "./core/ready", 8 | "./data", 9 | "./queue", 10 | "./queue/delay", 11 | "./attributes", 12 | "./event", 13 | "./event/alias", 14 | "./manipulation", 15 | "./manipulation/_evalUrl", 16 | "./wrap", 17 | "./css", 18 | "./css/hiddenVisibleSelectors", 19 | "./serialize", 20 | "./ajax", 21 | "./ajax/xhr", 22 | "./ajax/script", 23 | "./ajax/jsonp", 24 | "./ajax/load", 25 | "./effects", 26 | "./effects/animatedSelector", 27 | "./offset", 28 | "./dimensions", 29 | "./deprecated", 30 | "./exports/amd", 31 | "./exports/global" 32 | ], function( jQuery ) { 33 | 34 | return jQuery; 35 | 36 | }); 37 | -------------------------------------------------------------------------------- /resources/bower_components/codemirror/theme/neat.css: -------------------------------------------------------------------------------- 1 | .cm-s-neat span.cm-comment { color: #a86; } 2 | .cm-s-neat span.cm-keyword { line-height: 1em; font-weight: bold; color: blue; } 3 | .cm-s-neat span.cm-string { color: #a22; } 4 | .cm-s-neat span.cm-builtin { line-height: 1em; font-weight: bold; color: #077; } 5 | .cm-s-neat span.cm-special { line-height: 1em; font-weight: bold; color: #0aa; } 6 | .cm-s-neat span.cm-variable { color: black; } 7 | .cm-s-neat span.cm-number, .cm-s-neat span.cm-atom { color: #3a3; } 8 | .cm-s-neat span.cm-meta {color: #555;} 9 | .cm-s-neat span.cm-link { color: #3a3; } 10 | 11 | .cm-s-neat .CodeMirror-activeline-background {background: #e8f2ff !important;} 12 | .cm-s-neat .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 13 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/horizontal_rules.html: -------------------------------------------------------------------------------- 1 |Dashes:
2 | 3 |---
12 |
13 |
14 | - - -
23 |
24 |
25 | Asterisks:
26 | 27 |***
36 |
37 |
38 | * * *
47 |
48 |
49 | Underscores:
50 | 51 |___
60 |
61 |
62 | _ _ _
71 |
72 |
--------------------------------------------------------------------------------
/resources/bower_components/chai/karma.conf.js:
--------------------------------------------------------------------------------
1 | module.exports = function(config) {
2 | config.set({
3 | frameworks: [ 'mocha' ]
4 | , files: [
5 | 'build/build.js'
6 | , 'test/bootstrap/karma.js'
7 | , 'test/*.js'
8 | ]
9 | , reporters: [ 'progress' ]
10 | , colors: true
11 | , logLevel: config.LOG_INFO
12 | , autoWatch: false
13 | , browsers: [ 'PhantomJS' ]
14 | , browserDisconnectTimeout: 10000
15 | , browserDisconnectTolerance: 2
16 | , browserNoActivityTimeout: 20000
17 | , singleRun: true
18 | });
19 |
20 | switch (process.env.CHAI_TEST_ENV) {
21 | case 'sauce':
22 | require('./karma.sauce')(config);
23 | break;
24 | default:
25 | // ...
26 | break;
27 | };
28 | };
29 |
--------------------------------------------------------------------------------
/resources/bower_components/Faker/test/random.unit.js:
--------------------------------------------------------------------------------
1 | if (typeof module !== 'undefined') {
2 | var assert = require('assert');
3 | var sinon = require('sinon');
4 | var faker = require('../index');
5 | }
6 |
7 | describe("random.js", function () {
8 | describe("number", function() {
9 | it("returns a random number given a maximum value", function() {
10 | var max = 10;
11 | assert.ok(faker.random.number(max) < max);
12 | });
13 | it("returns a random number between a range", function() {
14 | var range = [1, 10];
15 | var min = range[0];
16 | var max = range[1]
17 | var randomNumber = faker.random.number(range);
18 | assert.ok( randomNumber >= min);
19 | assert.ok( randomNumber <= max);
20 | });
21 | });
22 | });
23 |
--------------------------------------------------------------------------------
/resources/bower_components/fontawesome/less/path.less:
--------------------------------------------------------------------------------
1 | /* FONT PATH
2 | * -------------------------- */
3 |
4 | @font-face {
5 | font-family: 'FontAwesome';
6 | src: ~"url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}')";
7 | src: ~"url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype')",
8 | ~"url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff')",
9 | ~"url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype')",
10 | ~"url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg')";
11 | // src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
12 | font-weight: normal;
13 | font-style: normal;
14 | }
15 |
--------------------------------------------------------------------------------
/resources/bower_components/fontawesome/scss/_path.scss:
--------------------------------------------------------------------------------
1 | /* FONT PATH
2 | * -------------------------- */
3 |
4 | @font-face {
5 | font-family: 'FontAwesome';
6 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}');
7 | src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'),
8 | url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'),
9 | url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'),
10 | url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg');
11 | //src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
12 | font-weight: normal;
13 | font-style: normal;
14 | }
15 |
--------------------------------------------------------------------------------
/resources/bower_components/marked/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "marked",
3 | "description": "A markdown parser built for speed",
4 | "author": "Christopher Jeffrey",
5 | "version": "0.3.2",
6 | "main": "./lib/marked.js",
7 | "bin": "./bin/marked",
8 | "man": "./man/marked.1",
9 | "preferGlobal": true,
10 | "repository": "git://github.com/chjj/marked.git",
11 | "homepage": "https://github.com/chjj/marked",
12 | "bugs": { "url": "http://github.com/chjj/marked/issues" },
13 | "license": "MIT",
14 | "keywords": ["markdown", "markup", "html"],
15 | "tags": ["markdown", "markup", "html"],
16 | "devDependencies": {
17 | "markdown": "*",
18 | "showdown": "*",
19 | "robotskirt": "*"
20 | },
21 | "scripts": { "test": "node test", "bench": "node test --bench" }
22 | }
23 |
--------------------------------------------------------------------------------
/resources/site_components/filters/linkifyDependencies.js:
--------------------------------------------------------------------------------
1 | angular.module('kcd.site').filter('linkifyDependencies', function(_, $sce, AngularThingsGetter) {
2 | 'use strict';
3 | return function(dependencies) {
4 | if (!dependencies || !_.isArray(dependencies)) {
5 | return dependencies;
6 | }
7 | var thingsText = [];
8 | _.each(dependencies, function(dep) {
9 | var thing = AngularThingsGetter.getThing(dep);
10 | var content = dep;
11 | var href = 'https://docs.angularjs.org/api/ng/service/' + dep;
12 | if (thing) {
13 | content = thing.name;
14 | href = '#/' + thing.name;
15 | }
16 | thingsText.push('' + content + '');
17 | });
18 | return $sce.trustAsHtml(thingsText.join(', '));
19 | };
20 | });
--------------------------------------------------------------------------------
/resources/bower_components/Faker/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "faker",
3 | "description": "Generate massive amounts of fake contextual data",
4 | "version": "1.0.1",
5 | "contributors": [
6 | "Marak Squires Dashes:
2 | 3 |---
12 |
13 |
14 | - - -
23 |
24 |
25 | Asterisks:
26 | 27 |***
36 |
37 |
38 | * * *
47 |
48 |
49 | Underscores:
50 | 51 |___
60 |
61 |
62 | _ _ _
71 |
72 |
--------------------------------------------------------------------------------
/resources/bower_components/mocha/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "mocha",
3 | "version": "1.21.4",
4 | "main": [
5 | "mocha.js",
6 | "mocha.css"
7 | ],
8 | "ignore": [
9 | "bin",
10 | "editors",
11 | "images",
12 | "lib",
13 | "support",
14 | "test",
15 | ".gitignore",
16 | ".npmignore",
17 | ".travis.yml",
18 | "component.json",
19 | "index.js",
20 | "Makefile",
21 | "package.json"
22 | ],
23 | "homepage": "https://github.com/visionmedia/mocha",
24 | "_release": "1.21.4",
25 | "_resolution": {
26 | "type": "version",
27 | "tag": "1.21.4",
28 | "commit": "bfb4ec14f0403450e4c6a7ff190eb0596880edcc"
29 | },
30 | "_source": "git://github.com/visionmedia/mocha.git",
31 | "_target": "~1.21.4",
32 | "_originalSource": "mocha",
33 | "_direct": true
34 | }
--------------------------------------------------------------------------------
/resources/bower_components/fontawesome/scss/_mixins.scss:
--------------------------------------------------------------------------------
1 | // Mixins
2 | // --------------------------
3 |
4 | @mixin fa-icon-rotate($degrees, $rotation) {
5 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
6 | -webkit-transform: rotate($degrees);
7 | -moz-transform: rotate($degrees);
8 | -ms-transform: rotate($degrees);
9 | -o-transform: rotate($degrees);
10 | transform: rotate($degrees);
11 | }
12 |
13 | @mixin fa-icon-flip($horiz, $vert, $rotation) {
14 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
15 | -webkit-transform: scale($horiz, $vert);
16 | -moz-transform: scale($horiz, $vert);
17 | -ms-transform: scale($horiz, $vert);
18 | -o-transform: scale($horiz, $vert);
19 | transform: scale($horiz, $vert);
20 | }
21 |
--------------------------------------------------------------------------------
/resources/kcd/directives/kcd-custom-validation-docs.md:
--------------------------------------------------------------------------------
1 | A simple abstraction on top of validation. Provide an object (or array) to this directive that's structured like so:
2 |
3 | ```javascript
4 | $scope.validators = [
5 | {
6 | name: 'not-joe',
7 | fn: function(value) {
8 | return /joe/.test(value);
9 | },
10 | watch: 'value' // will watch 'value' on the scope of the element this is on.
11 | },
12 | {
13 | name: 'wrong-length',
14 | fn: function(value) {
15 | return value.length !== 4;
16 | }
17 | // no watch means this will simply be added to the controller's $parsers and invoked with the viewValue.
18 | }
19 | ]
20 | ```
21 |
22 | Then you'd use it like this:
23 |
24 | ```
25 |
26 | ```
27 |
28 | And you can hook into the `$error` of this input field.
--------------------------------------------------------------------------------
/resources/bower_components/lodash/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "lodash",
3 | "version": "2.4.1",
4 | "main": "dist/lodash.compat.js",
5 | "ignore": [
6 | ".*",
7 | "*.custom.*",
8 | "*.template.*",
9 | "*.map",
10 | "*.md",
11 | "/*.min.*",
12 | "/lodash.js",
13 | "index.js",
14 | "component.json",
15 | "package.json",
16 | "doc",
17 | "modularize",
18 | "node_modules",
19 | "perf",
20 | "test",
21 | "vendor"
22 | ],
23 | "homepage": "https://github.com/lodash/lodash",
24 | "_release": "2.4.1",
25 | "_resolution": {
26 | "type": "version",
27 | "tag": "2.4.1",
28 | "commit": "c7aa842eded639d6d90a5714d3195a8802c86687"
29 | },
30 | "_source": "git://github.com/lodash/lodash.git",
31 | "_target": "~2.4.1",
32 | "_originalSource": "lodash",
33 | "_direct": true
34 | }
--------------------------------------------------------------------------------
/resources/kcd/directives/kcd-remove-watchers-docs.md:
--------------------------------------------------------------------------------
1 | This allows you to remove watchers from all scopes starting from an element down through its children. It has an isolate
2 | scope so any watchers outside of it will not be affected. You can also provide it an array of expressions which can be
3 | strings or functions in an attribute called `save-expressions` and any watchers with matching expressions will not be
4 | removed.
5 |
6 | This is a bit of a hack and a better way to do this would be to use the new
7 | [one-time binding expressions](https://docs.angularjs.org/guide/expression#one-time-binding) coming in Angular 1.3.
8 | The main usefulness of this directive is when you don't have control over the template where there are watch expressions
9 | (like from a vendor module). The [kcd-recompile](#/kcd-recompile) directive could be useful in combination with this.
--------------------------------------------------------------------------------
/resources/bower_components/marked/test/new/gfm_code_hr_list.text:
--------------------------------------------------------------------------------
1 | ## foo
2 |
3 | 1. bar:
4 |
5 | > - one
6 | - two
7 | - three
8 | - four
9 | - five
10 |
11 | 1. foo:
12 |
13 | ```
14 | line 1
15 | line 2
16 | ```
17 |
18 | 1. foo:
19 |
20 | 1. foo `bar` bar:
21 |
22 | ``` erb
23 | some code here
24 | ```
25 |
26 | 2. foo `bar` bar:
27 |
28 | ``` erb
29 | foo
30 | ---
31 | bar
32 | ---
33 | foo
34 | bar
35 | ```
36 |
37 | 3. foo `bar` bar:
38 |
39 | ``` html
40 | ---
41 | foo
42 | foo
43 | ---
44 | bar
45 | ```
46 |
47 | 4. foo `bar` bar:
48 |
49 | foo
50 | ---
51 | bar
52 |
53 | 5. foo
54 |
--------------------------------------------------------------------------------
/resources/bower_components/marked/test/tests/gfm_code_hr_list.text:
--------------------------------------------------------------------------------
1 | ## foo
2 |
3 | 1. bar:
4 |
5 | > - one
6 | - two
7 | - three
8 | - four
9 | - five
10 |
11 | 1. foo:
12 |
13 | ```
14 | line 1
15 | line 2
16 | ```
17 |
18 | 1. foo:
19 |
20 | 1. foo `bar` bar:
21 |
22 | ``` erb
23 | some code here
24 | ```
25 |
26 | 2. foo `bar` bar:
27 |
28 | ``` erb
29 | foo
30 | ---
31 | bar
32 | ---
33 | foo
34 | bar
35 | ```
36 |
37 | 3. foo `bar` bar:
38 |
39 | ``` html
40 | ---
41 | foo
42 | foo
43 | ---
44 | bar
45 | ```
46 |
47 | 4. foo `bar` bar:
48 |
49 | foo
50 | ---
51 | bar
52 |
53 | 5. foo
54 |
--------------------------------------------------------------------------------
/resources/bower_components/codemirror/theme/elegant.css:
--------------------------------------------------------------------------------
1 | .cm-s-elegant span.cm-number, .cm-s-elegant span.cm-string, .cm-s-elegant span.cm-atom {color: #762;}
2 | .cm-s-elegant span.cm-comment {color: #262; font-style: italic; line-height: 1em;}
3 | .cm-s-elegant span.cm-meta {color: #555; font-style: italic; line-height: 1em;}
4 | .cm-s-elegant span.cm-variable {color: black;}
5 | .cm-s-elegant span.cm-variable-2 {color: #b11;}
6 | .cm-s-elegant span.cm-qualifier {color: #555;}
7 | .cm-s-elegant span.cm-keyword {color: #730;}
8 | .cm-s-elegant span.cm-builtin {color: #30a;}
9 | .cm-s-elegant span.cm-link {color: #762;}
10 | .cm-s-elegant span.cm-error {background-color: #fdd;}
11 |
12 | .cm-s-elegant .CodeMirror-activeline-background {background: #e8f2ff !important;}
13 | .cm-s-elegant .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;}
14 |
--------------------------------------------------------------------------------
/resources/bower_components/codemirror/addon/hint/show-hint.css:
--------------------------------------------------------------------------------
1 | .CodeMirror-hints {
2 | position: absolute;
3 | z-index: 10;
4 | overflow: hidden;
5 | list-style: none;
6 |
7 | margin: 0;
8 | padding: 2px;
9 |
10 | -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
11 | -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
12 | box-shadow: 2px 3px 5px rgba(0,0,0,.2);
13 | border-radius: 3px;
14 | border: 1px solid silver;
15 |
16 | background: white;
17 | font-size: 90%;
18 | font-family: monospace;
19 |
20 | max-height: 20em;
21 | overflow-y: auto;
22 | }
23 |
24 | .CodeMirror-hint {
25 | margin: 0;
26 | padding: 0 4px;
27 | border-radius: 2px;
28 | max-width: 19em;
29 | overflow: hidden;
30 | white-space: pre;
31 | color: black;
32 | cursor: pointer;
33 | }
34 |
35 | .CodeMirror-hint-active {
36 | background: #08f;
37 | color: white;
38 | }
39 |
--------------------------------------------------------------------------------
/resources/site_components/ThingCtrl/ThingCtrl.styl:
--------------------------------------------------------------------------------
1 | .thing-view
2 | .section-title
3 | position relative
4 | padding-left 24px
5 | margin-left -24px
6 | &:hover
7 | .fa-link
8 | display inline
9 | .fa-link
10 | display none
11 | color #000
12 | text-decoration none
13 | position absolute
14 | left 0
15 | top 6px
16 | font-size 20px
17 | &:hover
18 | color #666
19 | pre
20 | word-break normal
21 | word-wrap normal
22 | code
23 | white-space pre
24 | word-wrap normal
25 | #mocha
26 | margin 0
27 | ul
28 | position inherit
29 | top 0
30 | right 0
31 | mocha-stats .progress
32 | float left
33 | height 40px
34 | background-color rgba(0, 0, 0, 0)
35 | border-radius 50%
36 | .test a.replay
37 | display none
--------------------------------------------------------------------------------
/.jshintrc:
--------------------------------------------------------------------------------
1 | {
2 | "curly": true,
3 | "eqeqeq": true,
4 | "expr": true,
5 | "forin": true,
6 | "freeze": true,
7 | "immed": true,
8 | "indent": 2,
9 | "latedef": "nofunc",
10 | "newcap": true,
11 | "noarg": true,
12 | "noempty": true,
13 | "nonbsp": true,
14 | "quotmark": "single",
15 | "undef": true,
16 | "unused": "vars",
17 | "strict": true,
18 | "trailing": true,
19 | "maxdepth": 4,
20 | "maxstatements": 50,
21 | "maxcomplexity": 6,
22 | "maxlen": 200,
23 | "browser": true,
24 | "jquery": true,
25 | "node": true,
26 | "globals": {
27 | "angular": false,
28 | "PK": false,
29 | "Faker": false,
30 | "_": false,
31 |
32 | // Tests
33 | "mocha": false,
34 | "describe": false,
35 | "beforeEach": false,
36 | "it": false,
37 | "inject": false,
38 | "module": false,
39 | "chai": false
40 | }
41 | }
42 |
--------------------------------------------------------------------------------
/resources/bower_components/fontawesome/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "font-awesome",
3 | "description": "Font Awesome",
4 | "version": "4.1.0",
5 | "keywords": [],
6 | "homepage": "http://fontawesome.io",
7 | "dependencies": {},
8 | "devDependencies": {},
9 | "license": [
10 | "OFL-1.1",
11 | "MIT",
12 | "CC-BY-3.0"
13 | ],
14 | "main": [
15 | "./css/font-awesome.css",
16 | "./fonts/*"
17 | ],
18 | "ignore": [
19 | "*/.*",
20 | "*.json",
21 | "src",
22 | "*.yml",
23 | "Gemfile",
24 | "Gemfile.lock",
25 | "*.md"
26 | ],
27 | "_release": "4.1.0",
28 | "_resolution": {
29 | "type": "version",
30 | "tag": "v4.1.0",
31 | "commit": "2649d91d18629bab071449b3bc4cb02761037a57"
32 | },
33 | "_source": "git://github.com/FortAwesome/Font-Awesome.git",
34 | "_target": "~4.1.0",
35 | "_originalSource": "fontawesome",
36 | "_direct": true
37 | }
--------------------------------------------------------------------------------
/resources/bower_components/jquery/.bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "jquery",
3 | "version": "2.1.1",
4 | "main": "dist/jquery.js",
5 | "license": "MIT",
6 | "ignore": [
7 | "**/.*",
8 | "build",
9 | "speed",
10 | "test",
11 | "*.md",
12 | "AUTHORS.txt",
13 | "Gruntfile.js",
14 | "package.json"
15 | ],
16 | "devDependencies": {
17 | "sizzle": "1.10.19",
18 | "requirejs": "2.1.10",
19 | "qunit": "1.14.0",
20 | "sinon": "1.8.1"
21 | },
22 | "keywords": [
23 | "jquery",
24 | "javascript",
25 | "library"
26 | ],
27 | "homepage": "https://github.com/jquery/jquery",
28 | "_release": "2.1.1",
29 | "_resolution": {
30 | "type": "version",
31 | "tag": "2.1.1",
32 | "commit": "4dec426aa2a6cbabb1b064319ba7c272d594a688"
33 | },
34 | "_source": "git://github.com/jquery/jquery.git",
35 | "_target": ">=1.6.3",
36 | "_originalSource": "jquery"
37 | }
--------------------------------------------------------------------------------
/resources/bower_components/marked/test/new/loose_lists.html:
--------------------------------------------------------------------------------
1 | hello 3 | world
4 | 5 |how 6 | are
better behavior:
13 | 14 |hello
world 15 | how
are 16 | you
today
hello
world
world
hi
world
39 | 40 |how
how
50 | 51 |are
world
how
60 | 61 |are
hello 3 | world
4 | 5 |how 6 | are
better behavior:
13 | 14 |hello
world 15 | how
are 16 | you
today
hello
world
world
hi
world
39 | 40 |how
how
50 | 51 |are
world
how
60 | 61 |are
bar:
4 |5 |17 |6 |
16 |- one
15 |7 |
14 |- two
13 |8 |
12 |- three
9 |- four
10 |- five
11 |
foo:
19 | line 1
20 | line 2
21 | foo:
23 |foo bar bar:
some code here
26 |
27 | foo bar bar:
foo
30 | ---
31 | bar
32 | ---
33 | foo
34 | bar
35 | foo bar bar:
---
38 | foo
39 | foo
40 | ---
41 | bar
42 | foo bar bar:
foo
45 | ---
46 | bar
47 | foo
49 |bar:
4 |5 |17 |6 |
16 |- one
15 |7 |
14 |- two
13 |8 |
12 |- three
9 |- four
10 |- five
11 |
foo:
19 | line 1
20 | line 2
21 | foo:
23 |foo bar bar:
some code here
26 |
27 | foo bar bar:
foo
30 | ---
31 | bar
32 | ---
33 | foo
34 | bar
35 | foo bar bar:
---
38 | foo
39 | foo
40 | ---
41 | bar
42 | foo bar bar:
foo
45 | ---
46 | bar
47 | foo
49 |Here's a simple block:
2 | 3 |This should be a code block, though:
8 | 9 |<div>
10 | foo
11 | </div>
12 |
13 |
14 | As should this:
15 | 16 |<div>foo</div>
17 |
18 |
19 | Now, nested:
20 | 21 |This should just be an HTML comment:
30 | 31 | 32 | 33 |Multiline:
34 | 35 | 39 | 40 |Code block:
41 | 42 |<!-- Comment -->
43 |
44 |
45 | Just plain comment, with trailing spaces on the line:
46 | 47 | 48 | 49 |Code:
50 | 51 |<hr>
52 |
53 |
54 | Hr's:
55 | 56 |Here's a simple block:
2 | 3 |This should be a code block, though:
8 | 9 |<div>
10 | foo
11 | </div>
12 |
13 |
14 | As should this:
15 | 16 |<div>foo</div>
17 |
18 |
19 | Now, nested:
20 | 21 |This should just be an HTML comment:
30 | 31 | 32 | 33 |Multiline:
34 | 35 | 39 | 40 |Code block:
41 | 42 |<!-- Comment -->
43 |
44 |
45 | Just plain comment, with trailing spaces on the line:
46 | 47 | 48 | 49 |Code:
50 | 51 |<hr />
52 |
53 |
54 | Hr's:
55 | 56 |