bootstrap-component-helper 0.2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +22 -0
- data/README.md +39 -0
- data/Rakefile +14 -0
- data/app/helpers/bootstrap/base_helper.rb +60 -0
- data/app/helpers/bootstrap/component_helper.rb +570 -0
- data/app/helpers/bootstrap/image_helper.rb +38 -0
- data/app/helpers/bootstrap/tab_helper.rb +107 -0
- data/app/helpers/bootstrap/table_helper.rb +203 -0
- data/app/helpers/bootstrap/typography_helper.rb +109 -0
- data/lib/bootstrap-component-helper.rb +10 -0
- data/lib/bootstrap/component_helper/engine.rb +11 -0
- data/lib/bootstrap/component_helper/version.rb +5 -0
- data/lib/generators/bootstrap/component_helper/install/install_generator.rb +40 -0
- data/lib/generators/bootstrap/component_helper/install/templates/index.css.scss +7 -0
- data/lib/generators/bootstrap/component_helper/install/templates/index.js +3 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/images/favicon.ico +0 -0
- data/test/dummy/app/assets/javascripts/application.js +17 -0
- data/test/dummy/app/assets/javascripts/bootstrap_component_helper/index.js +3 -0
- data/test/dummy/app/assets/javascripts/holder.js +658 -0
- data/test/dummy/app/assets/javascripts/prettify.js +376 -0
- data/test/dummy/app/assets/stylesheets/application.css +156 -0
- data/test/dummy/app/assets/stylesheets/bootstrap_component_helper/index.css.scss +7 -0
- data/test/dummy/app/assets/stylesheets/prettify.css +55 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/home_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/order.rb +2 -0
- data/test/dummy/app/views/home/_flash.html.erb +43 -0
- data/test/dummy/app/views/home/_image.html.erb +64 -0
- data/test/dummy/app/views/home/_list.html.erb +106 -0
- data/test/dummy/app/views/home/_modal.html.erb +230 -0
- data/test/dummy/app/views/home/_navbar.html.erb +34 -0
- data/test/dummy/app/views/home/_progressbar.html.erb +47 -0
- data/test/dummy/app/views/home/_tab.html.erb +118 -0
- data/test/dummy/app/views/home/_table.html.erb +212 -0
- data/test/dummy/app/views/home/_thumbnails.html.erb +84 -0
- data/test/dummy/app/views/home/_typographic.html.erb +52 -0
- data/test/dummy/app/views/home/index.html.erb +108 -0
- data/test/dummy/app/views/layouts/application.html.erb +66 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +17 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +27 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +28 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.bootstrap.yml +18 -0
- data/test/dummy/config/locales/en.yml +14 -0
- data/test/dummy/config/routes.rb +7 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20131006012048_create_orders.rb +12 -0
- data/test/dummy/db/schema.rb +25 -0
- data/test/dummy/db/seeds.rb +3 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +18302 -0
- data/test/dummy/log/test.log +1145 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/0bcc8f0683a417e2802dca2e2526013808c5c34c/application.css.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/0bcc8f0683a417e2802dca2e2526013808c5c34c/components.css.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_accordion.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_alerts.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_breadcrumbs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_button-groups.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_carousel.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_close.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_code.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_component-animations.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_dropdowns.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_grid.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_hero-unit.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_labels-badges.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_layouts.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_media.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_mixins.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_modals.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_navbar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_navs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_pager.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_pagination.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_popovers.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_progress-bars.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_reset.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_responsive-1200px-min.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_responsive-767px-max.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_responsive-768px-979px.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_responsive-navbar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_responsive-utilities.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_scaffolding.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_sprites.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_tables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_thumbnails.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_tooltip.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_type.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_utilities.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_variables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/_wells.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/bootstrap.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/7eab2e6517a6682722eebb4a5df7152eb329b310/responsive.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/84409d58037c135b28739dd3324e312869e235c7/index.css.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c4d7e8313a08850ac1c2652d326bf93cea20578b/bootstrap-responsive.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/c4d7e8313a08850ac1c2652d326bf93cea20578b/bootstrap.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/03dd2dfd114c5240ab978a5bce1565fd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/07ce016699b0337b14f97412576ddf9b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1482cdaf91da4a3e74c2fee962e57266 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/14a3b97c693d6129681bb6c9e63e79b4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/16033f0fe45a392c87dc5f38f59e29e2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/17fd81b14984c81c41a5c231cd905bcc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/186b967c502a9346f6b379dfb06fe14f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1dc9e3618cee425126b555221e90226f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/262f97b1f0dd574bfff7cc8ecbb9f72e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/264e074302048cb000f909f2919a0c9a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/29c2f0fd8e3c5f4dcd1332efa4a0371d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2a61f06ae5cf5f6f1d43645b9b219453 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2e18e960f308cca4a1fdb77359d01a6c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2eee36c2ad21295c7e21e18c150d874b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/302cf2e7263ec807edde7ea7f3b65c03 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3c8c07d37685b45615255078c41e3ce0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3d2aeae465a641db34a3cea9ba300375 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3e27ccb3d43c940c257f6271a634069e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3ed026ca41b91b839c4dee2c2cc51849 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/41dc3aa765e6d4c4a686f88efbd6c68e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/41f5ea237dc91ead6f4231e2147f5404 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/46fc0f6e8d72a05f2eea42eaed662e5d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/470718a7ca39bcb2f1dc6053ffc682c0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4a3201209795b8621efba2e0ce121a6a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4ed14f9f7b1d5af357ddef644208340e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/516cdb0fc494c1a008f5630ee3f83ed9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/52e41d2cb37819e3cbe438707c4693c0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/536039d2b9042f61449290e282854f4d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/54857feec0db8fabd9e5bc2c6870cf5f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/54cc1257b927751b13f0369969e17440 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/61ad5207a209b9787578645a6950698a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/630cd0d8a55d825eaba0a90cda91122f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/698c4f478493aa93e94a2c32cdd5f1cc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/69e06cba85ef043450b628947462887c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6d1b20df06d073df2627c4df640473c2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6fca826ec75b904f60239bb708e38805 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/700827acd727b6fc8361f454c68a5cd7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/754683dc7fa0bebc9ff776512a463c80 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/76bde91ae4ac1605f8b2abe1dd436efa +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/779fd39741d5f4364f4453e6d9db3a8c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7a7d275aba66d0cd4498b2a7d2cc1d33 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7b28ddacb7b45a6b7022eb766e2f9c62 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7ee5964945e32a33395fd4a8b52901f8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/805a755d6887dd3f251ee8d671113a55 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/833fa0f8ca6eda2934d5875796ac0ddb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/85f13ec6dfd4e1c1d6d4faf5579367e4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8816657a272738b50d9f339f83602b2b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8ab512c9b33ac90e699b73469d71f061 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8bd5ee2e9abbe312a72a1cec2ea714a7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8d55d8baa9ba44e3a712be2608138977 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8d675d1f43c56b8b3fb27598f691101f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8f2292d2f2a219537aa2eff8577b38f5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8fd90c230c6244605a4c7b4bbcf41a21 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9689835f50540dff6e5d5107069dc71d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9c9f438defd3bed7797b13c64eea90c0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a19b51f4929c5dcbda2aa927080241c1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a202a5609c41454fcc67a0317b10da90 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a5b779be5a68643653ca723bce23c62c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a899e19256a0845205636938010c6fe5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ac722b83b79d24471fa10acb05d4f095 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ae0e5ab1590ad2f8651e7f29ab089d0f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b56d14052881f9f2fd665749410513dc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b6ff3a15ed2b320aa100de615d6acaa0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ba7837a3356c8c0f9d2d4dddd2db4ee2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bad2a2d10a1446e9b1eebb24bb7976ad +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bcca522c6302f184f12fe0e8a7d7e71a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c13fc73ceafa45876a901b3e775b83ae +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c72afec6ec61c0d8e5e664998b2d6dd5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d1ca5d34c1109f4451c3f675fd522bed +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d1e7f297ee2aaac3167da0b6b6575b49 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d66f7358aa43217d389251a399669d37 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d8d6bcff066ae30f590880ff044badf2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d90eaeee0ba225714c425461bbfa529d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d9d7f35a4e51c382aed08175c1dd6292 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/db5ddc82768b144533c161a80bdeee2d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/dbb0a1624b85d0f9d4eaec08c03b8797 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/dc4f2c66b13e09c13320f6f21bb7ec6a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/dc664a988f31db3737b14c54d193732b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/dd7a16eba4646a5a23bb7e5f906abbd3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e030a7845a28abd00581260c4e8afdcd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e256294192259b5603b8dc971d9d6a11 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e66f24418617ac4a7ee71d67f7545ce3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e69c8095136c028e535371ef3123cbd1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ec8a4c9e797155e9996a35bb7f7d7673 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f88b0e4100827602fa8c4f78b5e7dab3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f8d0320de120c037ea5d3943c8b76d0c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/fde3d3c8658f07dd5aef16cc104c05c9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ff8ea5d6d7296abe74b47835195461a1 +0 -0
- data/test/test_helper.rb +15 -0
- data/test/unit/helpers/bootstrap_component_helper_test.rb +92 -0
- data/test/unit/helpers/bootstrap_image_helper_test.rb +37 -0
- data/test/unit/helpers/bootstrap_tab_helper_test.rb +28 -0
- data/test/unit/helpers/bootstrap_typography_helper_test.rb +16 -0
- metadata +549 -0
@@ -0,0 +1,376 @@
|
|
1
|
+
var q = null;
|
2
|
+
window.PR_SHOULD_USE_CONTINUATION = !0;
|
3
|
+
(function () {
|
4
|
+
function L(a) {
|
5
|
+
function m(a) {
|
6
|
+
var f = a.charCodeAt(0);
|
7
|
+
if (f !== 92)return f;
|
8
|
+
var b = a.charAt(1);
|
9
|
+
return(f = r[b]) ? f : "0" <= b && b <= "7" ? parseInt(a.substring(1), 8) : b === "u" || b === "x" ? parseInt(a.substring(2), 16) : a.charCodeAt(1)
|
10
|
+
}
|
11
|
+
|
12
|
+
function e(a) {
|
13
|
+
if (a < 32)return(a < 16 ? "\\x0" : "\\x") + a.toString(16);
|
14
|
+
a = String.fromCharCode(a);
|
15
|
+
if (a === "\\" || a === "-" || a === "[" || a === "]")a = "\\" + a;
|
16
|
+
return a
|
17
|
+
}
|
18
|
+
|
19
|
+
function h(a) {
|
20
|
+
for (var f = a.substring(1, a.length - 1).match(/\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\[0-3][0-7]{0,2}|\\[0-7]{1,2}|\\[\S\s]|[^\\]/g), a =
|
21
|
+
[], b = [], o = f[0] === "^", c = o ? 1 : 0, i = f.length; c < i; ++c) {
|
22
|
+
var j = f[c];
|
23
|
+
if (/\\[bdsw]/i.test(j))a.push(j); else {
|
24
|
+
var j = m(j), d;
|
25
|
+
c + 2 < i && "-" === f[c + 1] ? (d = m(f[c + 2]), c += 2) : d = j;
|
26
|
+
b.push([j, d]);
|
27
|
+
d < 65 || j > 122 || (d < 65 || j > 90 || b.push([Math.max(65, j) | 32, Math.min(d, 90) | 32]), d < 97 || j > 122 || b.push([Math.max(97, j) & -33, Math.min(d, 122) & -33]))
|
28
|
+
}
|
29
|
+
}
|
30
|
+
b.sort(function (a, f) {
|
31
|
+
return a[0] - f[0] || f[1] - a[1]
|
32
|
+
});
|
33
|
+
f = [];
|
34
|
+
j = [NaN, NaN];
|
35
|
+
for (c = 0; c < b.length; ++c)i = b[c], i[0] <= j[1] + 1 ? j[1] = Math.max(j[1], i[1]) : f.push(j = i);
|
36
|
+
b = ["["];
|
37
|
+
o && b.push("^");
|
38
|
+
b.push.apply(b, a);
|
39
|
+
for (c = 0; c <
|
40
|
+
f.length; ++c)i = f[c], b.push(e(i[0])), i[1] > i[0] && (i[1] + 1 > i[0] && b.push("-"), b.push(e(i[1])));
|
41
|
+
b.push("]");
|
42
|
+
return b.join("")
|
43
|
+
}
|
44
|
+
|
45
|
+
function y(a) {
|
46
|
+
for (var f = a.source.match(/\[(?:[^\\\]]|\\[\S\s])*]|\\u[\dA-Fa-f]{4}|\\x[\dA-Fa-f]{2}|\\\d+|\\[^\dux]|\(\?[!:=]|[()^]|[^()[\\^]+/g), b = f.length, d = [], c = 0, i = 0; c < b; ++c) {
|
47
|
+
var j = f[c];
|
48
|
+
j === "(" ? ++i : "\\" === j.charAt(0) && (j = +j.substring(1)) && j <= i && (d[j] = -1)
|
49
|
+
}
|
50
|
+
for (c = 1; c < d.length; ++c)-1 === d[c] && (d[c] = ++t);
|
51
|
+
for (i = c = 0; c < b; ++c)j = f[c], j === "(" ? (++i, d[i] === void 0 && (f[c] = "(?:")) : "\\" === j.charAt(0) &&
|
52
|
+
(j = +j.substring(1)) && j <= i && (f[c] = "\\" + d[i]);
|
53
|
+
for (i = c = 0; c < b; ++c)"^" === f[c] && "^" !== f[c + 1] && (f[c] = "");
|
54
|
+
if (a.ignoreCase && s)for (c = 0; c < b; ++c)j = f[c], a = j.charAt(0), j.length >= 2 && a === "[" ? f[c] = h(j) : a !== "\\" && (f[c] = j.replace(/[A-Za-z]/g, function (a) {
|
55
|
+
a = a.charCodeAt(0);
|
56
|
+
return"[" + String.fromCharCode(a & -33, a | 32) + "]"
|
57
|
+
}));
|
58
|
+
return f.join("")
|
59
|
+
}
|
60
|
+
|
61
|
+
for (var t = 0, s = !1, l = !1, p = 0, d = a.length; p < d; ++p) {
|
62
|
+
var g = a[p];
|
63
|
+
if (g.ignoreCase)l = !0; else if (/[a-z]/i.test(g.source.replace(/\\u[\da-f]{4}|\\x[\da-f]{2}|\\[^UXux]/gi, ""))) {
|
64
|
+
s = !0;
|
65
|
+
l = !1;
|
66
|
+
break
|
67
|
+
}
|
68
|
+
}
|
69
|
+
for (var r =
|
70
|
+
{b: 8, t: 9, n: 10, v: 11, f: 12, r: 13}, n = [], p = 0, d = a.length; p < d; ++p) {
|
71
|
+
g = a[p];
|
72
|
+
if (g.global || g.multiline)throw Error("" + g);
|
73
|
+
n.push("(?:" + y(g) + ")")
|
74
|
+
}
|
75
|
+
return RegExp(n.join("|"), l ? "gi" : "g")
|
76
|
+
}
|
77
|
+
|
78
|
+
function M(a) {
|
79
|
+
function m(a) {
|
80
|
+
switch (a.nodeType) {
|
81
|
+
case 1:
|
82
|
+
if (e.test(a.className))break;
|
83
|
+
for (var g = a.firstChild; g; g = g.nextSibling)m(g);
|
84
|
+
g = a.nodeName;
|
85
|
+
if ("BR" === g || "LI" === g)h[s] = "\n", t[s << 1] = y++, t[s++ << 1 | 1] = a;
|
86
|
+
break;
|
87
|
+
case 3:
|
88
|
+
case 4:
|
89
|
+
g = a.nodeValue, g.length && (g = p ? g.replace(/\r\n?/g, "\n") : g.replace(/[\t\n\r ]+/g, " "), h[s] = g, t[s << 1] = y, y += g.length,
|
90
|
+
t[s++ << 1 | 1] = a)
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
var e = /(?:^|\s)nocode(?:\s|$)/, h = [], y = 0, t = [], s = 0, l;
|
95
|
+
a.currentStyle ? l = a.currentStyle.whiteSpace : window.getComputedStyle && (l = document.defaultView.getComputedStyle(a, q).getPropertyValue("white-space"));
|
96
|
+
var p = l && "pre" === l.substring(0, 3);
|
97
|
+
m(a);
|
98
|
+
return{a: h.join("").replace(/\n$/, ""), c: t}
|
99
|
+
}
|
100
|
+
|
101
|
+
function B(a, m, e, h) {
|
102
|
+
m && (a = {a: m, d: a}, e(a), h.push.apply(h, a.e))
|
103
|
+
}
|
104
|
+
|
105
|
+
function x(a, m) {
|
106
|
+
function e(a) {
|
107
|
+
for (var l = a.d, p = [l, "pln"], d = 0, g = a.a.match(y) || [], r = {}, n = 0, z = g.length; n < z; ++n) {
|
108
|
+
var f = g[n], b = r[f], o = void 0, c;
|
109
|
+
if (typeof b ===
|
110
|
+
"string")c = !1; else {
|
111
|
+
var i = h[f.charAt(0)];
|
112
|
+
if (i)o = f.match(i[1]), b = i[0]; else {
|
113
|
+
for (c = 0; c < t; ++c)if (i = m[c], o = f.match(i[1])) {
|
114
|
+
b = i[0];
|
115
|
+
break
|
116
|
+
}
|
117
|
+
o || (b = "pln")
|
118
|
+
}
|
119
|
+
if ((c = b.length >= 5 && "lang-" === b.substring(0, 5)) && !(o && typeof o[1] === "string"))c = !1, b = "src";
|
120
|
+
c || (r[f] = b)
|
121
|
+
}
|
122
|
+
i = d;
|
123
|
+
d += f.length;
|
124
|
+
if (c) {
|
125
|
+
c = o[1];
|
126
|
+
var j = f.indexOf(c), k = j + c.length;
|
127
|
+
o[2] && (k = f.length - o[2].length, j = k - c.length);
|
128
|
+
b = b.substring(5);
|
129
|
+
B(l + i, f.substring(0, j), e, p);
|
130
|
+
B(l + i + j, c, C(b, c), p);
|
131
|
+
B(l + i + k, f.substring(k), e, p)
|
132
|
+
} else p.push(l + i, b)
|
133
|
+
}
|
134
|
+
a.e = p
|
135
|
+
}
|
136
|
+
|
137
|
+
var h = {}, y;
|
138
|
+
(function () {
|
139
|
+
for (var e = a.concat(m),
|
140
|
+
l = [], p = {}, d = 0, g = e.length; d < g; ++d) {
|
141
|
+
var r = e[d], n = r[3];
|
142
|
+
if (n)for (var k = n.length; --k >= 0;)h[n.charAt(k)] = r;
|
143
|
+
r = r[1];
|
144
|
+
n = "" + r;
|
145
|
+
p.hasOwnProperty(n) || (l.push(r), p[n] = q)
|
146
|
+
}
|
147
|
+
l.push(/[\S\s]/);
|
148
|
+
y = L(l)
|
149
|
+
})();
|
150
|
+
var t = m.length;
|
151
|
+
return e
|
152
|
+
}
|
153
|
+
|
154
|
+
function u(a) {
|
155
|
+
var m = [], e = [];
|
156
|
+
a.tripleQuotedStrings ? m.push(["str", /^(?:'''(?:[^'\\]|\\[\S\s]|''?(?=[^']))*(?:'''|$)|"""(?:[^"\\]|\\[\S\s]|""?(?=[^"]))*(?:"""|$)|'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$))/, q, "'\""]) : a.multiLineStrings ? m.push(["str", /^(?:'(?:[^'\\]|\\[\S\s])*(?:'|$)|"(?:[^"\\]|\\[\S\s])*(?:"|$)|`(?:[^\\`]|\\[\S\s])*(?:`|$))/,
|
157
|
+
q, "'\"`"]) : m.push(["str", /^(?:'(?:[^\n\r'\\]|\\.)*(?:'|$)|"(?:[^\n\r"\\]|\\.)*(?:"|$))/, q, "\"'"]);
|
158
|
+
a.verbatimStrings && e.push(["str", /^@"(?:[^"]|"")*(?:"|$)/, q]);
|
159
|
+
var h = a.hashComments;
|
160
|
+
h && (a.cStyleComments ? (h > 1 ? m.push(["com", /^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/, q, "#"]) : m.push(["com", /^#(?:(?:define|elif|else|endif|error|ifdef|include|ifndef|line|pragma|undef|warning)\b|[^\n\r]*)/, q, "#"]), e.push(["str", /^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h|[a-z]\w*)>/, q])) : m.push(["com", /^#[^\n\r]*/,
|
161
|
+
q, "#"]));
|
162
|
+
a.cStyleComments && (e.push(["com", /^\/\/[^\n\r]*/, q]), e.push(["com", /^\/\*[\S\s]*?(?:\*\/|$)/, q]));
|
163
|
+
a.regexLiterals && e.push(["lang-regex", /^(?:^^\.?|[!+-]|!=|!==|#|%|%=|&|&&|&&=|&=|\(|\*|\*=|\+=|,|-=|->|\/|\/=|:|::|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|[?@[^]|\^=|\^\^|\^\^=|{|\||\|=|\|\||\|\|=|~|break|case|continue|delete|do|else|finally|instanceof|return|throw|try|typeof)\s*(\/(?=[^*/])(?:[^/[\\]|\\[\S\s]|\[(?:[^\\\]]|\\[\S\s])*(?:]|$))+\/)/]);
|
164
|
+
(h = a.types) && e.push(["typ", h]);
|
165
|
+
a = ("" + a.keywords).replace(/^ | $/g,
|
166
|
+
"");
|
167
|
+
a.length && e.push(["kwd", RegExp("^(?:" + a.replace(/[\s,]+/g, "|") + ")\\b"), q]);
|
168
|
+
m.push(["pln", /^\s+/, q, " \r\n\t\xa0"]);
|
169
|
+
e.push(["lit", /^@[$_a-z][\w$@]*/i, q], ["typ", /^(?:[@_]?[A-Z]+[a-z][\w$@]*|\w+_t\b)/, q], ["pln", /^[$_a-z][\w$@]*/i, q], ["lit", /^(?:0x[\da-f]+|(?:\d(?:_\d+)*\d*(?:\.\d*)?|\.\d\+)(?:e[+-]?\d+)?)[a-z]*/i, q, "0123456789"], ["pln", /^\\[\S\s]?/, q], ["pun", /^.[^\s\w"-$'./@\\`]*/, q]);
|
170
|
+
return x(m, e)
|
171
|
+
}
|
172
|
+
|
173
|
+
function D(a, m) {
|
174
|
+
function e(a) {
|
175
|
+
switch (a.nodeType) {
|
176
|
+
case 1:
|
177
|
+
if (k.test(a.className))break;
|
178
|
+
if ("BR" === a.nodeName)h(a),
|
179
|
+
a.parentNode && a.parentNode.removeChild(a); else for (a = a.firstChild; a; a = a.nextSibling)e(a);
|
180
|
+
break;
|
181
|
+
case 3:
|
182
|
+
case 4:
|
183
|
+
if (p) {
|
184
|
+
var b = a.nodeValue, d = b.match(t);
|
185
|
+
if (d) {
|
186
|
+
var c = b.substring(0, d.index);
|
187
|
+
a.nodeValue = c;
|
188
|
+
(b = b.substring(d.index + d[0].length)) && a.parentNode.insertBefore(s.createTextNode(b), a.nextSibling);
|
189
|
+
h(a);
|
190
|
+
c || a.parentNode.removeChild(a)
|
191
|
+
}
|
192
|
+
}
|
193
|
+
}
|
194
|
+
}
|
195
|
+
|
196
|
+
function h(a) {
|
197
|
+
function b(a, d) {
|
198
|
+
var e = d ? a.cloneNode(!1) : a, f = a.parentNode;
|
199
|
+
if (f) {
|
200
|
+
var f = b(f, 1), g = a.nextSibling;
|
201
|
+
f.appendChild(e);
|
202
|
+
for (var h = g; h; h = g)g = h.nextSibling, f.appendChild(h)
|
203
|
+
}
|
204
|
+
return e
|
205
|
+
}
|
206
|
+
|
207
|
+
for (; !a.nextSibling;)if (a = a.parentNode, !a)return;
|
208
|
+
for (var a = b(a.nextSibling, 0), e; (e = a.parentNode) && e.nodeType === 1;)a = e;
|
209
|
+
d.push(a)
|
210
|
+
}
|
211
|
+
|
212
|
+
var k = /(?:^|\s)nocode(?:\s|$)/, t = /\r\n?|\n/, s = a.ownerDocument, l;
|
213
|
+
a.currentStyle ? l = a.currentStyle.whiteSpace : window.getComputedStyle && (l = s.defaultView.getComputedStyle(a, q).getPropertyValue("white-space"));
|
214
|
+
var p = l && "pre" === l.substring(0, 3);
|
215
|
+
for (l = s.createElement("LI"); a.firstChild;)l.appendChild(a.firstChild);
|
216
|
+
for (var d = [l], g = 0; g < d.length; ++g)e(d[g]);
|
217
|
+
m === (m | 0) && d[0].setAttribute("value",
|
218
|
+
m);
|
219
|
+
var r = s.createElement("OL");
|
220
|
+
r.className = "linenums";
|
221
|
+
for (var n = Math.max(0, m - 1 | 0) || 0, g = 0, z = d.length; g < z; ++g)l = d[g], l.className = "L" + (g + n) % 10, l.firstChild || l.appendChild(s.createTextNode("\xa0")), r.appendChild(l);
|
222
|
+
a.appendChild(r)
|
223
|
+
}
|
224
|
+
|
225
|
+
function k(a, m) {
|
226
|
+
for (var e = m.length; --e >= 0;) {
|
227
|
+
var h = m[e];
|
228
|
+
A.hasOwnProperty(h) ? window.console && console.warn("cannot override language handler %s", h) : A[h] = a
|
229
|
+
}
|
230
|
+
}
|
231
|
+
|
232
|
+
function C(a, m) {
|
233
|
+
if (!a || !A.hasOwnProperty(a))a = /^\s*</.test(m) ? "default-markup" : "default-code";
|
234
|
+
return A[a]
|
235
|
+
}
|
236
|
+
|
237
|
+
function E(a) {
|
238
|
+
var m =
|
239
|
+
a.g;
|
240
|
+
try {
|
241
|
+
var e = M(a.h), h = e.a;
|
242
|
+
a.a = h;
|
243
|
+
a.c = e.c;
|
244
|
+
a.d = 0;
|
245
|
+
C(m, h)(a);
|
246
|
+
var k = /\bMSIE\b/.test(navigator.userAgent), m = /\n/g, t = a.a, s = t.length, e = 0, l = a.c, p = l.length, h = 0, d = a.e, g = d.length, a = 0;
|
247
|
+
d[g] = s;
|
248
|
+
var r, n;
|
249
|
+
for (n = r = 0; n < g;)d[n] !== d[n + 2] ? (d[r++] = d[n++], d[r++] = d[n++]) : n += 2;
|
250
|
+
g = r;
|
251
|
+
for (n = r = 0; n < g;) {
|
252
|
+
for (var z = d[n], f = d[n + 1], b = n + 2; b + 2 <= g && d[b + 1] === f;)b += 2;
|
253
|
+
d[r++] = z;
|
254
|
+
d[r++] = f;
|
255
|
+
n = b
|
256
|
+
}
|
257
|
+
for (d.length = r; h < p;) {
|
258
|
+
var o = l[h + 2] || s, c = d[a + 2] || s, b = Math.min(o, c), i = l[h + 1], j;
|
259
|
+
if (i.nodeType !== 1 && (j = t.substring(e, b))) {
|
260
|
+
k && (j = j.replace(m, "\r"));
|
261
|
+
i.nodeValue =
|
262
|
+
j;
|
263
|
+
var u = i.ownerDocument, v = u.createElement("SPAN");
|
264
|
+
v.className = d[a + 1];
|
265
|
+
var x = i.parentNode;
|
266
|
+
x.replaceChild(v, i);
|
267
|
+
v.appendChild(i);
|
268
|
+
e < o && (l[h + 1] = i = u.createTextNode(t.substring(b, o)), x.insertBefore(i, v.nextSibling))
|
269
|
+
}
|
270
|
+
e = b;
|
271
|
+
e >= o && (h += 2);
|
272
|
+
e >= c && (a += 2)
|
273
|
+
}
|
274
|
+
} catch (w) {
|
275
|
+
"console"in window && console.log(w && w.stack ? w.stack : w)
|
276
|
+
}
|
277
|
+
}
|
278
|
+
|
279
|
+
var v = ["break,continue,do,else,for,if,return,while"], w = [
|
280
|
+
[v, "auto,case,char,const,default,double,enum,extern,float,goto,int,long,register,short,signed,sizeof,static,struct,switch,typedef,union,unsigned,void,volatile"],
|
281
|
+
"catch,class,delete,false,import,new,operator,private,protected,public,this,throw,true,try,typeof"
|
282
|
+
], F = [w, "alignof,align_union,asm,axiom,bool,concept,concept_map,const_cast,constexpr,decltype,dynamic_cast,explicit,export,friend,inline,late_check,mutable,namespace,nullptr,reinterpret_cast,static_assert,static_cast,template,typeid,typename,using,virtual,where"], G = [w, "abstract,boolean,byte,extends,final,finally,implements,import,instanceof,null,native,package,strictfp,super,synchronized,throws,transient"],
|
283
|
+
H = [G, "as,base,by,checked,decimal,delegate,descending,dynamic,event,fixed,foreach,from,group,implicit,in,interface,internal,into,is,lock,object,out,override,orderby,params,partial,readonly,ref,sbyte,sealed,stackalloc,string,select,uint,ulong,unchecked,unsafe,ushort,var"], w = [w, "debugger,eval,export,function,get,null,set,undefined,var,with,Infinity,NaN"], I = [v, "and,as,assert,class,def,del,elif,except,exec,finally,from,global,import,in,is,lambda,nonlocal,not,or,pass,print,raise,try,with,yield,False,True,None"],
|
284
|
+
J = [v, "alias,and,begin,case,class,def,defined,elsif,end,ensure,false,in,module,next,nil,not,or,redo,rescue,retry,self,super,then,true,undef,unless,until,when,yield,BEGIN,END"], v = [v, "case,done,elif,esac,eval,fi,function,in,local,set,then,until"], K = /^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)/, N = /\S/, O = u({keywords: [F, H, w, "caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END" +
|
285
|
+
I, J, v], hashComments: !0, cStyleComments: !0, multiLineStrings: !0, regexLiterals: !0}), A = {};
|
286
|
+
k(O, ["default-code"]);
|
287
|
+
k(x([], [
|
288
|
+
["pln", /^[^<?]+/],
|
289
|
+
["dec", /^<!\w[^>]*(?:>|$)/],
|
290
|
+
["com", /^<\!--[\S\s]*?(?:--\>|$)/],
|
291
|
+
["lang-", /^<\?([\S\s]+?)(?:\?>|$)/],
|
292
|
+
["lang-", /^<%([\S\s]+?)(?:%>|$)/],
|
293
|
+
["pun", /^(?:<[%?]|[%?]>)/],
|
294
|
+
["lang-", /^<xmp\b[^>]*>([\S\s]+?)<\/xmp\b[^>]*>/i],
|
295
|
+
["lang-js", /^<script\b[^>]*>([\S\s]*?)(<\/script\b[^>]*>)/i],
|
296
|
+
["lang-css", /^<style\b[^>]*>([\S\s]*?)(<\/style\b[^>]*>)/i],
|
297
|
+
["lang-in.tag", /^(<\/?[a-z][^<>]*>)/i]
|
298
|
+
]),
|
299
|
+
["default-markup", "htm", "html", "mxml", "xhtml", "xml", "xsl"]);
|
300
|
+
k(x([
|
301
|
+
["pln", /^\s+/, q, " \t\r\n"],
|
302
|
+
["atv", /^(?:"[^"]*"?|'[^']*'?)/, q, "\"'"]
|
303
|
+
], [
|
304
|
+
["tag", /^^<\/?[a-z](?:[\w-.:]*\w)?|\/?>$/i],
|
305
|
+
["atn", /^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],
|
306
|
+
["lang-uq.val", /^=\s*([^\s"'>]*(?:[^\s"'/>]|\/(?=\s)))/],
|
307
|
+
["pun", /^[/<->]+/],
|
308
|
+
["lang-js", /^on\w+\s*=\s*"([^"]+)"/i],
|
309
|
+
["lang-js", /^on\w+\s*=\s*'([^']+)'/i],
|
310
|
+
["lang-js", /^on\w+\s*=\s*([^\s"'>]+)/i],
|
311
|
+
["lang-css", /^style\s*=\s*"([^"]+)"/i],
|
312
|
+
["lang-css", /^style\s*=\s*'([^']+)'/i],
|
313
|
+
["lang-css",
|
314
|
+
/^style\s*=\s*([^\s"'>]+)/i]
|
315
|
+
]), ["in.tag"]);
|
316
|
+
k(x([], [
|
317
|
+
["atv", /^[\S\s]+/]
|
318
|
+
]), ["uq.val"]);
|
319
|
+
k(u({keywords: F, hashComments: !0, cStyleComments: !0, types: K}), ["c", "cc", "cpp", "cxx", "cyc", "m"]);
|
320
|
+
k(u({keywords: "null,true,false"}), ["json"]);
|
321
|
+
k(u({keywords: H, hashComments: !0, cStyleComments: !0, verbatimStrings: !0, types: K}), ["cs"]);
|
322
|
+
k(u({keywords: G, cStyleComments: !0}), ["java"]);
|
323
|
+
k(u({keywords: v, hashComments: !0, multiLineStrings: !0}), ["bsh", "csh", "sh"]);
|
324
|
+
k(u({keywords: I, hashComments: !0, multiLineStrings: !0, tripleQuotedStrings: !0}),
|
325
|
+
["cv", "py"]);
|
326
|
+
k(u({keywords: "caller,delete,die,do,dump,elsif,eval,exit,foreach,for,goto,if,import,last,local,my,next,no,our,print,package,redo,require,sub,undef,unless,until,use,wantarray,while,BEGIN,END", hashComments: !0, multiLineStrings: !0, regexLiterals: !0}), ["perl", "pl", "pm"]);
|
327
|
+
k(u({keywords: J, hashComments: !0, multiLineStrings: !0, regexLiterals: !0}), ["rb"]);
|
328
|
+
k(u({keywords: w, cStyleComments: !0, regexLiterals: !0}), ["js"]);
|
329
|
+
k(u({keywords: "all,and,by,catch,class,else,extends,false,finally,for,if,in,is,isnt,loop,new,no,not,null,of,off,on,or,return,super,then,true,try,unless,until,when,while,yes",
|
330
|
+
hashComments: 3, cStyleComments: !0, multilineStrings: !0, tripleQuotedStrings: !0, regexLiterals: !0}), ["coffee"]);
|
331
|
+
k(x([], [
|
332
|
+
["str", /^[\S\s]+/]
|
333
|
+
]), ["regex"]);
|
334
|
+
window.prettyPrintOne = function (a, m, e) {
|
335
|
+
var h = document.createElement("PRE");
|
336
|
+
h.innerHTML = a;
|
337
|
+
e && D(h, e);
|
338
|
+
E({g: m, i: e, h: h});
|
339
|
+
return h.innerHTML
|
340
|
+
};
|
341
|
+
window.prettyPrint = function (a) {
|
342
|
+
function m() {
|
343
|
+
for (var e = window.PR_SHOULD_USE_CONTINUATION ? l.now() + 250 : Infinity; p < h.length && l.now() < e; p++) {
|
344
|
+
var n = h[p], k = n.className;
|
345
|
+
if (k.indexOf("prettyprint") >= 0) {
|
346
|
+
var k = k.match(g), f, b;
|
347
|
+
if (b = !k) {
|
348
|
+
b = n;
|
349
|
+
for (var o = void 0, c = b.firstChild; c; c = c.nextSibling)var i = c.nodeType, o = i === 1 ? o ? b : c : i === 3 ? N.test(c.nodeValue) ? b : o : o;
|
350
|
+
b = (f = o === b ? void 0 : o) && "CODE" === f.tagName
|
351
|
+
}
|
352
|
+
b && (k = f.className.match(g));
|
353
|
+
k && (k = k[1]);
|
354
|
+
b = !1;
|
355
|
+
for (o = n.parentNode; o; o = o.parentNode)if ((o.tagName === "pre" || o.tagName === "code" || o.tagName === "xmp") && o.className && o.className.indexOf("prettyprint") >= 0) {
|
356
|
+
b = !0;
|
357
|
+
break
|
358
|
+
}
|
359
|
+
b || ((b = (b = n.className.match(/\blinenums\b(?::(\d+))?/)) ? b[1] && b[1].length ? +b[1] : !0 : !1) && D(n, b), d = {g: k, h: n, i: b}, E(d))
|
360
|
+
}
|
361
|
+
}
|
362
|
+
p < h.length ? setTimeout(m,
|
363
|
+
250) : a && a()
|
364
|
+
}
|
365
|
+
|
366
|
+
for (var e = [document.getElementsByTagName("pre"), document.getElementsByTagName("code"), document.getElementsByTagName("xmp")], h = [], k = 0; k < e.length; ++k)for (var t = 0, s = e[k].length; t < s; ++t)h.push(e[k][t]);
|
367
|
+
var e = q, l = Date;
|
368
|
+
l.now || (l = {now: function () {
|
369
|
+
return+new Date
|
370
|
+
}});
|
371
|
+
var p = 0, d, g = /\blang(?:uage)?-([\w.]+)(?!\S)/;
|
372
|
+
m()
|
373
|
+
};
|
374
|
+
window.PR = {createSimpleLexer: x, registerLangHandler: k, sourceDecorator: u, PR_ATTRIB_NAME: "atn", PR_ATTRIB_VALUE: "atv", PR_COMMENT: "com", PR_DECLARATION: "dec", PR_KEYWORD: "kwd", PR_LITERAL: "lit",
|
375
|
+
PR_NOCODE: "nocode", PR_PLAIN: "pln", PR_PUNCTUATION: "pun", PR_SOURCE: "src", PR_STRING: "str", PR_TAG: "tag", PR_TYPE: "typ"}
|
376
|
+
})();
|
@@ -0,0 +1,156 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
+
*
|
11
|
+
*= require bootstrap_component_helper
|
12
|
+
*= require_self
|
13
|
+
*= require_tree .
|
14
|
+
*/
|
15
|
+
|
16
|
+
body {
|
17
|
+
margin-top: 60px;
|
18
|
+
}
|
19
|
+
|
20
|
+
section {
|
21
|
+
padding-top: 40px;
|
22
|
+
}
|
23
|
+
|
24
|
+
.bs-docs-example {
|
25
|
+
position: relative;
|
26
|
+
margin: 15px 0;
|
27
|
+
padding: 39px 19px 14px;
|
28
|
+
*padding-top: 19px;
|
29
|
+
background-color: #fff;
|
30
|
+
border: 1px solid #ddd;
|
31
|
+
-webkit-border-radius: 4px;
|
32
|
+
-moz-border-radius: 4px;
|
33
|
+
border-radius: 4px;
|
34
|
+
}
|
35
|
+
|
36
|
+
/* Echo out a label for the example */
|
37
|
+
.bs-docs-example:after {
|
38
|
+
content: "Example";
|
39
|
+
position: absolute;
|
40
|
+
top: -1px;
|
41
|
+
left: -1px;
|
42
|
+
padding: 3px 7px;
|
43
|
+
font-size: 12px;
|
44
|
+
font-weight: bold;
|
45
|
+
background-color: #f5f5f5;
|
46
|
+
border: 1px solid #ddd;
|
47
|
+
color: #9da0a4;
|
48
|
+
-webkit-border-radius: 4px 0 4px 0;
|
49
|
+
-moz-border-radius: 4px 0 4px 0;
|
50
|
+
border-radius: 4px 0 4px 0;
|
51
|
+
}
|
52
|
+
|
53
|
+
/* Remove spacing between an example and it's code */
|
54
|
+
.bs-docs-example + .prettyprint {
|
55
|
+
margin-top: -20px;
|
56
|
+
padding-top: 15px;
|
57
|
+
}
|
58
|
+
|
59
|
+
/* Tweak examples
|
60
|
+
------------------------- */
|
61
|
+
.bs-docs-example > p:last-child {
|
62
|
+
margin-bottom: 0;
|
63
|
+
}
|
64
|
+
|
65
|
+
.bs-docs-example .table,
|
66
|
+
.bs-docs-example .progress,
|
67
|
+
.bs-docs-example .well,
|
68
|
+
.bs-docs-example .alert,
|
69
|
+
.bs-docs-example .hero-unit,
|
70
|
+
.bs-docs-example .pagination,
|
71
|
+
.bs-docs-example .navbar,
|
72
|
+
.bs-docs-example > .nav,
|
73
|
+
.bs-docs-example blockquote {
|
74
|
+
margin-bottom: 5px;
|
75
|
+
}
|
76
|
+
|
77
|
+
.bs-docs-example .pagination {
|
78
|
+
margin-top: 0;
|
79
|
+
}
|
80
|
+
|
81
|
+
/* Sidenav for Docs, from bootstrap doc
|
82
|
+
-------------------------------------------------- */
|
83
|
+
|
84
|
+
.bs-docs-sidenav {
|
85
|
+
width: 228px;
|
86
|
+
margin: 30px 0 0;
|
87
|
+
padding: 0;
|
88
|
+
background-color: #fff;
|
89
|
+
-webkit-border-radius: 6px;
|
90
|
+
-moz-border-radius: 6px;
|
91
|
+
border-radius: 6px;
|
92
|
+
-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
|
93
|
+
-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
|
94
|
+
box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
|
95
|
+
}
|
96
|
+
|
97
|
+
.bs-docs-sidenav > li > a {
|
98
|
+
display: block;
|
99
|
+
width: 190px \9;
|
100
|
+
margin: 0 0 -1px;
|
101
|
+
padding: 8px 14px;
|
102
|
+
border: 1px solid #e5e5e5;
|
103
|
+
}
|
104
|
+
|
105
|
+
.bs-docs-sidenav > li:first-child > a {
|
106
|
+
-webkit-border-radius: 6px 6px 0 0;
|
107
|
+
-moz-border-radius: 6px 6px 0 0;
|
108
|
+
border-radius: 6px 6px 0 0;
|
109
|
+
}
|
110
|
+
|
111
|
+
.bs-docs-sidenav > li:last-child > a {
|
112
|
+
-webkit-border-radius: 0 0 6px 6px;
|
113
|
+
-moz-border-radius: 0 0 6px 6px;
|
114
|
+
border-radius: 0 0 6px 6px;
|
115
|
+
}
|
116
|
+
|
117
|
+
.bs-docs-sidenav > .active > a {
|
118
|
+
position: relative;
|
119
|
+
z-index: 2;
|
120
|
+
padding: 9px 15px;
|
121
|
+
border: 0;
|
122
|
+
text-shadow: 0 1px 0 rgba(0, 0, 0, .15);
|
123
|
+
-webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, .1), inset -1px 0 0 rgba(0, 0, 0, .1);
|
124
|
+
-moz-box-shadow: inset 1px 0 0 rgba(0, 0, 0, .1), inset -1px 0 0 rgba(0, 0, 0, .1);
|
125
|
+
box-shadow: inset 1px 0 0 rgba(0, 0, 0, .1), inset -1px 0 0 rgba(0, 0, 0, .1);
|
126
|
+
}
|
127
|
+
|
128
|
+
.bs-docs-sidenav .icon-chevron-right {
|
129
|
+
float: right;
|
130
|
+
margin-top: 2px;
|
131
|
+
margin-right: -6px;
|
132
|
+
opacity: .25;
|
133
|
+
}
|
134
|
+
|
135
|
+
.bs-docs-sidenav > li > a:hover {
|
136
|
+
background-color: #f5f5f5;
|
137
|
+
}
|
138
|
+
|
139
|
+
.bs-docs-sidenav a:hover .icon-chevron-right {
|
140
|
+
opacity: .5;
|
141
|
+
}
|
142
|
+
|
143
|
+
.bs-docs-sidenav .active .icon-chevron-right,
|
144
|
+
.bs-docs-sidenav .active a:hover .icon-chevron-right {
|
145
|
+
opacity: 1;
|
146
|
+
}
|
147
|
+
|
148
|
+
.bs-docs-sidenav.affix {
|
149
|
+
top: 40px;
|
150
|
+
}
|
151
|
+
|
152
|
+
.bs-docs-sidenav.affix-bottom {
|
153
|
+
position: absolute;
|
154
|
+
top: auto;
|
155
|
+
bottom: 270px;
|
156
|
+
}
|