├── 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

2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/nested_code.text: -------------------------------------------------------------------------------- 1 | ````` hi ther `` ok ``` ````` 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/same_bullet.text: -------------------------------------------------------------------------------- 1 | * test 2 | + test 3 | - test 4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/lazy_blockquotes.text: -------------------------------------------------------------------------------- 1 | > hi there 2 | bud 3 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/not_a_link.html: -------------------------------------------------------------------------------- 1 |

[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

2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/gfm_em.text: -------------------------------------------------------------------------------- 1 | These words should_not_be_emphasized. 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/nested_code.text: -------------------------------------------------------------------------------- 1 | ````` hi ther `` ok ``` ````` 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/nested_square_link.text: -------------------------------------------------------------------------------- 1 | [the `]` character](/url) 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/ref_paren.text: -------------------------------------------------------------------------------- 1 | [hi] 2 | 3 | [hi]: /url (there) 4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/same_bullet.text: -------------------------------------------------------------------------------- 1 | * test 2 | + test 3 | - test 4 | -------------------------------------------------------------------------------- /resources/site_components/one-off/mocha-setup.js: -------------------------------------------------------------------------------- 1 | mocha.setup('bdd'); 2 | mocha.reporter('html'); -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/less/extras.less: -------------------------------------------------------------------------------- 1 | // Extras 2 | // -------------------------- 3 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/autolink_lines.text: -------------------------------------------------------------------------------- 1 | hello world 2 | 3 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/case_insensitive_refs.html: -------------------------------------------------------------------------------- 1 |

hi

2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/gfm_em.html: -------------------------------------------------------------------------------- 1 |

These words should_not_be_emphasized.

2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/nested_code.html: -------------------------------------------------------------------------------- 1 |

hi ther `` ok ```

2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/case_insensitive_refs.text: -------------------------------------------------------------------------------- 1 | [hi] 2 | 3 | [HI]: /url 4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/nested_code.html: -------------------------------------------------------------------------------- 1 |

hi ther `` ok ```

2 | -------------------------------------------------------------------------------- /resources/bower_components/Faker/.jshintignore: -------------------------------------------------------------------------------- 1 | lib/definitions.js 2 | lib/version.js 3 | lib/helpers.js 4 | -------------------------------------------------------------------------------- /resources/bower_components/angularjs-scope.safeapply/test/lib/chai-expect.js: -------------------------------------------------------------------------------- 1 | var expect = chai.expect; 2 | -------------------------------------------------------------------------------- /resources/bower_components/angularjs-scope.safeapply/test/lib/chai-should.js: -------------------------------------------------------------------------------- 1 | var should = chai.should(); 2 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/ajax/var/rquery.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/\?/); 3 | }); 4 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/var/rnotwhite.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/\S+/g); 3 | }); 4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/gfm_break.breaks.text: -------------------------------------------------------------------------------- 1 | Look at the 2 | pretty line 3 | breaks. 4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/ref_paren.html: -------------------------------------------------------------------------------- 1 |

hi

2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/autolink_lines.text: -------------------------------------------------------------------------------- 1 | hello world 2 | 3 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/case_insensitive_refs.html: -------------------------------------------------------------------------------- 1 |

hi

2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/gfm_em.html: -------------------------------------------------------------------------------- 1 |

These words should_not_be_emphasized.

2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/ref_paren.html: -------------------------------------------------------------------------------- 1 |

hi

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.

2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/list_item_text.text: -------------------------------------------------------------------------------- 1 | * item1 2 | 3 | * item2 4 | 5 | text 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/nested_em.text: -------------------------------------------------------------------------------- 1 | *test **test** test* 2 | 3 | _test __test__ test_ 4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/gfm_break.breaks.text: -------------------------------------------------------------------------------- 1 | Look at the 2 | pretty line 3 | breaks. 4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/nested_blockquotes.text: -------------------------------------------------------------------------------- 1 | > foo 2 | > 3 | > > bar 4 | > 5 | > foo 6 | -------------------------------------------------------------------------------- /resources/kcd/constants/hljs-docs.md: -------------------------------------------------------------------------------- 1 | Highlight.js is the library I'm using to highlight the code on this page. -------------------------------------------------------------------------------- /resources/bower_components/Faker/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.11" 4 | - "0.10" 5 | - "0.8" -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/gfm_links.text: -------------------------------------------------------------------------------- 1 | This should be a link: http://example.com/hello-world. 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/nested_blockquotes.text: -------------------------------------------------------------------------------- 1 | > foo 2 | > 3 | > > bar 4 | > 5 | > foo 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/gfm_break.breaks.html: -------------------------------------------------------------------------------- 1 |

Look at the
pretty line
breaks.

2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/gfm_links.text: -------------------------------------------------------------------------------- 1 | This should be a link: http://example.com/hello-world. 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/list_item_text.text: -------------------------------------------------------------------------------- 1 | * item1 2 | 3 | * item2 4 | 5 | text 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/nested_em.text: -------------------------------------------------------------------------------- 1 | *test **test** test* 2 | 3 | _test __test__ test_ 4 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/var/strundefined.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return typeof undefined; 3 | }); 4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.10" 4 | - "0.8" 5 | - "0.6" 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/hr_list_break.text: -------------------------------------------------------------------------------- 1 | * hello 2 | world 3 | * how 4 | are 5 | * * * 6 | you today? 7 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/nested_square_link.html: -------------------------------------------------------------------------------- 1 |

the ] character

2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/hr_list_break.text: -------------------------------------------------------------------------------- 1 | * hello 2 | world 3 | * how 4 | are 5 | * * * 6 | you today? 7 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/nested_square_link.html: -------------------------------------------------------------------------------- 1 |

the ] character

2 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/var/push.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.push; 5 | }); 6 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/var/slice.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.slice; 5 | }); 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/lazy_blockquotes.html: -------------------------------------------------------------------------------- 1 |
2 |

hi there 3 | bud

4 |
5 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/same_bullet.html: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/lazy_blockquotes.html: -------------------------------------------------------------------------------- 1 |
2 |

hi there 3 | bud

4 |
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 | 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/list_item_text.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/same_bullet.html: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /resources/bower_components/Faker/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/kcd-angular/HEAD/resources/bower_components/Faker/logo.png -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/css/var/cssExpand.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return [ "Top", "Right", "Bottom", "Left" ]; 3 | }); 4 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/manipulation/var/rcheckableType.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/^(?:checkbox|radio)$/i); 3 | }); 4 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/var/pnum.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; 3 | }); 4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/blockquote_list_item.text: -------------------------------------------------------------------------------- 1 | This fails in markdown.pl and upskirt: 2 | 3 | * hello 4 | > world 5 | -------------------------------------------------------------------------------- /resources/kcd/app.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd', [ 2 | 'kcd.constants', 3 | 'kcd.services', 4 | 'kcd.filters', 5 | 'kcd.directives' 6 | ]); -------------------------------------------------------------------------------- /resources/non_bower_components/clippy.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/kcd-angular/HEAD/resources/non_bower_components/clippy.swf -------------------------------------------------------------------------------- /resources/site_components/stylus/util.styl: -------------------------------------------------------------------------------- 1 | 2 | .cursor-pointer 3 | cursor pointer 4 | 5 | .text-align-center 6 | text-align center 7 | -------------------------------------------------------------------------------- /resources/bower_components/angular-ui-codemirror/.travis.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # blacklist the bower branch 3 | branches: 4 | only: 5 | - master 6 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/ajax/var/nonce.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../core" 3 | ], function( jQuery ) { 4 | return jQuery.now(); 5 | }); 6 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/data/var/data_priv.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | }); 6 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/data/var/data_user.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | }); 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/autolink_lines.html: -------------------------------------------------------------------------------- 1 |

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 | 4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/hr_list_break.html: -------------------------------------------------------------------------------- 1 | 7 | 8 |
9 | 10 |

you today?

