praxis 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +5 -0
- data/CHANGELOG.md +16 -0
- data/lib/api_browser/Gruntfile.js +125 -16
- data/lib/api_browser/app/index.html +5 -1
- data/lib/api_browser/app/js/directives/fixed_if_fits.js +28 -17
- data/lib/api_browser/app/js/directives/highlight.js +14 -0
- data/lib/api_browser/app/js/directives/request_examples.js +29 -0
- data/lib/api_browser/app/js/factories/Documentation.js +6 -0
- data/lib/api_browser/app/js/factories/Example.js +47 -0
- data/lib/api_browser/app/js/factories/prepare_template.js +15 -0
- data/lib/api_browser/app/js/factories/template_for.js +2 -12
- data/lib/api_browser/app/sass/modules/_sidebar.scss +2 -0
- data/lib/api_browser/app/views/action.html +6 -24
- data/lib/api_browser/app/views/examples/general.html +26 -0
- data/lib/api_browser/{bower.json → bower_template.json} +13 -3
- data/lib/api_browser/package.json +3 -1
- data/lib/praxis/application.rb +2 -0
- data/lib/praxis/docs/generator.rb +4 -2
- data/lib/praxis/extensions/field_selection/field_selector.rb +1 -0
- data/lib/praxis/media_type.rb +1 -1
- data/lib/praxis/plugin.rb +4 -0
- data/lib/praxis/plugin_concern.rb +2 -1
- data/lib/praxis/tasks/api_docs.rb +9 -2
- data/lib/praxis/version.rb +1 -1
- data/praxis.gemspec +2 -2
- data/spec/praxis/action_definition_spec.rb +26 -1
- data/spec/praxis/extensions/field_selection/field_selector_spec.rb +4 -0
- data/spec/praxis/media_type_spec.rb +4 -3
- data/spec/support/spec_media_types.rb +5 -1
- metadata +12 -242
- data/lib/api_browser/app/bower_components/angular-mocks/.bower.json +0 -19
- data/lib/api_browser/app/bower_components/angular-mocks/README.md +0 -63
- data/lib/api_browser/app/bower_components/angular-mocks/angular-mocks.js +0 -2452
- data/lib/api_browser/app/bower_components/angular-mocks/bower.json +0 -9
- data/lib/api_browser/app/bower_components/angular-mocks/ngAnimateMock.js +0 -2
- data/lib/api_browser/app/bower_components/angular-mocks/ngMock.js +0 -2
- data/lib/api_browser/app/bower_components/angular-mocks/ngMockE2E.js +0 -2
- data/lib/api_browser/app/bower_components/angular-mocks/package.json +0 -27
- data/lib/api_browser/app/bower_components/angular-sanitize/.bower.json +0 -19
- data/lib/api_browser/app/bower_components/angular-sanitize/README.md +0 -68
- data/lib/api_browser/app/bower_components/angular-sanitize/angular-sanitize.js +0 -683
- data/lib/api_browser/app/bower_components/angular-sanitize/angular-sanitize.min.js +0 -16
- data/lib/api_browser/app/bower_components/angular-sanitize/angular-sanitize.min.js.map +0 -8
- data/lib/api_browser/app/bower_components/angular-sanitize/bower.json +0 -9
- data/lib/api_browser/app/bower_components/angular-sanitize/index.js +0 -2
- data/lib/api_browser/app/bower_components/angular-sanitize/package.json +0 -26
- data/lib/api_browser/app/bower_components/angular-ui-bootstrap-bower/.bower.json +0 -31
- data/lib/api_browser/app/bower_components/angular-ui-bootstrap-bower/bower.json +0 -19
- data/lib/api_browser/app/bower_components/angular-ui-bootstrap-bower/ui-bootstrap-csp.css +0 -6
- data/lib/api_browser/app/bower_components/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js +0 -4840
- data/lib/api_browser/app/bower_components/angular-ui-bootstrap-bower/ui-bootstrap-tpls.min.js +0 -10
- data/lib/api_browser/app/bower_components/angular-ui-bootstrap-bower/ui-bootstrap.js +0 -4461
- data/lib/api_browser/app/bower_components/angular-ui-bootstrap-bower/ui-bootstrap.min.js +0 -9
- data/lib/api_browser/app/bower_components/angular-ui-router/.bower.json +0 -33
- data/lib/api_browser/app/bower_components/angular-ui-router/CHANGELOG.md +0 -228
- data/lib/api_browser/app/bower_components/angular-ui-router/CONTRIBUTING.md +0 -65
- data/lib/api_browser/app/bower_components/angular-ui-router/LICENSE +0 -21
- data/lib/api_browser/app/bower_components/angular-ui-router/README.md +0 -245
- data/lib/api_browser/app/bower_components/angular-ui-router/api/angular-ui-router.d.ts +0 -126
- data/lib/api_browser/app/bower_components/angular-ui-router/bower.json +0 -23
- data/lib/api_browser/app/bower_components/angular-ui-router/release/angular-ui-router.js +0 -4370
- data/lib/api_browser/app/bower_components/angular-ui-router/release/angular-ui-router.min.js +0 -7
- data/lib/api_browser/app/bower_components/angular-ui-router/src/common.js +0 -292
- data/lib/api_browser/app/bower_components/angular-ui-router/src/resolve.js +0 -252
- data/lib/api_browser/app/bower_components/angular-ui-router/src/state.js +0 -1465
- data/lib/api_browser/app/bower_components/angular-ui-router/src/stateDirectives.js +0 -285
- data/lib/api_browser/app/bower_components/angular-ui-router/src/stateFilters.js +0 -39
- data/lib/api_browser/app/bower_components/angular-ui-router/src/templateFactory.js +0 -110
- data/lib/api_browser/app/bower_components/angular-ui-router/src/urlMatcherFactory.js +0 -1050
- data/lib/api_browser/app/bower_components/angular-ui-router/src/urlRouter.js +0 -427
- data/lib/api_browser/app/bower_components/angular-ui-router/src/view.js +0 -71
- data/lib/api_browser/app/bower_components/angular-ui-router/src/viewDirective.js +0 -303
- data/lib/api_browser/app/bower_components/angular-ui-router/src/viewScroll.js +0 -52
- data/lib/api_browser/app/bower_components/angular/.bower.json +0 -17
- data/lib/api_browser/app/bower_components/angular/README.md +0 -64
- data/lib/api_browser/app/bower_components/angular/angular-csp.css +0 -21
- data/lib/api_browser/app/bower_components/angular/angular.js +0 -28133
- data/lib/api_browser/app/bower_components/angular/angular.min.js +0 -289
- data/lib/api_browser/app/bower_components/angular/angular.min.js.gzip +0 -0
- data/lib/api_browser/app/bower_components/angular/angular.min.js.map +0 -8
- data/lib/api_browser/app/bower_components/angular/bower.json +0 -8
- data/lib/api_browser/app/bower_components/angular/index.js +0 -2
- data/lib/api_browser/app/bower_components/angular/package.json +0 -25
- data/lib/api_browser/app/bower_components/bootstrap-sass/.bower.json +0 -41
- data/lib/api_browser/app/bower_components/bootstrap-sass/CHANGELOG.md +0 -108
- data/lib/api_browser/app/bower_components/bootstrap-sass/CONTRIBUTING.md +0 -79
- data/lib/api_browser/app/bower_components/bootstrap-sass/README.md +0 -218
- data/lib/api_browser/app/bower_components/bootstrap-sass/bower.json +0 -22
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +0 -229
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap.js +0 -12
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/affix.js +0 -126
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/alert.js +0 -98
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/button.js +0 -115
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/carousel.js +0 -217
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/collapse.js +0 -179
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/dropdown.js +0 -154
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/modal.js +0 -246
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/popover.js +0 -117
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/scrollspy.js +0 -158
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/tab.js +0 -135
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/tooltip.js +0 -386
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/javascripts/bootstrap/transition.js +0 -56
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap.scss +0 -1
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_alerts.scss +0 -67
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_badges.scss +0 -51
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_breadcrumbs.scss +0 -23
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_button-groups.scss +0 -227
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_buttons.scss +0 -155
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_carousel.scss +0 -232
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_close.scss +0 -35
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_code.scss +0 -53
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_component-animations.scss +0 -29
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_dropdowns.scss +0 -188
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_forms.scss +0 -374
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_glyphicons.scss +0 -237
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_grid.scss +0 -79
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_input-groups.scss +0 -136
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_jumbotron.scss +0 -46
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_labels.scss +0 -64
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_list-group.scss +0 -88
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_media.scss +0 -56
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_mixins.scss +0 -848
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_modals.scss +0 -129
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_navbar.scss +0 -616
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_navs.scss +0 -242
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_normalize.scss +0 -406
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_pager.scss +0 -55
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_pagination.scss +0 -85
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_panels.scss +0 -182
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_popovers.scss +0 -133
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_print.scss +0 -105
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_progress-bars.scss +0 -80
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_responsive-utilities.scss +0 -198
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_scaffolding.scss +0 -119
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_tables.scss +0 -231
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_theme.scss +0 -247
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_thumbnails.scss +0 -38
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_tooltip.scss +0 -95
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_type.scss +0 -281
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_utilities.scss +0 -56
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_variables.scss +0 -646
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/_wells.scss +0 -29
- data/lib/api_browser/app/bower_components/bootstrap-sass/vendor/assets/stylesheets/bootstrap/bootstrap.scss +0 -49
- data/lib/api_browser/app/bower_components/jquery/.bower.json +0 -38
- data/lib/api_browser/app/bower_components/jquery/MIT-LICENSE.txt +0 -21
- data/lib/api_browser/app/bower_components/jquery/bower.json +0 -27
- data/lib/api_browser/app/bower_components/jquery/dist/jquery.js +0 -9190
- data/lib/api_browser/app/bower_components/jquery/dist/jquery.min.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/dist/jquery.min.map +0 -1
- data/lib/api_browser/app/bower_components/jquery/src/ajax.js +0 -806
- data/lib/api_browser/app/bower_components/jquery/src/ajax/jsonp.js +0 -89
- data/lib/api_browser/app/bower_components/jquery/src/ajax/load.js +0 -75
- data/lib/api_browser/app/bower_components/jquery/src/ajax/parseJSON.js +0 -13
- data/lib/api_browser/app/bower_components/jquery/src/ajax/parseXML.js +0 -28
- data/lib/api_browser/app/bower_components/jquery/src/ajax/script.js +0 -64
- data/lib/api_browser/app/bower_components/jquery/src/ajax/var/nonce.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/ajax/var/rquery.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/ajax/xhr.js +0 -135
- data/lib/api_browser/app/bower_components/jquery/src/attributes.js +0 -11
- data/lib/api_browser/app/bower_components/jquery/src/attributes/attr.js +0 -143
- data/lib/api_browser/app/bower_components/jquery/src/attributes/classes.js +0 -158
- data/lib/api_browser/app/bower_components/jquery/src/attributes/prop.js +0 -96
- data/lib/api_browser/app/bower_components/jquery/src/attributes/support.js +0 -35
- data/lib/api_browser/app/bower_components/jquery/src/attributes/val.js +0 -163
- data/lib/api_browser/app/bower_components/jquery/src/callbacks.js +0 -205
- data/lib/api_browser/app/bower_components/jquery/src/core.js +0 -498
- data/lib/api_browser/app/bower_components/jquery/src/core/access.js +0 -60
- data/lib/api_browser/app/bower_components/jquery/src/core/init.js +0 -123
- data/lib/api_browser/app/bower_components/jquery/src/core/parseHTML.js +0 -39
- data/lib/api_browser/app/bower_components/jquery/src/core/ready.js +0 -97
- data/lib/api_browser/app/bower_components/jquery/src/core/var/rsingleTag.js +0 -4
- data/lib/api_browser/app/bower_components/jquery/src/css.js +0 -451
- data/lib/api_browser/app/bower_components/jquery/src/css/addGetHookIf.js +0 -24
- data/lib/api_browser/app/bower_components/jquery/src/css/curCSS.js +0 -57
- data/lib/api_browser/app/bower_components/jquery/src/css/defaultDisplay.js +0 -70
- data/lib/api_browser/app/bower_components/jquery/src/css/hiddenVisibleSelectors.js +0 -15
- data/lib/api_browser/app/bower_components/jquery/src/css/support.js +0 -91
- data/lib/api_browser/app/bower_components/jquery/src/css/swap.js +0 -28
- data/lib/api_browser/app/bower_components/jquery/src/css/var/cssExpand.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/css/var/getStyles.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/css/var/isHidden.js +0 -13
- data/lib/api_browser/app/bower_components/jquery/src/css/var/rmargin.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/css/var/rnumnonpx.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/data.js +0 -179
- data/lib/api_browser/app/bower_components/jquery/src/data/Data.js +0 -181
- data/lib/api_browser/app/bower_components/jquery/src/data/accepts.js +0 -20
- data/lib/api_browser/app/bower_components/jquery/src/data/var/data_priv.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/data/var/data_user.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/deferred.js +0 -149
- data/lib/api_browser/app/bower_components/jquery/src/deprecated.js +0 -13
- data/lib/api_browser/app/bower_components/jquery/src/dimensions.js +0 -50
- data/lib/api_browser/app/bower_components/jquery/src/effects.js +0 -649
- data/lib/api_browser/app/bower_components/jquery/src/effects/Tween.js +0 -114
- data/lib/api_browser/app/bower_components/jquery/src/effects/animatedSelector.js +0 -13
- data/lib/api_browser/app/bower_components/jquery/src/event.js +0 -868
- data/lib/api_browser/app/bower_components/jquery/src/event/alias.js +0 -39
- data/lib/api_browser/app/bower_components/jquery/src/event/support.js +0 -9
- data/lib/api_browser/app/bower_components/jquery/src/exports/amd.js +0 -24
- data/lib/api_browser/app/bower_components/jquery/src/exports/global.js +0 -32
- data/lib/api_browser/app/bower_components/jquery/src/intro.js +0 -44
- data/lib/api_browser/app/bower_components/jquery/src/jquery.js +0 -36
- data/lib/api_browser/app/bower_components/jquery/src/manipulation.js +0 -582
- data/lib/api_browser/app/bower_components/jquery/src/manipulation/_evalUrl.js +0 -18
- data/lib/api_browser/app/bower_components/jquery/src/manipulation/support.js +0 -31
- data/lib/api_browser/app/bower_components/jquery/src/manipulation/var/rcheckableType.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/offset.js +0 -204
- data/lib/api_browser/app/bower_components/jquery/src/outro.js +0 -1
- data/lib/api_browser/app/bower_components/jquery/src/queue.js +0 -142
- data/lib/api_browser/app/bower_components/jquery/src/queue/delay.js +0 -22
- data/lib/api_browser/app/bower_components/jquery/src/selector-native.js +0 -172
- data/lib/api_browser/app/bower_components/jquery/src/selector-sizzle.js +0 -14
- data/lib/api_browser/app/bower_components/jquery/src/selector.js +0 -1
- data/lib/api_browser/app/bower_components/jquery/src/serialize.js +0 -111
- data/lib/api_browser/app/bower_components/jquery/src/sizzle/dist/sizzle.js +0 -2044
- data/lib/api_browser/app/bower_components/jquery/src/sizzle/dist/sizzle.min.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/sizzle/dist/sizzle.min.map +0 -1
- data/lib/api_browser/app/bower_components/jquery/src/traversing.js +0 -200
- data/lib/api_browser/app/bower_components/jquery/src/traversing/findFilter.js +0 -100
- data/lib/api_browser/app/bower_components/jquery/src/traversing/var/rneedsContext.js +0 -6
- data/lib/api_browser/app/bower_components/jquery/src/var/arr.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/var/class2type.js +0 -4
- data/lib/api_browser/app/bower_components/jquery/src/var/concat.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/var/hasOwn.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/var/indexOf.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/var/pnum.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/var/push.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/var/rnotwhite.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/var/slice.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/var/strundefined.js +0 -3
- data/lib/api_browser/app/bower_components/jquery/src/var/support.js +0 -4
- data/lib/api_browser/app/bower_components/jquery/src/var/toString.js +0 -5
- data/lib/api_browser/app/bower_components/jquery/src/wrap.js +0 -78
- data/lib/api_browser/app/bower_components/lodash/.bower.json +0 -30
- data/lib/api_browser/app/bower_components/lodash/LICENSE.txt +0 -22
- data/lib/api_browser/app/bower_components/lodash/bower.json +0 -20
- data/lib/api_browser/app/bower_components/lodash/lodash.js +0 -12235
- data/lib/api_browser/app/bower_components/lodash/lodash.min.js +0 -98
- data/lib/api_browser/app/bower_components/showdown/.bower.json +0 -39
- data/lib/api_browser/app/bower_components/showdown/.jshintignore +0 -2
- data/lib/api_browser/app/bower_components/showdown/.travis.yml +0 -8
- data/lib/api_browser/app/bower_components/showdown/Gruntfile.js +0 -100
- data/lib/api_browser/app/bower_components/showdown/README.md +0 -317
- data/lib/api_browser/app/bower_components/showdown/bower.json +0 -26
- data/lib/api_browser/app/bower_components/showdown/compressed/Showdown.js +0 -1606
- data/lib/api_browser/app/bower_components/showdown/compressed/Showdown.js.map +0 -1
- data/lib/api_browser/app/bower_components/showdown/compressed/Showdown.min.js +0 -2
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/github.min.js +0 -2
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/github.min.js.map +0 -1
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/prettify.min.js +0 -2
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/prettify.min.js.map +0 -1
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/table.min.js +0 -2
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/table.min.js.map +0 -1
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/twitter.min.js +0 -2
- data/lib/api_browser/app/bower_components/showdown/compressed/extensions/twitter.min.js.map +0 -1
- data/lib/api_browser/app/bower_components/showdown/license.txt +0 -34
- data/lib/api_browser/app/bower_components/showdown/package.json +0 -47
- data/lib/api_browser/app/bower_components/showdown/src/extensions/github.js +0 -25
- data/lib/api_browser/app/bower_components/showdown/src/extensions/prettify.js +0 -29
- data/lib/api_browser/app/bower_components/showdown/src/extensions/table.js +0 -106
- data/lib/api_browser/app/bower_components/showdown/src/extensions/twitter.js +0 -42
- data/lib/api_browser/app/bower_components/showdown/src/ng-showdown.js +0 -150
- data/lib/api_browser/app/bower_components/showdown/src/showdown.js +0 -1454
@@ -1,232 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Carousel
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// Wrapper for the slide container and indicators
|
7
|
-
.carousel {
|
8
|
-
position: relative;
|
9
|
-
}
|
10
|
-
|
11
|
-
.carousel-inner {
|
12
|
-
position: relative;
|
13
|
-
overflow: hidden;
|
14
|
-
width: 100%;
|
15
|
-
|
16
|
-
> .item {
|
17
|
-
display: none;
|
18
|
-
position: relative;
|
19
|
-
@include transition(.6s ease-in-out left);
|
20
|
-
|
21
|
-
// Account for jankitude on images
|
22
|
-
> img,
|
23
|
-
> a > img {
|
24
|
-
@include img-responsive();
|
25
|
-
line-height: 1;
|
26
|
-
}
|
27
|
-
}
|
28
|
-
|
29
|
-
> .active,
|
30
|
-
> .next,
|
31
|
-
> .prev { display: block; }
|
32
|
-
|
33
|
-
> .active {
|
34
|
-
left: 0;
|
35
|
-
}
|
36
|
-
|
37
|
-
> .next,
|
38
|
-
> .prev {
|
39
|
-
position: absolute;
|
40
|
-
top: 0;
|
41
|
-
width: 100%;
|
42
|
-
}
|
43
|
-
|
44
|
-
> .next {
|
45
|
-
left: 100%;
|
46
|
-
}
|
47
|
-
> .prev {
|
48
|
-
left: -100%;
|
49
|
-
}
|
50
|
-
> .next.left,
|
51
|
-
> .prev.right {
|
52
|
-
left: 0;
|
53
|
-
}
|
54
|
-
|
55
|
-
> .active.left {
|
56
|
-
left: -100%;
|
57
|
-
}
|
58
|
-
> .active.right {
|
59
|
-
left: 100%;
|
60
|
-
}
|
61
|
-
|
62
|
-
}
|
63
|
-
|
64
|
-
// Left/right controls for nav
|
65
|
-
// ---------------------------
|
66
|
-
|
67
|
-
.carousel-control {
|
68
|
-
position: absolute;
|
69
|
-
top: 0;
|
70
|
-
left: 0;
|
71
|
-
bottom: 0;
|
72
|
-
width: $carousel-control-width;
|
73
|
-
@include opacity($carousel-control-opacity);
|
74
|
-
font-size: $carousel-control-font-size;
|
75
|
-
color: $carousel-control-color;
|
76
|
-
text-align: center;
|
77
|
-
text-shadow: $carousel-text-shadow;
|
78
|
-
// We can't have this transition here because WebKit cancels the carousel
|
79
|
-
// animation if you trip this while in the middle of another animation.
|
80
|
-
|
81
|
-
// Set gradients for backgrounds
|
82
|
-
&.left {
|
83
|
-
@include gradient-horizontal($start-color: rgba(0,0,0,.5), $end-color: rgba(0,0,0,.0001));
|
84
|
-
}
|
85
|
-
&.right {
|
86
|
-
left: auto;
|
87
|
-
right: 0;
|
88
|
-
@include gradient-horizontal($start-color: rgba(0,0,0,.0001), $end-color: rgba(0,0,0,.5));
|
89
|
-
}
|
90
|
-
|
91
|
-
// Hover/focus state
|
92
|
-
&:hover,
|
93
|
-
&:focus {
|
94
|
-
outline: none;
|
95
|
-
color: $carousel-control-color;
|
96
|
-
text-decoration: none;
|
97
|
-
@include opacity(.9);
|
98
|
-
}
|
99
|
-
|
100
|
-
// Toggles
|
101
|
-
.icon-prev,
|
102
|
-
.icon-next,
|
103
|
-
.glyphicon-chevron-left,
|
104
|
-
.glyphicon-chevron-right {
|
105
|
-
position: absolute;
|
106
|
-
top: 50%;
|
107
|
-
z-index: 5;
|
108
|
-
display: inline-block;
|
109
|
-
}
|
110
|
-
.icon-prev,
|
111
|
-
.glyphicon-chevron-left {
|
112
|
-
left: 50%;
|
113
|
-
}
|
114
|
-
.icon-next,
|
115
|
-
.glyphicon-chevron-right {
|
116
|
-
right: 50%;
|
117
|
-
}
|
118
|
-
.icon-prev,
|
119
|
-
.icon-next {
|
120
|
-
width: 20px;
|
121
|
-
height: 20px;
|
122
|
-
margin-top: -10px;
|
123
|
-
margin-left: -10px;
|
124
|
-
font-family: serif;
|
125
|
-
}
|
126
|
-
|
127
|
-
.icon-prev {
|
128
|
-
&:before {
|
129
|
-
content: '\2039';// SINGLE LEFT-POINTING ANGLE QUOTATION MARK (U+2039)
|
130
|
-
}
|
131
|
-
}
|
132
|
-
.icon-next {
|
133
|
-
&:before {
|
134
|
-
content: '\203a';// SINGLE RIGHT-POINTING ANGLE QUOTATION MARK (U+203A)
|
135
|
-
}
|
136
|
-
}
|
137
|
-
}
|
138
|
-
|
139
|
-
// Optional indicator pips
|
140
|
-
//
|
141
|
-
// Add an unordered list with the following class and add a list item for each
|
142
|
-
// slide your carousel holds.
|
143
|
-
|
144
|
-
.carousel-indicators {
|
145
|
-
position: absolute;
|
146
|
-
bottom: 10px;
|
147
|
-
left: 50%;
|
148
|
-
z-index: 15;
|
149
|
-
width: 60%;
|
150
|
-
margin-left: -30%;
|
151
|
-
padding-left: 0;
|
152
|
-
list-style: none;
|
153
|
-
text-align: center;
|
154
|
-
|
155
|
-
li {
|
156
|
-
display: inline-block;
|
157
|
-
width: 10px;
|
158
|
-
height: 10px;
|
159
|
-
margin: 1px;
|
160
|
-
text-indent: -999px;
|
161
|
-
border: 1px solid $carousel-indicator-border-color;
|
162
|
-
border-radius: 10px;
|
163
|
-
cursor: pointer;
|
164
|
-
|
165
|
-
// IE8-9 hack for event handling
|
166
|
-
//
|
167
|
-
// Internet Explorer 8-9 does not support clicks on elements without a set
|
168
|
-
// `background-color`. We cannot use `filter` since that's not viewed as a
|
169
|
-
// background color by the browser. Thus, a hack is needed.
|
170
|
-
//
|
171
|
-
// For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we
|
172
|
-
// set alpha transparency for the best results possible.
|
173
|
-
background-color: #000 \9; // IE8
|
174
|
-
background-color: rgba(0,0,0,0); // IE9
|
175
|
-
}
|
176
|
-
.active {
|
177
|
-
margin: 0;
|
178
|
-
width: 12px;
|
179
|
-
height: 12px;
|
180
|
-
background-color: $carousel-indicator-active-bg;
|
181
|
-
}
|
182
|
-
}
|
183
|
-
|
184
|
-
// Optional captions
|
185
|
-
// -----------------------------
|
186
|
-
// Hidden by default for smaller viewports
|
187
|
-
.carousel-caption {
|
188
|
-
position: absolute;
|
189
|
-
left: 15%;
|
190
|
-
right: 15%;
|
191
|
-
bottom: 20px;
|
192
|
-
z-index: 10;
|
193
|
-
padding-top: 20px;
|
194
|
-
padding-bottom: 20px;
|
195
|
-
color: $carousel-caption-color;
|
196
|
-
text-align: center;
|
197
|
-
text-shadow: $carousel-text-shadow;
|
198
|
-
& .btn {
|
199
|
-
text-shadow: none; // No shadow for button elements in carousel-caption
|
200
|
-
}
|
201
|
-
}
|
202
|
-
|
203
|
-
|
204
|
-
// Scale up controls for tablets and up
|
205
|
-
@media screen and (min-width: $screen-sm-min) {
|
206
|
-
|
207
|
-
// Scale up the controls a smidge
|
208
|
-
.carousel-control {
|
209
|
-
.glyphicons-chevron-left,
|
210
|
-
.glyphicons-chevron-right,
|
211
|
-
.icon-prev,
|
212
|
-
.icon-next {
|
213
|
-
width: 30px;
|
214
|
-
height: 30px;
|
215
|
-
margin-top: -15px;
|
216
|
-
margin-left: -15px;
|
217
|
-
font-size: 30px;
|
218
|
-
}
|
219
|
-
}
|
220
|
-
|
221
|
-
// Show and left align the captions
|
222
|
-
.carousel-caption {
|
223
|
-
left: 20%;
|
224
|
-
right: 20%;
|
225
|
-
padding-bottom: 30px;
|
226
|
-
}
|
227
|
-
|
228
|
-
// Move up the indicators
|
229
|
-
.carousel-indicators {
|
230
|
-
bottom: 20px;
|
231
|
-
}
|
232
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Close icons
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
.close {
|
7
|
-
float: right;
|
8
|
-
font-size: ($font-size-base * 1.5);
|
9
|
-
font-weight: $close-font-weight;
|
10
|
-
line-height: 1;
|
11
|
-
color: $close-color;
|
12
|
-
text-shadow: $close-text-shadow;
|
13
|
-
@include opacity(.2);
|
14
|
-
|
15
|
-
&:hover,
|
16
|
-
&:focus {
|
17
|
-
color: $close-color;
|
18
|
-
text-decoration: none;
|
19
|
-
cursor: pointer;
|
20
|
-
@include opacity(.5);
|
21
|
-
}
|
22
|
-
|
23
|
-
// [converter] extracted button& to button.close
|
24
|
-
}
|
25
|
-
|
26
|
-
// Additional properties for button version
|
27
|
-
// iOS requires the button element instead of an anchor tag.
|
28
|
-
// If you want the anchor version, it requires `href="#"`.
|
29
|
-
button.close {
|
30
|
-
padding: 0;
|
31
|
-
cursor: pointer;
|
32
|
-
background: transparent;
|
33
|
-
border: 0;
|
34
|
-
-webkit-appearance: none;
|
35
|
-
}
|
@@ -1,53 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Code (inline and block)
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// Inline and block code styles
|
7
|
-
code,
|
8
|
-
kbd,
|
9
|
-
pre,
|
10
|
-
samp {
|
11
|
-
font-family: $font-family-monospace;
|
12
|
-
}
|
13
|
-
|
14
|
-
// Inline code
|
15
|
-
code {
|
16
|
-
padding: 2px 4px;
|
17
|
-
font-size: 90%;
|
18
|
-
color: $code-color;
|
19
|
-
background-color: $code-bg;
|
20
|
-
white-space: nowrap;
|
21
|
-
border-radius: $border-radius-base;
|
22
|
-
}
|
23
|
-
|
24
|
-
// Blocks of code
|
25
|
-
pre {
|
26
|
-
display: block;
|
27
|
-
padding: (($line-height-computed - 1) / 2);
|
28
|
-
margin: 0 0 ($line-height-computed / 2);
|
29
|
-
font-size: ($font-size-base - 1); // 14px to 13px
|
30
|
-
line-height: $line-height-base;
|
31
|
-
word-break: break-all;
|
32
|
-
word-wrap: break-word;
|
33
|
-
color: $pre-color;
|
34
|
-
background-color: $pre-bg;
|
35
|
-
border: 1px solid $pre-border-color;
|
36
|
-
border-radius: $border-radius-base;
|
37
|
-
|
38
|
-
// Account for some code outputs that place code tags in pre tags
|
39
|
-
code {
|
40
|
-
padding: 0;
|
41
|
-
font-size: inherit;
|
42
|
-
color: inherit;
|
43
|
-
white-space: pre-wrap;
|
44
|
-
background-color: transparent;
|
45
|
-
border-radius: 0;
|
46
|
-
}
|
47
|
-
}
|
48
|
-
|
49
|
-
// Enable scrollable blocks of code
|
50
|
-
.pre-scrollable {
|
51
|
-
max-height: $pre-scrollable-max-height;
|
52
|
-
overflow-y: scroll;
|
53
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Component animations
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
// Heads up!
|
6
|
-
//
|
7
|
-
// We don't use the `.opacity()` mixin here since it causes a bug with text
|
8
|
-
// fields in IE7-8. Source: https://github.com/twitter/bootstrap/pull/3552.
|
9
|
-
|
10
|
-
.fade {
|
11
|
-
opacity: 0;
|
12
|
-
@include transition(opacity .15s linear);
|
13
|
-
&.in {
|
14
|
-
opacity: 1;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
.collapse {
|
19
|
-
display: none;
|
20
|
-
&.in {
|
21
|
-
display: block;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
.collapsing {
|
25
|
-
position: relative;
|
26
|
-
height: 0;
|
27
|
-
overflow: hidden;
|
28
|
-
@include transition(height .35s ease);
|
29
|
-
}
|
@@ -1,188 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Dropdown menus
|
3
|
-
// --------------------------------------------------
|
4
|
-
|
5
|
-
|
6
|
-
// Dropdown arrow/caret
|
7
|
-
.caret {
|
8
|
-
display: inline-block;
|
9
|
-
width: 0;
|
10
|
-
height: 0;
|
11
|
-
margin-left: 2px;
|
12
|
-
vertical-align: middle;
|
13
|
-
border-top: $caret-width-base solid;
|
14
|
-
border-right: $caret-width-base solid transparent;
|
15
|
-
border-left: $caret-width-base solid transparent;
|
16
|
-
}
|
17
|
-
|
18
|
-
// The dropdown wrapper (div)
|
19
|
-
.dropdown {
|
20
|
-
position: relative;
|
21
|
-
}
|
22
|
-
|
23
|
-
// Prevent the focus on the dropdown toggle when closing dropdowns
|
24
|
-
.dropdown-toggle:focus {
|
25
|
-
outline: 0;
|
26
|
-
}
|
27
|
-
|
28
|
-
// The dropdown menu (ul)
|
29
|
-
.dropdown-menu {
|
30
|
-
position: absolute;
|
31
|
-
top: 100%;
|
32
|
-
left: 0;
|
33
|
-
z-index: $zindex-dropdown;
|
34
|
-
display: none; // none by default, but block on "open" of the menu
|
35
|
-
float: left;
|
36
|
-
min-width: 160px;
|
37
|
-
padding: 5px 0;
|
38
|
-
margin: 2px 0 0; // override default ul
|
39
|
-
list-style: none;
|
40
|
-
font-size: $font-size-base;
|
41
|
-
background-color: $dropdown-bg;
|
42
|
-
border: 1px solid $dropdown-fallback-border; // IE8 fallback
|
43
|
-
border: 1px solid $dropdown-border;
|
44
|
-
border-radius: $border-radius-base;
|
45
|
-
@include box-shadow(0 6px 12px rgba(0,0,0,.175));
|
46
|
-
background-clip: padding-box;
|
47
|
-
|
48
|
-
// Aligns the dropdown menu to right
|
49
|
-
&.pull-right {
|
50
|
-
right: 0;
|
51
|
-
left: auto;
|
52
|
-
}
|
53
|
-
|
54
|
-
// Dividers (basically an hr) within the dropdown
|
55
|
-
.divider {
|
56
|
-
@include nav-divider($dropdown-divider-bg);
|
57
|
-
}
|
58
|
-
|
59
|
-
// Links within the dropdown menu
|
60
|
-
> li > a {
|
61
|
-
display: block;
|
62
|
-
padding: 3px 20px;
|
63
|
-
clear: both;
|
64
|
-
font-weight: normal;
|
65
|
-
line-height: $line-height-base;
|
66
|
-
color: $dropdown-link-color;
|
67
|
-
white-space: nowrap; // prevent links from randomly breaking onto new lines
|
68
|
-
}
|
69
|
-
}
|
70
|
-
|
71
|
-
// Hover/Focus state
|
72
|
-
.dropdown-menu > li > a {
|
73
|
-
&:hover,
|
74
|
-
&:focus {
|
75
|
-
text-decoration: none;
|
76
|
-
color: $dropdown-link-hover-color;
|
77
|
-
background-color: $dropdown-link-hover-bg;
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
// Active state
|
82
|
-
.dropdown-menu > .active > a {
|
83
|
-
&,
|
84
|
-
&:hover,
|
85
|
-
&:focus {
|
86
|
-
color: $dropdown-link-active-color;
|
87
|
-
text-decoration: none;
|
88
|
-
outline: 0;
|
89
|
-
background-color: $dropdown-link-active-bg;
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
|
-
// Disabled state
|
94
|
-
//
|
95
|
-
// Gray out text and ensure the hover/focus state remains gray
|
96
|
-
|
97
|
-
.dropdown-menu > .disabled > a {
|
98
|
-
&,
|
99
|
-
&:hover,
|
100
|
-
&:focus {
|
101
|
-
color: $dropdown-link-disabled-color;
|
102
|
-
}
|
103
|
-
}
|
104
|
-
// Nuke hover/focus effects
|
105
|
-
.dropdown-menu > .disabled > a {
|
106
|
-
&:hover,
|
107
|
-
&:focus {
|
108
|
-
text-decoration: none;
|
109
|
-
background-color: transparent;
|
110
|
-
background-image: none; // Remove CSS gradient
|
111
|
-
@include reset-filter();
|
112
|
-
cursor: not-allowed;
|
113
|
-
}
|
114
|
-
}
|
115
|
-
|
116
|
-
// Open state for the dropdown
|
117
|
-
.open {
|
118
|
-
// Show the menu
|
119
|
-
> .dropdown-menu {
|
120
|
-
display: block;
|
121
|
-
}
|
122
|
-
|
123
|
-
// Remove the outline when :focus is triggered
|
124
|
-
> a {
|
125
|
-
outline: 0;
|
126
|
-
}
|
127
|
-
}
|
128
|
-
|
129
|
-
// Dropdown section headers
|
130
|
-
.dropdown-header {
|
131
|
-
display: block;
|
132
|
-
padding: 3px 20px;
|
133
|
-
font-size: $font-size-small;
|
134
|
-
line-height: $line-height-base;
|
135
|
-
color: $dropdown-header-color;
|
136
|
-
}
|
137
|
-
|
138
|
-
// Backdrop to catch body clicks on mobile, etc.
|
139
|
-
.dropdown-backdrop {
|
140
|
-
position: fixed;
|
141
|
-
left: 0;
|
142
|
-
right: 0;
|
143
|
-
bottom: 0;
|
144
|
-
top: 0;
|
145
|
-
z-index: $zindex-dropdown - 10;
|
146
|
-
}
|
147
|
-
|
148
|
-
// Right aligned dropdowns
|
149
|
-
.pull-right > .dropdown-menu {
|
150
|
-
right: 0;
|
151
|
-
left: auto;
|
152
|
-
}
|
153
|
-
|
154
|
-
// Allow for dropdowns to go bottom up (aka, dropup-menu)
|
155
|
-
//
|
156
|
-
// Just add .dropup after the standard .dropdown class and you're set, bro.
|
157
|
-
// TODO: abstract this so that the navbar fixed styles are not placed here?
|
158
|
-
|
159
|
-
.dropup,
|
160
|
-
.navbar-fixed-bottom .dropdown {
|
161
|
-
// Reverse the caret
|
162
|
-
.caret {
|
163
|
-
border-top: 0;
|
164
|
-
border-bottom: $caret-width-base solid;
|
165
|
-
content: "";
|
166
|
-
}
|
167
|
-
// Different positioning for bottom up menu
|
168
|
-
.dropdown-menu {
|
169
|
-
top: auto;
|
170
|
-
bottom: 100%;
|
171
|
-
margin-bottom: 1px;
|
172
|
-
}
|
173
|
-
}
|
174
|
-
|
175
|
-
|
176
|
-
// Component alignment
|
177
|
-
//
|
178
|
-
// Reiterate per navbar.less and the modified component alignment there.
|
179
|
-
|
180
|
-
@media (min-width: $grid-float-breakpoint) {
|
181
|
-
.navbar-right {
|
182
|
-
.dropdown-menu {
|
183
|
-
right: 0;
|
184
|
-
left: auto;
|
185
|
-
}
|
186
|
-
}
|
187
|
-
}
|
188
|
-
|