11 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/hr_list_break.html: -------------------------------------------------------------------------------- 1 | 7 | 8 |
9 | 10 |

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 | 4 | -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/fonts/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/kcd-angular/HEAD/resources/bower_components/fontawesome/fonts/fontawesome-webfont.eot -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/fonts/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/kcd-angular/HEAD/resources/bower_components/fontawesome/fonts/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/fonts/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kentcdodds/kcd-angular/HEAD/resources/bower_components/fontawesome/fonts/fontawesome-webfont.woff -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/less/fixed-width.less: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .@{fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/traversing/var/rneedsContext.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../core", 3 | "../../selector" 4 | ], function( jQuery ) { 5 | return jQuery.expr.match.needsContext; 6 | }); 7 | -------------------------------------------------------------------------------- /resources/bower_components/codemirror/addon/display/fullscreen.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-fullscreen { 2 | position: fixed; 3 | top: 0; left: 0; right: 0; bottom: 0; 4 | height: auto; 5 | z-index: 9; 6 | } 7 | -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/scss/_fixed-width.scss: -------------------------------------------------------------------------------- 1 | // Fixed Width Icons 2 | // ------------------------- 3 | .#{$fa-css-prefix}-fw { 4 | width: (18em / 14); 5 | text-align: center; 6 | } 7 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/css/var/getStyles.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return function( elem ) { 3 | return elem.ownerDocument.defaultView.getComputedStyle( elem, null ); 4 | }; 5 | }); 6 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/browser/index.html: -------------------------------------------------------------------------------- 1 | 2 | marked tests 3 |

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 |

foo

3 | 4 |
5 |

bar

6 |
7 | 8 |

foo

9 |
10 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/nested_blockquotes.html: -------------------------------------------------------------------------------- 1 |
2 |

foo

3 | 4 |
5 |

bar

6 |
7 | 8 |

foo

9 |
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 |
2 |

A list within a blockquote:

3 |
    4 |
  • asterisk 1
  • 5 |
  • asterisk 2
  • 6 |
  • asterisk 3
  • 7 |
8 |
9 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/tidyness.html: -------------------------------------------------------------------------------- 1 |
2 |

A list within a blockquote:

3 |
    4 |
  • asterisk 1
  • 5 |
  • asterisk 2
  • 6 |
  • asterisk 3
  • 7 |
8 |
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 |

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 | `` 2 | 3 | Fix for backticks within HTML tag: like this 4 | 5 | Here's how you put `` `backticks` `` in a code span. 6 | 7 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/literal_quotes_in_titles.html: -------------------------------------------------------------------------------- 1 |

Foo bar.

2 | 3 |

Foo bar.

4 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/code_spans.text: -------------------------------------------------------------------------------- 1 | `` 2 | 3 | Fix for backticks within HTML tag: like this 4 | 5 | Here's how you put `` `backticks` `` in a code span. 6 | 7 | -------------------------------------------------------------------------------- /resources/bower_components/marked/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | @cp lib/marked.js marked.js 3 | @uglifyjs -o marked.min.js marked.js 4 | 5 | clean: 6 | @rm marked.js 7 | @rm marked.min.js 8 | 9 | bench: 10 | @node test --bench 11 | 12 | .PHONY: clean all 13 | -------------------------------------------------------------------------------- /resources/bower_components/angular-ui-codemirror/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-ui-codemirror", 3 | "version": "0.1.6", 4 | "main": "./ui-codemirror.js", 5 | "dependencies": { 6 | "angular": "^1", 7 | "codemirror": "3 || 4" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/tricky_list.text: -------------------------------------------------------------------------------- 1 | **hello** _world_ 2 | 3 | * hello world 4 | 5 | **hello** _world_ 6 | 7 | * hello world 8 | 9 | **hello** _world_ 10 | 11 | * Hello world 12 | 13 | **hello** _world_ 14 | 15 | * hello world 16 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/blockquotes_with_code_blocks.text: -------------------------------------------------------------------------------- 1 | > Example: 2 | > 3 | > sub status { 4 | > print "working"; 5 | > } 6 | > 7 | > Or: 8 | > 9 | > sub status { 10 | > return "working"; 11 | > } 12 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/blockquotes_with_code_blocks.text: -------------------------------------------------------------------------------- 1 | > Example: 2 | > 3 | > sub status { 4 | > print "working"; 5 | > } 6 | > 7 | > Or: 8 | > 9 | > sub status { 10 | > return "working"; 11 | > } 12 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/tricky_list.text: -------------------------------------------------------------------------------- 1 | **hello** _world_ 2 | 3 | * hello world 4 | 5 | **hello** _world_ 6 | 7 | * hello world 8 | 9 | **hello** _world_ 10 | 11 | * Hello world 12 | 13 | **hello** _world_ 14 | 15 | * hello world 16 | -------------------------------------------------------------------------------- /resources/bower_components/Faker/.gitignore: -------------------------------------------------------------------------------- 1 | TAGS 2 | REVISION 3 | *.tmproj 4 | *~ 5 | .DS_Store 6 | .settings 7 | .project 8 | .tasks-cache 9 | .svn 10 | *DONOTVERSION* 11 | /nbproject 12 | /.idea 13 | lib-cov 14 | node_modules/ 15 | /npm-debug.log 16 | /coverage 17 | -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-highlight-code-docs.md: -------------------------------------------------------------------------------- 1 | Just put this on an element and it will find all of it's children `code` elements in a `pre` and highlight it using 2 | `highlight.js`. Because there can be a race condition, I have a timeout in the logic of the link function. -------------------------------------------------------------------------------- /resources/kcd/filters/kcdDynamicFilter-docs.md: -------------------------------------------------------------------------------- 1 | Allows you to dynamically apply a filter. This is useful in an `ng-repeat` where the filter name is on the objects 2 | being repeated but not in all cases. 3 | ```javascript 4 | {{something | kcdDynamicFilter: filterName }} 5 | ``` -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/def_blocks.text: -------------------------------------------------------------------------------- 1 | > hello 2 | > [1]: hello 3 | 4 | * * * 5 | 6 | > hello 7 | [2]: hello 8 | 9 | 10 | * hello 11 | * [3]: hello 12 | 13 | 14 | * hello 15 | [4]: hello 16 | 17 | 18 | > foo 19 | > bar 20 | [1]: foo 21 | > bar 22 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/def_blocks.text: -------------------------------------------------------------------------------- 1 | > hello 2 | > [1]: hello 3 | 4 | * * * 5 | 6 | > hello 7 | [2]: hello 8 | 9 | 10 | * hello 11 | * [3]: hello 12 | 13 | 14 | * hello 15 | [4]: hello 16 | 17 | 18 | > foo 19 | > bar 20 | [1]: foo 21 | > bar 22 | -------------------------------------------------------------------------------- /resources/kcd/filters/kcdMdToHtml.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.filters').filter('kcdMdToHtml', function(marked, $sce) { 2 | 'use strict'; 3 | return function(input) { 4 | if (!input) { 5 | return input; 6 | } 7 | return $sce.trustAsHtml(marked(input)); 8 | }; 9 | }); -------------------------------------------------------------------------------- /resources/site_components/one-off/long-errors.js: -------------------------------------------------------------------------------- 1 | window.onerror = function (errorMsg, url, lineNumber, columnNumber, errorObject) { 2 | 'use strict'; 3 | if (//.test(errorMsg)) { 4 | console.error('Error: ' + errorObject ? errorObject.message : errorMsg); 5 | } 6 | }; -------------------------------------------------------------------------------- /resources/bower_components/Faker/examples/library_test.js: -------------------------------------------------------------------------------- 1 | var util = require('util'); 2 | 3 | var definitions = require('../lib/definitions'); 4 | 5 | var faker = require('../index'); 6 | 7 | var card = faker.Helpers.createCard(); 8 | 9 | util.puts(JSON.stringify(card)); 10 | -------------------------------------------------------------------------------- /resources/kcd/constants/_-docs.md: -------------------------------------------------------------------------------- 1 | [Lo-Dash](http://lodash.com) is an amazing JavaScript utility library. It's a fork of [Underscore.js](http://underscorejs.org/) 2 | with a focus on performance. It also provides a lot of other goodies over Underscore. I don't have a project without lodash. -------------------------------------------------------------------------------- /resources/kcd/filters/kcdDate.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.filters').filter('kcdDate', function($filter) { 2 | 'use strict'; 3 | /* jshint quotmark: false */ 4 | return function kcdDate(date, format) { 5 | return $filter('date')(date, format || "MMM d, yyyy',' h:mm a"); 6 | }; 7 | }); -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/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/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 |
foo
4 | 5 | And nested without indentation: 6 | 7 |
8 |
9 |
10 | foo 11 |
12 |
13 |
14 |
bar
15 |
16 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/inline_html_advanced.text: -------------------------------------------------------------------------------- 1 | Simple block on one line: 2 | 3 |
foo
4 | 5 | And nested without indentation: 6 | 7 |
8 |
9 |
10 | foo 11 |
12 |
13 |
14 |
bar
15 |
16 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/inline_html_comments.text: -------------------------------------------------------------------------------- 1 | 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.text: -------------------------------------------------------------------------------- 1 | Paragraph one. 2 | 3 | 4 | 5 | 8 | 9 | Paragraph two. 10 | 11 | 12 | 13 | The end. 14 | -------------------------------------------------------------------------------- /resources/bower_components/angular-ui-codemirror/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | ## v0.1.0 (2013-12-28) 3 | 4 | 5 | #### Features 6 | 7 | * **publisher:** initial publisher use commit ([a144e2f8](https://github.com/angular-ui/ui-codemirror/commit/a144e2f8b3134df9e4a9ce313778b0086ea82af9)) 8 | 9 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/attributes.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "./attributes/attr", 4 | "./attributes/prop", 5 | "./attributes/classes", 6 | "./attributes/val" 7 | ], function( jQuery ) { 8 | 9 | // Return jQuery for attributes-only inclusion 10 | return jQuery; 11 | }); 12 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/README: -------------------------------------------------------------------------------- 1 | In this directory: 2 | 3 | # 4 | # MarkdownTester -- Run tests for Markdown implementations 5 | # 6 | # Copyright (c) 2004-2005 John Gruber 7 | # 8 | # 9 | 10 | Partially modified for testing purposes. 11 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/code_spans.html: -------------------------------------------------------------------------------- 1 |

<test a=" content of attribute ">

2 | 3 |

Fix for backticks within HTML tag: like this

4 | 5 |

Here's how you put `backticks` in a code span.

6 | 7 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/inline_html_advanced.html: -------------------------------------------------------------------------------- 1 |

Simple block on one line:

2 | 3 |
foo
4 | 5 |

And nested without indentation:

6 | 7 |
8 |
9 |
10 | foo 11 |
12 |
13 |
14 |
bar
15 |
16 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/inline_html_advanced.html: -------------------------------------------------------------------------------- 1 |

Simple block on one line:

2 | 3 |
foo
4 | 5 |

And nested without indentation:

6 | 7 |
8 |
9 |
10 | foo 11 |
12 |
13 |
14 |
bar
15 |
16 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/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/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 ">

2 | 3 |

Fix for backticks within HTML tag: like this

4 | 5 |

Here's how you put `backticks` in a code span.

6 | 7 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/hard_wrapped_paragraphs_with_list_like_lines.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/inline_html_comments.html: -------------------------------------------------------------------------------- 1 |

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 |

Example:

3 | 4 |
sub status {
 5 |     print "working";
 6 | }
 7 | 
8 | 9 |

Or:

10 | 11 |
sub status {
12 |     return "working";
13 | }
14 | 
15 |
16 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/hard_wrapped_paragraphs_with_list_like_lines.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/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 |

Example:

3 | 4 |
sub status {
 5 |     print "working";
 6 | }
 7 | 
8 | 9 |

Or:

10 | 11 |
sub status {
12 |     return "working";
13 | }
14 | 
15 |
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 |

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 |

this and the other

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 |

this and the other

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: . 2 | 3 | With an ampersand: 4 | 5 | * In a list? 6 | * 7 | * It should. 8 | 9 | > Blockquoted: 10 | 11 | Auto-links should not occur here: `` 12 | 13 | or here: 14 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/auto_links.text: -------------------------------------------------------------------------------- 1 | Link: . 2 | 3 | With an ampersand: 4 | 5 | * In a list? 6 | * 7 | * It should. 8 | 9 | > Blockquoted: 10 | 11 | Auto-links should not occur here: `` 12 | 13 | or here: 14 | -------------------------------------------------------------------------------- /resources/bower_components/Faker/examples/dataSet.json: -------------------------------------------------------------------------------- 1 | {"name":"Oswald Goldner","username":"Izaiah","email":"Michael@nicola.us","address":{"street":"Legros Summit","suite":"Suite 061","city":"Lake Jaydeburgh","zipcode":"35411-3193"},"phone":"1-658-413-1550","website":"buddy.ca","company":{"name":"Quigley Group","catchPhrase":"Organized content-based encoding","bs":"generate e-business solutions"}} -------------------------------------------------------------------------------- /resources/site_components/stylus/main.styl: -------------------------------------------------------------------------------- 1 | #wrap 2 | margin 0 24px -40px; 3 | min-height: 100%; 4 | height: auto !important; 5 | 6 | #footer 7 | margin-top 100px 8 | background-color #F5F5F5 9 | height 40px 10 | text-align center 11 | padding 10px 12 | width 100% 13 | 14 | .popover 15 | width 400px 16 | 17 | a 18 | cursor pointer 19 | 20 | * 21 | outline none !important -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/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/filters/kcdMdToHtml-docs.md: -------------------------------------------------------------------------------- 1 | Wraps the [marked](https://github.com/chjj/marked) library to convert markdown to html for display on a webpage. 2 | It's what we're using to display these docs to you! Here's how you use it: 3 | 4 | ```javascript 5 | $scope.someMarkDown = 'This is a link to [marked](https://github.com/chjj/marked)'; 6 |
7 | ``` -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/gfm_code.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/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 |
2 | 7 |
8 | Select the input below:
9 | 10 |
11 |
-------------------------------------------------------------------------------- /resources/bower_components/jquery/src/selector-sizzle.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "sizzle" 4 | ], function( jQuery, Sizzle ) { 5 | 6 | jQuery.find = Sizzle; 7 | jQuery.expr = Sizzle.selectors; 8 | jQuery.expr[":"] = jQuery.expr.pseudos; 9 | jQuery.unique = Sizzle.uniqueSort; 10 | jQuery.text = Sizzle.getText; 11 | jQuery.isXMLDoc = Sizzle.isXML; 12 | jQuery.contains = Sizzle.contains; 13 | 14 | }); 15 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/gfm_code.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 |

hello 3 | [1]: hello

4 |
5 | 6 |
7 | 8 |
9 |

hello

10 |
11 | 12 | 13 |
    14 |
  • hello
  • 15 |
  • [3]: hello
  • 16 |
17 | 18 | 19 |
    20 |
  • hello
  • 21 |
22 | 23 | 24 |
25 |

foo 26 | bar 27 | bar

28 |
29 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/def_blocks.html: -------------------------------------------------------------------------------- 1 |
2 |

hello 3 | [1]: hello

4 |
5 | 6 |
7 | 8 |
9 |

hello

10 |
11 | 12 | 13 |
    14 |
  • hello
  • 15 |
  • [3]: hello
  • 16 |
17 | 18 | 19 |
    20 |
  • hello
  • 21 |
22 | 23 | 24 |
25 |

foo 26 | bar 27 | bar

28 |
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 |
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 |
    4 |
  • hello world
  • 5 |
6 | 7 |

hello world

8 | 9 |
    10 |
  • hello world
  • 11 |
12 | 13 |

hello world

14 | 15 |
    16 |
  • Hello world
  • 17 |
18 | 19 |

hello world

20 | 21 |
    22 |
  • hello world
  • 23 |
24 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/tricky_list.html: -------------------------------------------------------------------------------- 1 |

hello world

2 | 3 |
    4 |
  • hello world
  • 5 |
6 | 7 |

hello world

8 | 9 |
    10 |
  • hello world
  • 11 |
12 | 13 |

hello world

14 | 15 |
    16 |
  • Hello world
  • 17 |
18 | 19 |

hello world

20 | 21 |
    22 |
  • hello world
  • 23 |
24 | -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/scss/_larger.scss: -------------------------------------------------------------------------------- 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/kcd/directives/kcd-input-match.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.directives').directive('kcdInputMatch', function() { 2 | 'use strict'; 3 | return { 4 | require: 'ngModel', 5 | restrict: 'A', 6 | link: function(scope, elem, attrs, ctrl) { 7 | scope.$watch(function() { 8 | return attrs.kcdInputMatch === ctrl.$modelValue; 9 | }, function(currentValue) { 10 | ctrl.$setValidity('match', currentValue); 11 | }); 12 | } 13 | }; 14 | }); -------------------------------------------------------------------------------- /resources/kcd/services/JWTAuthInterceptor-docs.md: -------------------------------------------------------------------------------- 1 | Used as an [AngularJS interceptor](https://docs.angularjs.org/api/ng/service/$http#interceptors) to attach a 2 | [JWT](http://slides.com/kentcdodds/ng-jwt-workshop#/) token to each request made the the server. Better authentication 3 | than the cookie standard. Use it like this: 4 | 5 | ```javascript 6 | angular.module('your.module').config(function ($httpProvider) { 7 | $httpProvider.interceptors.push('JWTAuthInterceptor'); 8 | }); 9 | ``` -------------------------------------------------------------------------------- /resources/site_components/MainCtrl/main-default.html: -------------------------------------------------------------------------------- 1 |
2 |

Choose an Angular Thing on the left...

3 | This is stuff that I find myself using on other projects over and over, so I made this little site to keep track of them all. 4 | Feel free to use any of them under MIT License. The module isn't meant to be depended on itself. 5 | This is more just a copy/paste thing. So you don't have to attribute me if you don't want to. 6 |
-------------------------------------------------------------------------------- /resources/bower_components/fontawesome/.gitignore: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /resources/kcd/filters/kcdDynamicFilter.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.filters').filter('kcdDynamicFilter', function($filter) { 2 | 'use strict'; 3 | return function(input, filterName) { 4 | if (!filterName) { 5 | return input; 6 | } 7 | var filter = $filter(filterName); 8 | var args = Array.prototype.slice.call(arguments, 0); 9 | args.splice(1, 1); // remove filter name 10 | return filter.apply(null, args); // invoke filter with args received 11 | }; 12 | }); -------------------------------------------------------------------------------- /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 | } 24 | -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/scss/_rotated-flipped.scss: -------------------------------------------------------------------------------- 1 | // Rotated & Flipped Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-rotate-90 { @include fa-icon-rotate(90deg, 1); } 5 | .#{$fa-css-prefix}-rotate-180 { @include fa-icon-rotate(180deg, 2); } 6 | .#{$fa-css-prefix}-rotate-270 { @include fa-icon-rotate(270deg, 3); } 7 | 8 | .#{$fa-css-prefix}-flip-horizontal { @include fa-icon-flip(-1, 1, 0); } 9 | .#{$fa-css-prefix}-flip-vertical { @include fa-icon-flip(1, -1, 2); } 10 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/css/hiddenVisibleSelectors.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../selector" 4 | ], function( jQuery ) { 5 | 6 | jQuery.expr.filters.hidden = function( elem ) { 7 | // Support: Opera <= 12.12 8 | // Opera reports offsetWidths and offsetHeights less than zero on some elements 9 | return elem.offsetWidth <= 0 && elem.offsetHeight <= 0; 10 | }; 11 | jQuery.expr.filters.visible = function( elem ) { 12 | return !jQuery.expr.filters.hidden( elem ); 13 | }; 14 | 15 | }); 16 | -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/less/list.less: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: @fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .@{fa-css-prefix}-li { 11 | position: absolute; 12 | left: -@fa-li-width; 13 | width: @fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.@{fa-css-prefix}-lg { 17 | left: -@fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/scss/_list.scss: -------------------------------------------------------------------------------- 1 | // List Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-ul { 5 | padding-left: 0; 6 | margin-left: $fa-li-width; 7 | list-style-type: none; 8 | > li { position: relative; } 9 | } 10 | .#{$fa-css-prefix}-li { 11 | position: absolute; 12 | left: -$fa-li-width; 13 | width: $fa-li-width; 14 | top: (2em / 14); 15 | text-align: center; 16 | &.#{$fa-css-prefix}-lg { 17 | left: -$fa-li-width + (4em / 14); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/data/accepts.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | /** 6 | * Determines whether an object can have data 7 | */ 8 | jQuery.acceptData = function( owner ) { 9 | // Accepts only: 10 | // - Node 11 | // - Node.ELEMENT_NODE 12 | // - Node.DOCUMENT_NODE 13 | // - Object 14 | // - Any 15 | /* jshint -W018 */ 16 | return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); 17 | }; 18 | 19 | return jQuery.acceptData; 20 | }); 21 | -------------------------------------------------------------------------------- /resources/bower_components/angularjs-scope.safeapply/src/Scope.SafeApply.min.js: -------------------------------------------------------------------------------- 1 | 2 | angular.module('Scope.safeApply',[]).run(function($rootScope){$rootScope.$safeApply=function(){var $scope,fn,force=false;if(arguments.length==1){var arg=arguments[0];if(typeof arg=='function'){fn=arg;} 3 | else{$scope=arg;}} 4 | else{$scope=arguments[0];fn=arguments[1];if(arguments.length==3){force=!!arguments[2];}} 5 | $scope=$scope||this;fn=fn||function(){};if(force||!$scope.$$phase){$scope.$apply?$scope.$apply(fn):$scope.apply(fn);} 6 | else{fn();}};}); -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/less/font-awesome.less: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.1.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "spinning"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/scss/font-awesome.scss: -------------------------------------------------------------------------------- 1 | /*! 2 | * Font Awesome 4.1.0 by @davegandy - http://fontawesome.io - @fontawesome 3 | * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) 4 | */ 5 | 6 | @import "variables"; 7 | @import "mixins"; 8 | @import "path"; 9 | @import "core"; 10 | @import "larger"; 11 | @import "fixed-width"; 12 | @import "list"; 13 | @import "bordered-pulled"; 14 | @import "spinning"; 15 | @import "rotated-flipped"; 16 | @import "stacked"; 17 | @import "icons"; 18 | -------------------------------------------------------------------------------- /resources/bower_components/angularjs-scope.safeapply/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angularjs-scope.safeapply", 3 | "homepage": "https://github.com/yearofmoo/AngularJS-Scope.SafeApply", 4 | "_release": "7b23c8cd75", 5 | "_resolution": { 6 | "type": "branch", 7 | "branch": "master", 8 | "commit": "7b23c8cd75114b3dad8bdb2ecb81be9752f451e5" 9 | }, 10 | "_source": "git://github.com/yearofmoo/AngularJS-Scope.SafeApply.git", 11 | "_target": "*", 12 | "_originalSource": "angularjs-scope.safeapply", 13 | "_direct": true 14 | } -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-key-bind-docs.md: -------------------------------------------------------------------------------- 1 | Modified this from a [StackOverflow Answer](http://stackoverflow.com/a/21882091/971592). Basically allows you to specify 2 | actions to take based on the key that is pressed using an object where the property keys are a short name, single char, 3 | or the key code. See the supported short names in the directive's code. 4 | 5 | Basic usage: 6 | 7 | ```html 8 | 9 | ``` -------------------------------------------------------------------------------- /resources/bower_components/angular-ui-router/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-ui-router", 3 | "version": "0.2.10", 4 | "main": "./release/angular-ui-router.js", 5 | "dependencies": { 6 | "angular": ">= 1.0.8" 7 | }, 8 | "ignore": [ 9 | "**/.*", 10 | "node_modules", 11 | "bower_components", 12 | "component.json", 13 | "package.json", 14 | "lib", 15 | "config", 16 | "sample", 17 | "test", 18 | "tests", 19 | "ngdoc_assets", 20 | "Gruntfile.js", 21 | "files.js" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/amps_and_angles_encoding.text: -------------------------------------------------------------------------------- 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] [1] with an ampersand in the URL. 12 | 13 | Here's a link with an amersand in the link text: [AT&T] [2]. 14 | 15 | Here's an inline [link](/script?foo=1&bar=2). 16 | 17 | Here's an inline [link](). 18 | 19 | 20 | [1]: http://example.com/?foo=1&bar=2 21 | [2]: http://att.com/ "AT&T" 22 | -------------------------------------------------------------------------------- /resources/bower_components/angular/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.3.0-beta.17", 4 | "main": "./angular.js", 5 | "dependencies": {}, 6 | "homepage": "https://github.com/angular/bower-angular", 7 | "_release": "1.3.0-beta.17", 8 | "_resolution": { 9 | "type": "version", 10 | "tag": "v1.3.0-beta.17", 11 | "commit": "c3dfd4ccd3c6a0863bd69cfba5cbfda93f720d6e" 12 | }, 13 | "_source": "git://github.com/angular/bower-angular.git", 14 | "_target": "1.3.0-beta.17", 15 | "_originalSource": "angular" 16 | } -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/amps_and_angles_encoding.text: -------------------------------------------------------------------------------- 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] [1] with an ampersand in the URL. 12 | 13 | Here's a link with an amersand in the link text: [AT&T] [2]. 14 | 15 | Here's an inline [link](/script?foo=1&bar=2). 16 | 17 | Here's an inline [link](). 18 | 19 | 20 | [1]: http://example.com/?foo=1&bar=2 21 | [2]: http://att.com/ "AT&T" 22 | -------------------------------------------------------------------------------- /resources/bower_components/codemirror/mode/ruby/test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | var mode = CodeMirror.getMode({indentUnit: 2}, "ruby"); 6 | function MT(name) { test.mode(name, mode, Array.prototype.slice.call(arguments, 1)); } 7 | 8 | MT("divide_equal_operator", 9 | "[variable bar] [operator /=] [variable foo]"); 10 | 11 | MT("divide_equal_operator_no_spacing", 12 | "[variable foo][operator /=][number 42]"); 13 | 14 | })(); 15 | -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-recompileSpec.js: -------------------------------------------------------------------------------- 1 | var expect = chai.expect; 2 | describe('Kent C. Dodds', function () { 3 | 'use strict'; 4 | 5 | // load the directive's module 6 | beforeEach(module('kcd.directives')); 7 | beforeEach(module(function($provide) { 8 | })); 9 | 10 | var scope; 11 | 12 | beforeEach(inject(function ($rootScope) { 13 | scope = $rootScope.$new(); 14 | })); 15 | 16 | it('should apologize to Joe Eames for not having tests for this component yet...', inject(function ($compile) { 17 | expect(true).to.be.true; 18 | })); 19 | }); 20 | -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-time-binding-docs.md: -------------------------------------------------------------------------------- 1 | Let's you bind two times together so one is always less than or greater than the other. Used like so: 2 | 3 | ```html 4 | 5 | 6 | ``` 7 | 8 | This will cause the `startTime` to always be one minute less than the `endTime` when the `endTime` changes. 9 | And will cause the `endTime` to always be one minute more than the `startTime` when the `startTime` changes. -------------------------------------------------------------------------------- /resources/bower_components/codemirror/addon/fold/foldgutter.css: -------------------------------------------------------------------------------- 1 | .CodeMirror-foldmarker { 2 | color: blue; 3 | text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px; 4 | font-family: arial; 5 | line-height: .3; 6 | cursor: pointer; 7 | } 8 | .CodeMirror-foldgutter { 9 | width: .7em; 10 | } 11 | .CodeMirror-foldgutter-open, 12 | .CodeMirror-foldgutter-folded { 13 | cursor: pointer; 14 | } 15 | .CodeMirror-foldgutter-open:after { 16 | content: "\25BE"; 17 | } 18 | .CodeMirror-foldgutter-folded:after { 19 | content: "\25B8"; 20 | } 21 | -------------------------------------------------------------------------------- /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 | } 28 | -------------------------------------------------------------------------------- /resources/kcd/filters/kcdDate-docs.md: -------------------------------------------------------------------------------- 1 | A simple wrapper around the built-in `date` filter that allows you to make a default format for your date fields. 2 | So instead of this: 3 | 4 | ```html 5 | {{date1 | date:"MMM d, yyyy',' h:mm a"}} 6 | {{date2 | date:"MMM d, yyyy',' h:mm a"}} 7 | {{date3 | date:"MMM d, yyyy',' h:mm a"}} 8 | {{date4 | date:"MMM d, yyyy',' h:mm a"}} 9 | ``` 10 | 11 | You could do 12 | 13 | ```html 14 | {{date1 | kcdDate}} 15 | {{date2 | kcdDate}} 16 | {{date3 | kcdDate}} 17 | {{date4 | kcdDate}} 18 | ``` 19 | 20 | This would keep your date display contestant across your app. -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/loose_lists.text: -------------------------------------------------------------------------------- 1 | * hello 2 | world 3 | 4 | how 5 | are 6 | * you 7 | 8 | 9 | 10 | better behavior: 11 | 12 | * hello 13 | * world 14 | how 15 | 16 | are 17 | you 18 | 19 | * today 20 | * hi 21 | 22 | 23 | 24 | * hello 25 | 26 | * world 27 | * hi 28 | 29 | 30 | 31 | * hello 32 | * world 33 | 34 | * hi 35 | 36 | 37 | 38 | * hello 39 | * world 40 | 41 | how 42 | * hi 43 | 44 | 45 | 46 | * hello 47 | * world 48 | * how 49 | 50 | are 51 | 52 | 53 | 54 | * hello 55 | * world 56 | 57 | * how 58 | 59 | are 60 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/loose_lists.text: -------------------------------------------------------------------------------- 1 | * hello 2 | world 3 | 4 | how 5 | are 6 | * you 7 | 8 | 9 | 10 | better behavior: 11 | 12 | * hello 13 | * world 14 | how 15 | 16 | are 17 | you 18 | 19 | * today 20 | * hi 21 | 22 | 23 | 24 | * hello 25 | 26 | * world 27 | * hi 28 | 29 | 30 | 31 | * hello 32 | * world 33 | 34 | * hi 35 | 36 | 37 | 38 | * hello 39 | * world 40 | 41 | how 42 | * hi 43 | 44 | 45 | 46 | * hello 47 | * world 48 | * how 49 | 50 | are 51 | 52 | 53 | 54 | * hello 55 | * world 56 | 57 | * how 58 | 59 | are 60 | -------------------------------------------------------------------------------- /resources/bower_components/codemirror/mode/tiki/tiki.css: -------------------------------------------------------------------------------- 1 | .cm-tw-syntaxerror { 2 | color: #FFF; 3 | background-color: #900; 4 | } 5 | 6 | .cm-tw-deleted { 7 | text-decoration: line-through; 8 | } 9 | 10 | .cm-tw-header5 { 11 | font-weight: bold; 12 | } 13 | .cm-tw-listitem:first-child { /*Added first child to fix duplicate padding when highlighting*/ 14 | padding-left: 10px; 15 | } 16 | 17 | .cm-tw-box { 18 | border-top-width: 0px ! important; 19 | border-style: solid; 20 | border-width: 1px; 21 | border-color: inherit; 22 | } 23 | 24 | .cm-tw-underline { 25 | text-decoration: underline; 26 | } -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/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 |
how are you
28 | 29 | hello world 30 | how are you 31 | 32 | hello [world][how] 33 | [how]: /are/you 34 | 35 |
hello
36 | 37 | hello 38 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/tabs.html: -------------------------------------------------------------------------------- 1 |
    2 |
  • this is a list item 3 | indented with tabs

  • 4 |
  • this is a list item 5 | indented with spaces

  • 6 |
7 | 8 |

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 |
    2 |
  • this is a list item 3 | indented with tabs

  • 4 |
  • this is a list item 5 | indented with spaces

  • 6 |
7 | 8 |

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 |
how are you
28 | 29 | hello world 30 | how are you 31 | 32 | hello [world][how] 33 | [how]: /are/you 34 | 35 |
hello
36 | 37 | hello 38 | -------------------------------------------------------------------------------- /resources/bower_components/Faker/lib/phone_number.js: -------------------------------------------------------------------------------- 1 | var faker = require('../index'); 2 | var Helpers = require('./helpers'); 3 | var definitions = require('./definitions'); 4 | 5 | var phone = { 6 | phoneNumber: function () { 7 | return Helpers.replaceSymbolWithNumber(faker.random.phone_formats()); 8 | }, 9 | 10 | // FIXME: this is strange passing in an array index. 11 | phoneNumberFormat: function (phoneFormatsArrayIndex) { 12 | return Helpers.replaceSymbolWithNumber(definitions.phone_formats[phoneFormatsArrayIndex]); 13 | } 14 | }; 15 | 16 | module.exports = phone; 17 | -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/less/stacked.less: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .@{fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .@{fa-css-prefix}-stack-1x, .@{fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .@{fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .@{fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .@{fa-css-prefix}-inverse { color: @fa-inverse; } 21 | -------------------------------------------------------------------------------- /resources/bower_components/toastr/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "toastr", 3 | "version": "2.0.3", 4 | "main": [ 5 | "toastr.js", 6 | "toastr.css" 7 | ], 8 | "dependencies": { 9 | "jquery": ">=1.6.3" 10 | }, 11 | "homepage": "https://github.com/johnpapa/toastr-bower", 12 | "_release": "2.0.3", 13 | "_resolution": { 14 | "type": "version", 15 | "tag": "2.0.3", 16 | "commit": "7a53a79e1b71f319673baac63a7883a1781a5f98" 17 | }, 18 | "_source": "git://github.com/johnpapa/toastr-bower.git", 19 | "_target": "~2.0.3", 20 | "_originalSource": "toastr", 21 | "_direct": true 22 | } -------------------------------------------------------------------------------- /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 | "homepage": "https://github.com/angular/bower-angular-mocks", 9 | "_release": "1.2.23", 10 | "_resolution": { 11 | "type": "version", 12 | "tag": "v1.2.23", 13 | "commit": "f15ecc4f747ba1df3e75374a8d76494086dbcb38" 14 | }, 15 | "_source": "git://github.com/angular/bower-angular-mocks.git", 16 | "_target": "~1.2.23", 17 | "_originalSource": "angular-mocks", 18 | "_direct": true 19 | } -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/scss/_stacked.scss: -------------------------------------------------------------------------------- 1 | // Stacked Icons 2 | // ------------------------- 3 | 4 | .#{$fa-css-prefix}-stack { 5 | position: relative; 6 | display: inline-block; 7 | width: 2em; 8 | height: 2em; 9 | line-height: 2em; 10 | vertical-align: middle; 11 | } 12 | .#{$fa-css-prefix}-stack-1x, .#{$fa-css-prefix}-stack-2x { 13 | position: absolute; 14 | left: 0; 15 | width: 100%; 16 | text-align: center; 17 | } 18 | .#{$fa-css-prefix}-stack-1x { line-height: inherit; } 19 | .#{$fa-css-prefix}-stack-2x { font-size: 2em; } 20 | .#{$fa-css-prefix}-inverse { color: $fa-inverse; } 21 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/links_inline_style.html: -------------------------------------------------------------------------------- 1 |

Just a URL.

2 | 3 |

URL and title.

4 | 5 |

URL and title.

6 | 7 |

URL and title.

8 | 9 |

URL and title.

10 | 11 |

URL and title.

12 | 13 |

URL and title.

14 | 15 |

Empty.

16 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/links_inline_style.html: -------------------------------------------------------------------------------- 1 |

Just a URL.

2 | 3 |

URL and title.

4 | 5 |

URL and title.

6 | 7 |

URL and title.

8 | 9 |

URL and title.

10 | 11 |

URL and title.

12 | 13 |

URL and title.

14 | 15 |

Empty.

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 | '
', 11 | '
', 12 | '', 15 | '', 16 | '
' 17 | ].join('\n'); 18 | } 19 | 20 | function clearSuites() { 21 | mocha.suite.suites = []; 22 | } 23 | }); -------------------------------------------------------------------------------- /resources/bower_components/angular-ui-codemirror/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-ui-codemirror", 3 | "main": "./ui-codemirror.js", 4 | "dependencies": { 5 | "angular": "^1", 6 | "codemirror": "3 || 4" 7 | }, 8 | "homepage": "https://github.com/angular-ui/ui-codemirror", 9 | "_release": "8dbe7d0c1f", 10 | "_resolution": { 11 | "type": "branch", 12 | "branch": "bower", 13 | "commit": "8dbe7d0c1f9f32856d137a8d65c93c47151dbdcc" 14 | }, 15 | "_source": "git://github.com/angular-ui/ui-codemirror.git", 16 | "_target": "bower", 17 | "_originalSource": "angular-ui-codemirror", 18 | "_direct": true 19 | } -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/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/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 | 10 | 11 |
12 |

Blockquoted: http://example.com/

13 |
14 | 15 |

Auto-links should not occur here: <http://example.com/>

16 | 17 |
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 | 10 | 11 |
12 |

Blockquoted: http://example.com/

13 |
14 | 15 |

Auto-links should not occur here: <http://example.com/>

16 | 17 |
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 | 6 | 7 | mocha 8 | 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 | [![Build Status](https://travis-ci.org/marijnh/CodeMirror.svg)](https://travis-ci.org/marijnh/CodeMirror) 3 | [![NPM version](https://img.shields.io/npm/v/codemirror.svg)](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 |
10 | 11 |

hello world

12 |

how are you

13 | 14 |

hello world

15 |

how are you

16 | 17 |

hello world

18 |

how are you

19 | 20 |

hello world

21 |
  • how are you
22 | 23 |

hello world

24 |
how are you
25 | 26 |

hello world 27 | how are you

28 | 29 |

hello world 30 |

31 | 32 |
hello
33 | 34 |

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 |
10 | 11 |

hello world

12 |

how are you

13 | 14 |

hello world

15 |

how are you

16 | 17 |

hello world

18 |

how are you

19 | 20 |

hello world

21 |
  • how are you
22 | 23 |

hello world

24 |
how are you
25 | 26 |

hello world 27 | how are you

28 | 29 |

hello world 30 |

31 | 32 |
hello
33 | 34 |

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 |
4 | 5 |
6 | 7 |
8 | 9 |
10 | 11 |
---
12 | 
13 | 14 |
15 | 16 |
17 | 18 |
19 | 20 |
21 | 22 |
- - -
23 | 
24 | 25 |

Asterisks:

26 | 27 |
28 | 29 |
30 | 31 |
32 | 33 |
34 | 35 |
***
36 | 
37 | 38 |
39 | 40 |
41 | 42 |
43 | 44 |
45 | 46 |
* * *
47 | 
48 | 49 |

Underscores:

50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
___
60 | 
61 | 62 |
63 | 64 |
65 | 66 |
67 | 68 |
69 | 70 |
_ _ _
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 ", 7 | "Matthew Bergman " 8 | ], 9 | "repository": { 10 | "type": "git", 11 | "url": "http://github.com/FotoVerite/faker.js.git" 12 | }, 13 | "scripts": { 14 | "test": "node_modules/.bin/mocha test/*.*.js" 15 | }, 16 | "devDependencies": { 17 | "jshint": "0.9.0", 18 | "istanbul": "0.1.25", 19 | "mocha": "1.7.4", 20 | "node-minify": "*", 21 | "optimist" : "0.3.5", 22 | "sinon": "1.4.2" 23 | }, 24 | "main": "index.js" 25 | } 26 | -------------------------------------------------------------------------------- /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 | "homepage": "https://github.com/moment/moment", 21 | "_release": "2.7.0", 22 | "_resolution": { 23 | "type": "version", 24 | "tag": "2.7.0", 25 | "commit": "2fa5ad722f94bab4fd77987db3b2f05707edbd81" 26 | }, 27 | "_source": "git://github.com/moment/moment.git", 28 | "_target": "~2.7.0", 29 | "_originalSource": "moment", 30 | "_direct": true 31 | } -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-autofocus.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.directives').directive('kcdAutofocus', function($timeout, $document) { 2 | 'use strict'; 3 | return { 4 | link: function(scope, element, attrs) { 5 | var previousEl = null; 6 | var el = element[0]; 7 | var doc = $document[0]; 8 | attrs.$observe('kcdAutofocus', function(value) { 9 | if(value && value !== 'false') { 10 | $timeout(function() { 11 | previousEl = doc.activeElement; 12 | el.focus(); 13 | }, ~~attrs.focusWait); 14 | } else { 15 | if (previousEl && attrs.hasOwnProperty('refocus') && doc.activeElement === el) { 16 | el.blur(); 17 | previousEl.focus(); 18 | } 19 | } 20 | }); 21 | } 22 | }; 23 | }); 24 | -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | // -------------------------- 3 | 4 | .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 | .fa-icon-flip(@horiz, @vert, @rotation) { 14 | filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1); 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/bower_components/jquery/src/exports/global.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "../var/strundefined" 4 | ], function( jQuery, strundefined ) { 5 | 6 | var 7 | // Map over jQuery in case of overwrite 8 | _jQuery = window.jQuery, 9 | 10 | // Map over the $ in case of overwrite 11 | _$ = window.$; 12 | 13 | jQuery.noConflict = function( deep ) { 14 | if ( window.$ === jQuery ) { 15 | window.$ = _$; 16 | } 17 | 18 | if ( deep && window.jQuery === jQuery ) { 19 | window.jQuery = _jQuery; 20 | } 21 | 22 | return jQuery; 23 | }; 24 | 25 | // Expose jQuery and $ identifiers, even in 26 | // AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557) 27 | // and CommonJS for browser emulators (#13566) 28 | if ( typeof noGlobal === strundefined ) { 29 | window.jQuery = window.$ = jQuery; 30 | } 31 | 32 | }); 33 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/horizontal_rules.html: -------------------------------------------------------------------------------- 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 | 25 |

Asterisks:

26 | 27 |
28 | 29 |
30 | 31 |
32 | 33 |
34 | 35 |
***
36 | 
37 | 38 |
39 | 40 |
41 | 42 |
43 | 44 |
45 | 46 |
* * *
47 | 
48 | 49 |

Underscores:

50 | 51 |
52 | 53 |
54 | 55 |
56 | 57 |
58 | 59 |
___
60 | 
61 | 62 |
63 | 64 |
65 | 66 |
67 | 68 |
69 | 70 |
_ _ _
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 |
    2 |
  • hello 3 | world

    4 | 5 |

    how 6 | are

  • 7 |
  • you
  • 8 |
9 | 10 | 11 | 12 |

better behavior:

13 | 14 |
  • hello

    • world 15 | how

      are 16 | you

    • today

  • hi
17 | 18 | 19 | 20 |
    21 |
  • hello

  • 22 |
  • world

  • 23 |
  • hi
  • 24 |
25 | 26 | 27 | 28 |
    29 |
  • hello
  • 30 |
  • world

  • 31 |
  • hi

  • 32 |
33 | 34 | 35 | 36 |
    37 |
  • hello
  • 38 |
  • world

    39 | 40 |

    how

  • 41 |
  • hi
  • 42 |
43 | 44 | 45 | 46 |
    47 |
  • hello
  • 48 |
  • world
  • 49 |
  • how

    50 | 51 |

    are

  • 52 |
53 | 54 | 55 | 56 |
    57 |
  • hello
  • 58 |
  • world

  • 59 |
  • how

    60 | 61 |

    are

  • 62 |
63 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/loose_lists.html: -------------------------------------------------------------------------------- 1 |
    2 |
  • hello 3 | world

    4 | 5 |

    how 6 | are

  • 7 |
  • you
  • 8 |
9 | 10 | 11 | 12 |

better behavior:

13 | 14 |
  • hello

    • world 15 | how

      are 16 | you

    • today

  • hi
17 | 18 | 19 | 20 |
    21 |
  • hello

  • 22 |
  • world

  • 23 |
  • hi
  • 24 |
25 | 26 | 27 | 28 |
    29 |
  • hello
  • 30 |
  • world

  • 31 |
  • hi

  • 32 |
33 | 34 | 35 | 36 |
    37 |
  • hello
  • 38 |
  • world

    39 | 40 |

    how

  • 41 |
  • hi
  • 42 |
43 | 44 | 45 | 46 |
    47 |
  • hello
  • 48 |
  • world
  • 49 |
  • how

    50 | 51 |

    are

  • 52 |
53 | 54 | 55 | 56 |
    57 |
  • hello
  • 58 |
  • world

  • 59 |
  • how

    60 | 61 |

    are

  • 62 |
63 | -------------------------------------------------------------------------------- /resources/bower_components/angular-ui-router/.bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-ui-router", 3 | "version": "0.2.10", 4 | "main": "./release/angular-ui-router.js", 5 | "dependencies": { 6 | "angular": ">= 1.0.8" 7 | }, 8 | "ignore": [ 9 | "**/.*", 10 | "node_modules", 11 | "bower_components", 12 | "component.json", 13 | "package.json", 14 | "lib", 15 | "config", 16 | "sample", 17 | "test", 18 | "tests", 19 | "ngdoc_assets", 20 | "Gruntfile.js", 21 | "files.js" 22 | ], 23 | "homepage": "https://github.com/angular-ui/ui-router", 24 | "_release": "0.2.10", 25 | "_resolution": { 26 | "type": "version", 27 | "tag": "0.2.10", 28 | "commit": "4f509d6393452c933aa5908939d0a17e47b59388" 29 | }, 30 | "_source": "git://github.com/angular-ui/ui-router.git", 31 | "_target": "~0.2.10", 32 | "_originalSource": "angular-ui-router", 33 | "_direct": true 34 | } -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/inline_html_simple.text: -------------------------------------------------------------------------------- 1 | Here's a simple block: 2 | 3 |
4 | foo 5 |
6 | 7 | This should be a code block, though: 8 | 9 |
10 | foo 11 |
12 | 13 | As should this: 14 | 15 |
foo
16 | 17 | Now, nested: 18 | 19 |
20 |
21 |
22 | foo 23 |
24 |
25 |
26 | 27 | This should just be an HTML comment: 28 | 29 | 30 | 31 | Multiline: 32 | 33 | 37 | 38 | Code block: 39 | 40 | 41 | 42 | Just plain comment, with trailing spaces on the line: 43 | 44 | 45 | 46 | Code: 47 | 48 |
49 | 50 | Hr's: 51 | 52 |
53 | 54 |
55 | 56 |
57 | 58 |
59 | 60 |
61 | 62 |
63 | 64 |
65 | 66 |
67 | 68 |
69 | 70 | -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/less/spinning.less: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .@{fa-css-prefix}-spin { 5 | -webkit-animation: spin 2s infinite linear; 6 | -moz-animation: spin 2s infinite linear; 7 | -o-animation: spin 2s infinite linear; 8 | animation: spin 2s infinite linear; 9 | } 10 | 11 | @-moz-keyframes spin { 12 | 0% { -moz-transform: rotate(0deg); } 13 | 100% { -moz-transform: rotate(359deg); } 14 | } 15 | @-webkit-keyframes spin { 16 | 0% { -webkit-transform: rotate(0deg); } 17 | 100% { -webkit-transform: rotate(359deg); } 18 | } 19 | @-o-keyframes spin { 20 | 0% { -o-transform: rotate(0deg); } 21 | 100% { -o-transform: rotate(359deg); } 22 | } 23 | @keyframes spin { 24 | 0% { 25 | -webkit-transform: rotate(0deg); 26 | transform: rotate(0deg); 27 | } 28 | 100% { 29 | -webkit-transform: rotate(359deg); 30 | transform: rotate(359deg); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-highlight-code.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.directives').directive('kcdHighlightCode', function(hljs, $timeout) { 2 | 'use strict'; 3 | return function kcdHighlightCode(scope, el) { 4 | var maxAttempts = 20; 5 | var totalAttempts = 0; 6 | function waitOnHighlight() { 7 | if (totalAttempts > maxAttempts) { 8 | return; 9 | } 10 | $timeout(function() { 11 | totalAttempts++; 12 | !attemptHighlight() && waitOnHighlight(); 13 | }, 1); 14 | } 15 | function attemptHighlight() { 16 | var codeEls = el[0].querySelectorAll('pre code'); 17 | if (codeEls && codeEls.length) { 18 | angular.forEach(codeEls, function(codeEl) { 19 | hljs.highlightBlock(codeEl); 20 | }); 21 | return true; 22 | } else { 23 | return false; 24 | } 25 | } 26 | !attemptHighlight() && waitOnHighlight(); 27 | }; 28 | }); -------------------------------------------------------------------------------- /resources/bower_components/fontawesome/scss/_spinning.scss: -------------------------------------------------------------------------------- 1 | // Spinning Icons 2 | // -------------------------- 3 | 4 | .#{$fa-css-prefix}-spin { 5 | -webkit-animation: spin 2s infinite linear; 6 | -moz-animation: spin 2s infinite linear; 7 | -o-animation: spin 2s infinite linear; 8 | animation: spin 2s infinite linear; 9 | } 10 | 11 | @-moz-keyframes spin { 12 | 0% { -moz-transform: rotate(0deg); } 13 | 100% { -moz-transform: rotate(359deg); } 14 | } 15 | @-webkit-keyframes spin { 16 | 0% { -webkit-transform: rotate(0deg); } 17 | 100% { -webkit-transform: rotate(359deg); } 18 | } 19 | @-o-keyframes spin { 20 | 0% { -o-transform: rotate(0deg); } 21 | 100% { -o-transform: rotate(359deg); } 22 | } 23 | @keyframes spin { 24 | 0% { 25 | -webkit-transform: rotate(0deg); 26 | transform: rotate(0deg); 27 | } 28 | 100% { 29 | -webkit-transform: rotate(359deg); 30 | transform: rotate(359deg); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/inline_html_simple.text: -------------------------------------------------------------------------------- 1 | Here's a simple block: 2 | 3 |
4 | foo 5 |
6 | 7 | This should be a code block, though: 8 | 9 |
10 | foo 11 |
12 | 13 | As should this: 14 | 15 |
foo
16 | 17 | Now, nested: 18 | 19 |
20 |
21 |
22 | foo 23 |
24 |
25 |
26 | 27 | This should just be an HTML comment: 28 | 29 | 30 | 31 | Multiline: 32 | 33 | 37 | 38 | Code block: 39 | 40 | 41 | 42 | Just plain comment, with trailing spaces on the line: 43 | 44 | 45 | 46 | Code: 47 | 48 |
49 | 50 | Hr's: 51 | 52 |
53 | 54 |
55 | 56 |
57 | 58 |
59 | 60 |
61 | 62 |
63 | 64 |
65 | 66 |
67 | 68 |
69 | 70 | -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-key-bind-example.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | Try typing stuff... (like enter, escape, k, or ↓) 4 | 5 |
6 | You have pressed "k" {{kPressedCount}} times. 7 |
8 |
9 | 10 | 26 |
-------------------------------------------------------------------------------- /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 | "homepage": "https://github.com/chaijs/chai", 28 | "_release": "1.9.1", 29 | "_resolution": { 30 | "type": "version", 31 | "tag": "1.9.1", 32 | "commit": "4180251dd45560f189192e28d3c0ba011f6d8178" 33 | }, 34 | "_source": "git://github.com/chaijs/chai.git", 35 | "_target": "~1.9.1", 36 | "_originalSource": "chai", 37 | "_direct": true 38 | } -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-autofocus-docs.md: -------------------------------------------------------------------------------- 1 | Used to programmatically focus on an element. Here's the API: 2 | 3 | - `kcdAutofocus` - when this value is changed to truthy (and not equal to `"false"`) the element will receive focus. 4 | If it is changed to `"false"` or a falsy value, the element will lose focus. 5 | - `refocus` - when this is truthy, `kcdAutofocus` will keep track of what element had focus before, and refocus on that 6 | element when `kcdAutofocus` is set to false. This only happens when the element has focus at the time... 7 | - `focusWait` - the amount of milliseconds to wait after `kcdAutofocus` has been set to a truthy value before focusing 8 | on the element. 9 | 10 | Example: 11 | 12 | ```html 13 | 14 | 15 | ``` 16 | 17 | ```javascript 18 | $scope.focus = false; 19 | $scope.onButtonPress = function() { 20 | $scope.focus = true; 21 | } 22 | ``` -------------------------------------------------------------------------------- /resources/bower_components/marked/test/new/gfm_code_hr_list.html: -------------------------------------------------------------------------------- 1 |

foo

2 |
    3 |
  1. bar:

    4 |
    5 |
      6 |
    • one
        7 |
      • two
          8 |
        • three
        • 9 |
        • four
        • 10 |
        • five
        • 11 |
        12 |
      • 13 |
      14 |
    • 15 |
    16 |
    17 |
  2. 18 |
  3. foo:

    19 |
     line 1
    20 |  line 2
    21 |
  4. 22 |
  5. foo:

    23 |
      24 |
    1. foo bar bar:

      25 |
       some code here
      26 | 
      27 |
    2. 28 |
    3. foo bar bar:

      29 |
       foo
      30 |  ---
      31 |  bar
      32 |  ---
      33 |  foo
      34 |  bar
      35 |
    4. 36 |
    5. foo bar bar:

      37 |
       ---
      38 |  foo
      39 |  foo
      40 |  ---
      41 |  bar
      42 |
    6. 43 |
    7. foo bar bar:

      44 |
       foo
      45 |  ---
      46 |  bar
      47 |
    8. 48 |
    9. foo

      49 |
    10. 50 |
    51 |
  6. 52 |
53 | -------------------------------------------------------------------------------- /resources/bower_components/Faker/test/browser.unit.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Mocha Tests 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/gfm_code_hr_list.html: -------------------------------------------------------------------------------- 1 |

foo

2 |
    3 |
  1. bar:

    4 |
    5 |
      6 |
    • one
        7 |
      • two
          8 |
        • three
        • 9 |
        • four
        • 10 |
        • five
        • 11 |
        12 |
      • 13 |
      14 |
    • 15 |
    16 |
    17 |
  2. 18 |
  3. foo:

    19 |
     line 1
    20 |  line 2
    21 |
  4. 22 |
  5. foo:

    23 |
      24 |
    1. foo bar bar:

      25 |
       some code here
      26 | 
      27 |
    2. 28 |
    3. foo bar bar:

      29 |
       foo
      30 |  ---
      31 |  bar
      32 |  ---
      33 |  foo
      34 |  bar
      35 |
    4. 36 |
    5. foo bar bar:

      37 |
       ---
      38 |  foo
      39 |  foo
      40 |  ---
      41 |  bar
      42 |
    6. 43 |
    7. foo bar bar:

      44 |
       foo
      45 |  ---
      46 |  bar
      47 |
    8. 48 |
    9. foo

      49 |
    10. 50 |
    51 |
  6. 52 |
53 | -------------------------------------------------------------------------------- /resources/bower_components/codemirror/addon/mode/multiplex_test.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function() { 5 | CodeMirror.defineMode("markdown_with_stex", function(){ 6 | var inner = CodeMirror.getMode({}, "stex"); 7 | var outer = CodeMirror.getMode({}, "markdown"); 8 | 9 | var innerOptions = { 10 | open: '$', 11 | close: '$', 12 | mode: inner, 13 | delimStyle: 'delim', 14 | innerStyle: 'inner' 15 | }; 16 | 17 | return CodeMirror.multiplexingMode(outer, innerOptions); 18 | }); 19 | 20 | var mode = CodeMirror.getMode({}, "markdown_with_stex"); 21 | 22 | function MT(name) { 23 | test.mode( 24 | name, 25 | mode, 26 | Array.prototype.slice.call(arguments, 1), 27 | 'multiplexing'); 28 | } 29 | 30 | MT( 31 | "stexInsideMarkdown", 32 | "[strong **Equation:**] [delim $][inner&tag \\pi][delim $]"); 33 | })(); 34 | -------------------------------------------------------------------------------- /resources/bower_components/Faker/lib/name.js: -------------------------------------------------------------------------------- 1 | var faker = require('../index'); 2 | 3 | var _name = { 4 | firstName: function () { 5 | return faker.random.first_name(); 6 | }, 7 | 8 | //Working as intended 9 | firstNameFemale: function () { 10 | return faker.random.first_name(); 11 | }, 12 | //Working as intended 13 | firstNameMale: function () { 14 | return faker.random.first_name(); 15 | }, 16 | 17 | lastName: function () { 18 | return faker.random.last_name(); 19 | }, 20 | 21 | findName: function () { 22 | var r = faker.random.number(8); 23 | switch (r) { 24 | case 0: 25 | return faker.random.name_prefix() + " " + this.firstName() + " " + this.lastName(); 26 | case 1: 27 | return this.firstName() + " " + this.lastName() + " " + faker.random.name_suffix(); 28 | } 29 | 30 | return this.firstName() + " " + this.lastName(); 31 | } 32 | }; 33 | 34 | module.exports = _name; 35 | -------------------------------------------------------------------------------- /resources/bower_components/codemirror/addon/lint/yaml-lint.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | "use strict"; 13 | 14 | // Depends on js-yaml.js from https://github.com/nodeca/js-yaml 15 | 16 | // declare global: jsyaml 17 | 18 | CodeMirror.registerHelper("lint", "yaml", function(text) { 19 | var found = []; 20 | try { jsyaml.load(text); } 21 | catch(e) { 22 | var loc = e.mark; 23 | found.push({ from: CodeMirror.Pos(loc.line, loc.column), to: CodeMirror.Pos(loc.line, loc.column), message: e.message }); 24 | } 25 | return found; 26 | }); 27 | 28 | }); 29 | -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-key-bind.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.directives').directive('kcdKeyBind', function() { 2 | 'use strict'; 3 | var keyCodes = { 4 | esc: 27, space: 32, enter: 13, tab: 9, 5 | backspace: 8, shift: 16, ctrl: 17, 6 | alt: 18, capslock: 20, numlock: 144 7 | }; 8 | 9 | function map(obj) { 10 | var mapped = {}; 11 | angular.forEach(obj, function(action, key) { 12 | if (~~key) { 13 | mapped[key] = action; 14 | } else if (keyCodes[key]) { 15 | mapped[keyCodes[key]] = action; 16 | } else if (key.length === 1) { 17 | mapped[key.toUpperCase().charCodeAt(0)] = action; 18 | } 19 | }); 20 | return mapped; 21 | } 22 | 23 | return function(scope, element, attrs) { 24 | var bindings = map(scope.$eval(attrs.kcdKeyBind)); 25 | element.bind('keyup', function (event) { 26 | if (bindings.hasOwnProperty(event.which)) { 27 | scope.$apply(function() { 28 | scope.$eval(bindings[event.which]); 29 | }); 30 | } 31 | }); 32 | }; 33 | }); -------------------------------------------------------------------------------- /resources/bower_components/angular-ui-router/src/stateFilters.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @ngdoc filter 3 | * @name ui.router.state.filter:isState 4 | * 5 | * @requires ui.router.state.$state 6 | * 7 | * @description 8 | * Translates to {@link ui.router.state.$state#methods_is $state.is("stateName")}. 9 | */ 10 | $IsStateFilter.$inject = ['$state']; 11 | function $IsStateFilter($state) { 12 | return function(state) { 13 | return $state.is(state); 14 | }; 15 | } 16 | 17 | /** 18 | * @ngdoc filter 19 | * @name ui.router.state.filter:includedByState 20 | * 21 | * @requires ui.router.state.$state 22 | * 23 | * @description 24 | * Translates to {@link ui.router.state.$state#methods_includes $state.includes('fullOrPartialStateName')}. 25 | */ 26 | $IncludedByStateFilter.$inject = ['$state']; 27 | function $IncludedByStateFilter($state) { 28 | return function(state) { 29 | return $state.includes(state); 30 | }; 31 | } 32 | 33 | angular.module('ui.router.state') 34 | .filter('isState', $IsStateFilter) 35 | .filter('includedByState', $IncludedByStateFilter); 36 | -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-remove-watchers.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.directives').directive('kcdRemoveWatchers', function($parse, _) { 2 | 'use strict'; 3 | return { 4 | scope: { 5 | saveExpressions: '=' 6 | }, 7 | link: function kcdRemoveWatchersLink(scope, el, attrs) { 8 | setTimeout(function() { 9 | removeWatchers(el, scope.saveExpressions); 10 | }); 11 | } 12 | }; 13 | 14 | function removeWatchers(element, saveExpressions) { 15 | removeWatchersFromScope(element.data().$isolateScope, saveExpressions); 16 | removeWatchersFromScope(element.data().$scope, saveExpressions); 17 | angular.forEach(element.children(), function (childElement) { 18 | removeWatchers(angular.element(childElement), saveExpressions); 19 | }); 20 | } 21 | 22 | function removeWatchersFromScope(scope, saveExpressions) { 23 | if (!scope) { 24 | return; 25 | } 26 | _.remove(scope.$$watchers, function(watcher) { 27 | return !_.contains(saveExpressions, watcher.exp); 28 | }); 29 | scope.$$watchers = scope.$$watchers || []; 30 | } 31 | }); -------------------------------------------------------------------------------- /resources/bower_components/marked/test/browser/index.js: -------------------------------------------------------------------------------- 1 | var fs = require('fs'); 2 | 3 | var test = require('../') 4 | , runTests = test.runTests 5 | , load = test.load; 6 | 7 | var express = require('express') 8 | , app = express(); 9 | 10 | app.use(function(req, res, next) { 11 | var setHeader = res.setHeader; 12 | res.setHeader = function(name) { 13 | switch (name) { 14 | case 'Cache-Control': 15 | case 'Last-Modified': 16 | case 'ETag': 17 | return; 18 | } 19 | return setHeader.apply(res, arguments); 20 | }; 21 | next(); 22 | }); 23 | 24 | var dir = __dirname + '/../tests' 25 | , files = {}; 26 | 27 | app.get('/test.js', function(req, res, next) { 28 | var test = fs.readFileSync(__dirname + '/test.js', 'utf8') 29 | , files = load(); 30 | 31 | test = test.replace('__TESTS__', JSON.stringify(files)); 32 | test = test.replace('__MAIN__', runTests + ''); 33 | 34 | res.contentType('.js'); 35 | res.send(test); 36 | }); 37 | 38 | app.use(express.static(__dirname + '/../../lib')); 39 | app.use(express.static(__dirname)); 40 | 41 | app.listen(8080); 42 | -------------------------------------------------------------------------------- /resources/bower_components/codemirror/addon/lint/json-lint.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | // Depends on jsonlint.js from https://github.com/zaach/jsonlint 5 | 6 | // declare global: jsonlint 7 | 8 | (function(mod) { 9 | if (typeof exports == "object" && typeof module == "object") // CommonJS 10 | mod(require("../../lib/codemirror")); 11 | else if (typeof define == "function" && define.amd) // AMD 12 | define(["../../lib/codemirror"], mod); 13 | else // Plain browser env 14 | mod(CodeMirror); 15 | })(function(CodeMirror) { 16 | "use strict"; 17 | 18 | CodeMirror.registerHelper("lint", "json", function(text) { 19 | var found = []; 20 | jsonlint.parseError = function(str, hash) { 21 | var loc = hash.loc; 22 | found.push({from: CodeMirror.Pos(loc.first_line - 1, loc.first_column), 23 | to: CodeMirror.Pos(loc.last_line - 1, loc.last_column), 24 | message: str}); 25 | }; 26 | try { jsonlint.parse(text); } 27 | catch(e) {} 28 | return found; 29 | }); 30 | 31 | }); 32 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/exports/amd.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core" 3 | ], function( jQuery ) { 4 | 5 | // Register as a named AMD module, since jQuery can be concatenated with other 6 | // files that may use define, but not via a proper concatenation script that 7 | // understands anonymous AMD modules. A named AMD is safest and most robust 8 | // way to register. Lowercase jquery is used because AMD module names are 9 | // derived from file names, and jQuery is normally delivered in a lowercase 10 | // file name. Do this after creating the global so that if an AMD module wants 11 | // to call noConflict to hide this version of jQuery, it will work. 12 | 13 | // Note that for maximum portability, libraries that are not jQuery should 14 | // declare themselves as anonymous modules, and avoid setting a global if an 15 | // AMD loader is present. jQuery is a special case. For more information, see 16 | // https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon 17 | 18 | if ( typeof define === "function" && define.amd ) { 19 | define( "jquery", [], function() { 20 | return jQuery; 21 | }); 22 | } 23 | 24 | }); 25 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Kent C. Dodds 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-dynamic-attr-docs.md: -------------------------------------------------------------------------------- 1 | This allows you to provide dynamic attributes for elements in cases where angular wires things up based on those 2 | attributes before your stuff has a chance to get compiled. One use case is form validation. 3 | 4 | To do form validation with angular, both your form and your input need to have a `name` attribute. There are some cases 5 | where you want to have a dynamic name (in an `ng-repeat` for example). This is the main use case for `kcd-dynamic-attr`. 6 | 7 | You can have multiple attributes evaluated by separating their name with a comma. 8 | 9 | ```html 10 |
11 | 12 |
13 | ``` 14 | 15 | Notice how `name="formName"` is not using the template expression syntax (`{{formName}}`), this is because it the 16 | directive doesn't need it to. It will simply evaluate the expression itself and set the attribute to the evaluated 17 | value. 18 | 19 | **Note:** `kcd-dynamic-attr` only runs once and it happens immediately before other directives can compile the element. -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/core/parseHTML.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../core", 3 | "./var/rsingleTag", 4 | "../manipulation" // buildFragment 5 | ], function( jQuery, rsingleTag ) { 6 | 7 | // data: string of html 8 | // context (optional): If specified, the fragment will be created in this context, defaults to document 9 | // keepScripts (optional): If true, will include scripts passed in the html string 10 | jQuery.parseHTML = function( data, context, keepScripts ) { 11 | if ( !data || typeof data !== "string" ) { 12 | return null; 13 | } 14 | if ( typeof context === "boolean" ) { 15 | keepScripts = context; 16 | context = false; 17 | } 18 | context = context || document; 19 | 20 | var parsed = rsingleTag.exec( data ), 21 | scripts = !keepScripts && []; 22 | 23 | // Single tag 24 | if ( parsed ) { 25 | return [ context.createElement( parsed[1] ) ]; 26 | } 27 | 28 | parsed = jQuery.buildFragment( [ data ], context, scripts ); 29 | 30 | if ( scripts && scripts.length ) { 31 | jQuery( scripts ).remove(); 32 | } 33 | 34 | return jQuery.merge( [], parsed.childNodes ); 35 | }; 36 | 37 | return jQuery.parseHTML; 38 | 39 | }); 40 | -------------------------------------------------------------------------------- /resources/bower_components/codemirror/theme/neo.css: -------------------------------------------------------------------------------- 1 | /* neo theme for codemirror */ 2 | 3 | /* Color scheme */ 4 | 5 | .cm-s-neo.CodeMirror { 6 | background-color:#ffffff; 7 | color:#2e383c; 8 | line-height:1.4375; 9 | } 10 | .cm-s-neo .cm-comment {color:#75787b} 11 | .cm-s-neo .cm-keyword, .cm-s-neo .cm-property {color:#1d75b3} 12 | .cm-s-neo .cm-atom,.cm-s-neo .cm-number {color:#75438a} 13 | .cm-s-neo .cm-node,.cm-s-neo .cm-tag {color:#9c3328} 14 | .cm-s-neo .cm-string {color:#b35e14} 15 | .cm-s-neo .cm-variable,.cm-s-neo .cm-qualifier {color:#047d65} 16 | 17 | 18 | /* Editor styling */ 19 | 20 | .cm-s-neo pre { 21 | padding:0; 22 | } 23 | 24 | .cm-s-neo .CodeMirror-gutters { 25 | border:none; 26 | border-right:10px solid transparent; 27 | background-color:transparent; 28 | } 29 | 30 | .cm-s-neo .CodeMirror-linenumber { 31 | padding:0; 32 | color:#e0e2e5; 33 | } 34 | 35 | .cm-s-neo .CodeMirror-guttermarker { color: #1d75b3; } 36 | .cm-s-neo .CodeMirror-guttermarker-subtle { color: #e0e2e5; } 37 | 38 | .cm-s-neo div.CodeMirror-cursor { 39 | width: auto; 40 | border: 0; 41 | background: rgba(155,157,162,0.37); 42 | z-index: 1; 43 | } 44 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/manipulation/support.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../var/support" 3 | ], function( support ) { 4 | 5 | (function() { 6 | var fragment = document.createDocumentFragment(), 7 | div = fragment.appendChild( document.createElement( "div" ) ), 8 | input = document.createElement( "input" ); 9 | 10 | // #11217 - WebKit loses check when the name is after the checked attribute 11 | // Support: Windows Web Apps (WWA) 12 | // `name` and `type` need .setAttribute for WWA 13 | input.setAttribute( "type", "radio" ); 14 | input.setAttribute( "checked", "checked" ); 15 | input.setAttribute( "name", "t" ); 16 | 17 | div.appendChild( input ); 18 | 19 | // Support: Safari 5.1, iOS 5.1, Android 4.x, Android 2.3 20 | // old WebKit doesn't clone checked state correctly in fragments 21 | support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; 22 | 23 | // Make sure textarea (and checkbox) defaultValue is properly cloned 24 | // Support: IE9-IE11+ 25 | div.innerHTML = ""; 26 | support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; 27 | })(); 28 | 29 | return support; 30 | 31 | }); 32 | -------------------------------------------------------------------------------- /resources/bower_components/codemirror/addon/edit/trailingspace.js: -------------------------------------------------------------------------------- 1 | // CodeMirror, copyright (c) by Marijn Haverbeke and others 2 | // Distributed under an MIT license: http://codemirror.net/LICENSE 3 | 4 | (function(mod) { 5 | if (typeof exports == "object" && typeof module == "object") // CommonJS 6 | mod(require("../../lib/codemirror")); 7 | else if (typeof define == "function" && define.amd) // AMD 8 | define(["../../lib/codemirror"], mod); 9 | else // Plain browser env 10 | mod(CodeMirror); 11 | })(function(CodeMirror) { 12 | CodeMirror.defineOption("showTrailingSpace", false, function(cm, val, prev) { 13 | if (prev == CodeMirror.Init) prev = false; 14 | if (prev && !val) 15 | cm.removeOverlay("trailingspace"); 16 | else if (!prev && val) 17 | cm.addOverlay({ 18 | token: function(stream) { 19 | for (var l = stream.string.length, i = l; i && /\s/.test(stream.string.charAt(i - 1)); --i) {} 20 | if (i > stream.pos) { stream.pos = i; return null; } 21 | stream.pos = l; 22 | return "trailingspace"; 23 | }, 24 | name: "trailingspace" 25 | }); 26 | }); 27 | }); 28 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/src/attributes/support.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../var/support" 3 | ], function( support ) { 4 | 5 | (function() { 6 | var input = document.createElement( "input" ), 7 | select = document.createElement( "select" ), 8 | opt = select.appendChild( document.createElement( "option" ) ); 9 | 10 | input.type = "checkbox"; 11 | 12 | // Support: iOS 5.1, Android 4.x, Android 2.3 13 | // Check the default checkbox/radio value ("" on old WebKit; "on" elsewhere) 14 | support.checkOn = input.value !== ""; 15 | 16 | // Must access the parent to make an option select properly 17 | // Support: IE9, IE10 18 | support.optSelected = opt.selected; 19 | 20 | // Make sure that the options inside disabled selects aren't marked as disabled 21 | // (WebKit marks them as disabled) 22 | select.disabled = true; 23 | support.optDisabled = !opt.disabled; 24 | 25 | // Check if an input maintains its value after becoming a radio 26 | // Support: IE9, IE10 27 | input = document.createElement( "input" ); 28 | input.value = "t"; 29 | input.type = "radio"; 30 | support.radioValue = input.value === "t"; 31 | })(); 32 | 33 | return support; 34 | 35 | }); 36 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/inline_html_simple.html: -------------------------------------------------------------------------------- 1 |

Here's a simple block:

2 | 3 |
4 | foo 5 |
6 | 7 |

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 |
22 |
23 |
24 | foo 25 |
26 |
27 |
28 | 29 |

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 |
57 | 58 |
59 | 60 |
61 | 62 |
63 | 64 |
65 | 66 |
67 | 68 |
69 | 70 |
71 | 72 |
73 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/inline_html_simple.html: -------------------------------------------------------------------------------- 1 |

Here's a simple block:

2 | 3 |
4 | foo 5 |
6 | 7 |

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 |
22 |
23 |
24 | foo 25 |
26 |
27 |
28 | 29 |

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 |
57 | 58 |
59 | 60 |
61 | 62 |
63 | 64 |
65 | 66 |
67 | 68 |
69 | 70 |
71 | 72 |
73 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/tests/links_reference_style.text: -------------------------------------------------------------------------------- 1 | Foo [bar] [1]. 2 | 3 | Foo [bar][1]. 4 | 5 | Foo [bar] 6 | [1]. 7 | 8 | [1]: /url/ "Title" 9 | 10 | 11 | With [embedded [brackets]] [b]. 12 | 13 | 14 | Indented [once][]. 15 | 16 | Indented [twice][]. 17 | 18 | Indented [thrice][]. 19 | 20 | Indented [four][] times. 21 | 22 | [once]: /url 23 | 24 | [twice]: /url 25 | 26 | [thrice]: /url 27 | 28 | [four]: /url 29 | 30 | 31 | [b]: /url/ 32 | 33 | * * * 34 | 35 | [this] [this] should work 36 | 37 | So should [this][this]. 38 | 39 | And [this] []. 40 | 41 | And [this][]. 42 | 43 | And [this]. 44 | 45 | But not [that] []. 46 | 47 | Nor [that][]. 48 | 49 | Nor [that]. 50 | 51 | [Something in brackets like [this][] should work] 52 | 53 | [Same with [this].] 54 | 55 | In this case, [this](/somethingelse/) points to something else. 56 | 57 | Backslashing should suppress \[this] and [this\]. 58 | 59 | [this]: foo 60 | 61 | 62 | * * * 63 | 64 | Here's one where the [link 65 | breaks] across lines. 66 | 67 | Here's another where the [link 68 | breaks] across lines, but with a line-ending space. 69 | 70 | 71 | [link breaks]: /url/ 72 | -------------------------------------------------------------------------------- /resources/bower_components/marked/test/original/links_reference_style.text: -------------------------------------------------------------------------------- 1 | Foo [bar] [1]. 2 | 3 | Foo [bar][1]. 4 | 5 | Foo [bar] 6 | [1]. 7 | 8 | [1]: /url/ "Title" 9 | 10 | 11 | With [embedded [brackets]] [b]. 12 | 13 | 14 | Indented [once][]. 15 | 16 | Indented [twice][]. 17 | 18 | Indented [thrice][]. 19 | 20 | Indented [four][] times. 21 | 22 | [once]: /url 23 | 24 | [twice]: /url 25 | 26 | [thrice]: /url 27 | 28 | [four]: /url 29 | 30 | 31 | [b]: /url/ 32 | 33 | * * * 34 | 35 | [this] [this] should work 36 | 37 | So should [this][this]. 38 | 39 | And [this] []. 40 | 41 | And [this][]. 42 | 43 | And [this]. 44 | 45 | But not [that] []. 46 | 47 | Nor [that][]. 48 | 49 | Nor [that]. 50 | 51 | [Something in brackets like [this][] should work] 52 | 53 | [Same with [this].] 54 | 55 | In this case, [this](/somethingelse/) points to something else. 56 | 57 | Backslashing should suppress \[this] and [this\]. 58 | 59 | [this]: foo 60 | 61 | 62 | * * * 63 | 64 | Here's one where the [link 65 | breaks] across lines. 66 | 67 | Here's another where the [link 68 | breaks] across lines, but with a line-ending space. 69 | 70 | 71 | [link breaks]: /url/ 72 | -------------------------------------------------------------------------------- /resources/bower_components/marked/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011-2014, Christopher Jeffrey (https://github.com/chjj/) 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /resources/bower_components/codemirror/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2014 by Marijn Haverbeke and others 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /resources/bower_components/moment/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2011-2014 Tim Wood, Iskren Chernev, Moment.js contributors 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /resources/bower_components/Faker/MIT-LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014 Matthew Bergman & Marak Squires http://github.com/marak/faker.js/ 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining 4 | a copy of this software and associated documentation files (the 5 | "Software"), to deal in the Software without restriction, including 6 | without limitation the rights to use, copy, modify, merge, publish, 7 | distribute, sublicense, and/or sell copies of the Software, and to 8 | permit persons to whom the Software is furnished to do so, subject to 9 | the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /resources/bower_components/angular-ui-router/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License 2 | 3 | Copyright (c) 2014 The AngularUI Team, Karsten Sperling 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /resources/bower_components/jquery/MIT-LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright 2014 jQuery Foundation and other contributors 2 | http://jquery.com/ 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining 5 | a copy of this software and associated documentation files (the 6 | "Software"), to deal in the Software without restriction, including 7 | without limitation the rights to use, copy, modify, merge, publish, 8 | distribute, sublicense, and/or sell copies of the Software, and to 9 | permit persons to whom the Software is furnished to do so, subject to 10 | the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 19 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 20 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 21 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /resources/bower_components/mocha/LICENSE: -------------------------------------------------------------------------------- 1 | (The MIT License) 2 | 3 | Copyright (c) 2011-2014 TJ Holowaychuk 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | 'Software'), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /resources/kcd/directives/kcd-custom-validation.js: -------------------------------------------------------------------------------- 1 | angular.module('kcd.directives').directive('kcdCustomValidation', function() { 2 | 'use strict'; 3 | 4 | return { 5 | require: 'ngModel', 6 | link: function(scope, el, attrs, ctrl) { 7 | var validators = scope.$eval(attrs.kcdCustomValidation); 8 | if (!validators) { 9 | return; 10 | } 11 | if (!angular.isArray(validators)) { 12 | validators = [validators]; 13 | } 14 | 15 | // setup watchers and parsers 16 | angular.forEach(validators, function(validator) { 17 | if (validator.watch) { 18 | scope.$watch(validator.watch, function(value) { 19 | applyValidity(validator, value); 20 | }); 21 | } else { 22 | ctrl.$parsers.unshift(function(viewValue) { 23 | applyValidity(validator, viewValue); 24 | return viewValue; 25 | }); 26 | } 27 | }); 28 | 29 | function applyValidity(validator, value) { 30 | if (validator.fn(value)) { 31 | ctrl.$setValidity(validator.name, true); 32 | } else { 33 | ctrl.$setValidity(validator.name, false); 34 | } 35 | } 36 | } 37 | }; 38 | }); -------------------------------------------------------------------------------- /resources/site_components/MainCtrl/MainCtrl.styl: -------------------------------------------------------------------------------- 1 | .main-ctrl 2 | .featured 3 | color #5166D1 4 | .title 5 | text-align center 6 | h1 7 | display inline-block 8 | cursor pointer 9 | .search-container 10 | position relative 11 | i 12 | position absolute 13 | top 6px 14 | left 8px 15 | color #A5A5A5 16 | input 17 | padding-left 28px 18 | .thing-group 19 | .group-label 20 | display inline-block 21 | .thing 22 | .selected 23 | font-weight bold 24 | /* ui-view animation */ 25 | .things-view-container 26 | position relative 27 | [ui-view] 28 | width 100% 29 | &.ng-enter, &.ng-leave 30 | position absolute 31 | padding-right 30px 32 | top 0 33 | opacity 0 34 | transition all .3s ease-in-out 35 | &.ng-enter 36 | position absolute 37 | padding-right 30px 38 | opacity 0 39 | top 40px 40 | &.ng-enter-active 41 | top 0 42 | opacity 1 43 | &.ng-leave 44 | top 0 45 | opacity 1 46 | &.ng-leave-active 47 | position absolute 48 | padding-right 30px 49 | opacity 0 50 | top 30px 51 | -------------------------------------------------------------------------------- /resources/bower_components/Faker/lib/company.js: -------------------------------------------------------------------------------- 1 | var faker = require('../index'); 2 | 3 | var company = { 4 | suffixes: function () { 5 | return ["Inc", "and Sons", "LLC", "Group", "and Daughters"]; 6 | }, 7 | 8 | companyName: function (format) { 9 | switch ((format ? format : faker.random.number(3))) { 10 | case 0: 11 | return faker.Name.lastName() + " " + this.companySuffix(); 12 | case 1: 13 | return faker.Name.lastName() + "-" + faker.Name.lastName(); 14 | case 2: 15 | return faker.Name.lastName() + ", " + faker.Name.lastName() + " and " + faker.Name.lastName(); 16 | } 17 | }, 18 | 19 | companySuffix: function () { 20 | return faker.random.array_element(this.suffixes()); 21 | }, 22 | 23 | catchPhrase: function () { 24 | return faker.random.catch_phrase_adjective() + " " + 25 | faker.random.catch_phrase_descriptor() + " " + 26 | faker.random.catch_phrase_noun(); 27 | }, 28 | 29 | bs: function () { 30 | return faker.random.bs_adjective() + " " + 31 | faker.random.bs_buzz() + " " + 32 | faker.random.bs_noun(); 33 | } 34 | }; 35 | 36 | module.exports = company; 37 | -------------------------------------------------------------------------------- /resources/bower_components/codemirror/theme/eclipse.css: -------------------------------------------------------------------------------- 1 | .cm-s-eclipse span.cm-meta {color: #FF1717;} 2 | .cm-s-eclipse span.cm-keyword { line-height: 1em; font-weight: bold; color: #7F0055; } 3 | .cm-s-eclipse span.cm-atom {color: #219;} 4 | .cm-s-eclipse span.cm-number {color: #164;} 5 | .cm-s-eclipse span.cm-def {color: #00f;} 6 | .cm-s-eclipse span.cm-variable {color: black;} 7 | .cm-s-eclipse span.cm-variable-2 {color: #0000C0;} 8 | .cm-s-eclipse span.cm-variable-3 {color: #0000C0;} 9 | .cm-s-eclipse span.cm-property {color: black;} 10 | .cm-s-eclipse span.cm-operator {color: black;} 11 | .cm-s-eclipse span.cm-comment {color: #3F7F5F;} 12 | .cm-s-eclipse span.cm-string {color: #2A00FF;} 13 | .cm-s-eclipse span.cm-string-2 {color: #f50;} 14 | .cm-s-eclipse span.cm-qualifier {color: #555;} 15 | .cm-s-eclipse span.cm-builtin {color: #30a;} 16 | .cm-s-eclipse span.cm-bracket {color: #cc7;} 17 | .cm-s-eclipse span.cm-tag {color: #170;} 18 | .cm-s-eclipse span.cm-attribute {color: #00c;} 19 | .cm-s-eclipse span.cm-link {color: #219;} 20 | .cm-s-eclipse span.cm-error {color: #f00;} 21 | 22 | .cm-s-eclipse .CodeMirror-activeline-background {background: #e8f2ff !important;} 23 | .cm-s-eclipse .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;} 24 | -------------------------------------------------------------------------------- /resources/bower_components/Faker/test/phone_number.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("phone_number.js", function () { 8 | describe("phoneNumber()", function () { 9 | it("returns a random phoneNumber with a random format", function () { 10 | sinon.spy(faker.random, 'phone_formats'); 11 | sinon.spy(faker.Helpers, 'replaceSymbolWithNumber'); 12 | var phone_number = faker.PhoneNumber.phoneNumber(); 13 | 14 | assert.ok(phone_number.match(/\d/)); 15 | assert.ok(faker.random.phone_formats.called); 16 | assert.ok(faker.Helpers.replaceSymbolWithNumber.called); 17 | 18 | faker.random.phone_formats.restore(); 19 | faker.Helpers.replaceSymbolWithNumber.restore(); 20 | }); 21 | }); 22 | 23 | describe("phoneNumberFormat()", function () { 24 | it("returns phone number with requested format (Array index)", function () { 25 | var phone_number = faker.PhoneNumber.phoneNumberFormat(5); 26 | assert.ok(phone_number.match(/\(\d\d\d\)\d\d\d-\d\d\d\d/)); 27 | }); 28 | }); 29 | }); 30 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "kcd", 3 | "version": "0.0.0", 4 | "description": "Angular components that I have made and think are useful", 5 | "main": "./resources/kcd/app.js", 6 | "devDependencies": { 7 | "glob": "^4.0.2", 8 | "grunt": "^0.4.5", 9 | "grunt-contrib-jade": "^0.12.0", 10 | "grunt-contrib-jshint": "^0.10.0", 11 | "grunt-contrib-stylus": "^0.17.0", 12 | "grunt-contrib-watch": "^0.6.1", 13 | "grunt-gh-pages": "^0.9.1", 14 | "grunt-mocha": "^0.4.11", 15 | "load-grunt-tasks": "^0.6.0", 16 | "lodash-node": "^2.4.1", 17 | "mocha": "^1.21.4", 18 | "time-grunt": "^0.3.2" 19 | }, 20 | "scripts": { 21 | "test": "echo \"Error: no test specified\" && exit 1" 22 | }, 23 | "repository": { 24 | "type": "git", 25 | "url": "https://github.com/kentcdodds/kcd-angular.git" 26 | }, 27 | "keywords": [ 28 | "angular", 29 | "angularjs", 30 | "angular components", 31 | "angular directives", 32 | "angular services", 33 | "angular filters" 34 | ], 35 | "author": "Kent C. Dodds (http://kent.doddsfamily.us)", 36 | "license": "MIT", 37 | "bugs": { 38 | "url": "https://github.com/kentcdodds/kcd-angular/issues" 39 | }, 40 | "homepage": "https://github.com/kentcdodds/kcd-angular" 41 | } 42 | --------------------------------------------------------------------------------