storytime 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +24 -0
- data/app/assets/javascripts/storytime/application.js +25 -0
- data/app/assets/javascripts/storytime/base.js.coffee +22 -0
- data/app/assets/javascripts/storytime/editor.js.coffee +27 -0
- data/app/assets/javascripts/storytime/media.js.coffee +30 -0
- data/app/assets/javascripts/storytime/pages.js.coffee +12 -0
- data/app/assets/javascripts/storytime/posts.js.coffee +12 -0
- data/app/assets/javascripts/storytime/sites.js.coffee +16 -0
- data/app/assets/javascripts/storytime/utilities.js +23 -0
- data/app/assets/stylesheets/scaffold.css +56 -0
- data/app/assets/stylesheets/storytime/admin.css.scss +94 -0
- data/app/assets/stylesheets/storytime/application.css.scss +17 -0
- data/app/assets/stylesheets/storytime/devise.css.scss +256 -0
- data/app/assets/stylesheets/storytime/media.css.scss +17 -0
- data/app/assets/stylesheets/storytime/posts.css.scss +25 -0
- data/app/assets/stylesheets/storytime/sites.css.scss +4 -0
- data/app/assets/stylesheets/storytime/versions.css.scss +21 -0
- data/app/controllers/storytime/application_controller.rb +36 -0
- data/app/controllers/storytime/dashboard/media_controller.rb +38 -0
- data/app/controllers/storytime/dashboard/pages_controller.rb +73 -0
- data/app/controllers/storytime/dashboard/posts_controller.rb +71 -0
- data/app/controllers/storytime/dashboard/roles_controller.rb +13 -0
- data/app/controllers/storytime/dashboard/sites_controller.rb +52 -0
- data/app/controllers/storytime/dashboard/users_controller.rb +60 -0
- data/app/controllers/storytime/dashboard_controller.rb +18 -0
- data/app/controllers/storytime/pages_controller.rb +16 -0
- data/app/controllers/storytime/posts_controller.rb +19 -0
- data/app/helpers/storytime/application_helper.rb +39 -0
- data/app/helpers/storytime/media_helper.rb +16 -0
- data/app/helpers/storytime/posts_helper.rb +4 -0
- data/app/helpers/storytime/sites_helper.rb +19 -0
- data/app/helpers/storytime/versions_helper.rb +7 -0
- data/app/models/storytime/action.rb +16 -0
- data/app/models/storytime/media.rb +7 -0
- data/app/models/storytime/page.rb +14 -0
- data/app/models/storytime/permission.rb +27 -0
- data/app/models/storytime/post.rb +32 -0
- data/app/models/storytime/role.rb +19 -0
- data/app/models/storytime/site.rb +9 -0
- data/app/models/storytime/tag.rb +8 -0
- data/app/models/storytime/tagging.rb +13 -0
- data/app/models/storytime/user.rb +27 -0
- data/app/models/storytime/version.rb +6 -0
- data/app/policies/storytime/media_policy.rb +22 -0
- data/app/policies/storytime/page_policy.rb +71 -0
- data/app/policies/storytime/post_policy.rb +71 -0
- data/app/policies/storytime/site_policy.rb +31 -0
- data/app/policies/storytime/user_policy.rb +39 -0
- data/app/uploaders/storytime/media_uploader.rb +16 -0
- data/app/views/devise/confirmations/new.html.erb +16 -0
- data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/app/views/devise/passwords/edit.html.erb +17 -0
- data/app/views/devise/passwords/new.html.erb +12 -0
- data/app/views/devise/registrations/edit.html.erb +31 -0
- data/app/views/devise/registrations/new.html.erb +20 -0
- data/app/views/devise/sessions/new.html.erb +24 -0
- data/app/views/devise/shared/_links.erb +25 -0
- data/app/views/devise/unlocks/new.html.erb +16 -0
- data/app/views/layouts/storytime/application.html.erb +24 -0
- data/app/views/layouts/storytime/dashboard.html.erb +23 -0
- data/app/views/storytime/application/_flash.html.erb +7 -0
- data/app/views/storytime/application/_footer.html.erb +3 -0
- data/app/views/storytime/application/_header.html.erb +30 -0
- data/app/views/storytime/application/_navigation.html.erb +1 -0
- data/app/views/storytime/dashboard/_navigation.html.erb +37 -0
- data/app/views/storytime/dashboard/media/_form.html.erb +8 -0
- data/app/views/storytime/dashboard/media/_gallery.html +6 -0
- data/app/views/storytime/dashboard/media/_media.html.erb +14 -0
- data/app/views/storytime/dashboard/media/_modal.html.erb +27 -0
- data/app/views/storytime/dashboard/media/index.html.erb +4 -0
- data/app/views/storytime/dashboard/media/show.json.jbuilder +2 -0
- data/app/views/storytime/dashboard/pages/_form.html.erb +17 -0
- data/app/views/storytime/dashboard/pages/_list.html.erb +24 -0
- data/app/views/storytime/dashboard/pages/edit.html.erb +16 -0
- data/app/views/storytime/dashboard/pages/index.html.erb +10 -0
- data/app/views/storytime/dashboard/pages/new.html.erb +12 -0
- data/app/views/storytime/dashboard/posts/_form.html.erb +20 -0
- data/app/views/storytime/dashboard/posts/_list.html.erb +24 -0
- data/app/views/storytime/dashboard/posts/edit.html.erb +16 -0
- data/app/views/storytime/dashboard/posts/index.html.erb +10 -0
- data/app/views/storytime/dashboard/posts/new.html.erb +12 -0
- data/app/views/storytime/dashboard/sites/_form.html.erb +14 -0
- data/app/views/storytime/dashboard/sites/edit.html.erb +15 -0
- data/app/views/storytime/dashboard/sites/new.html.erb +4 -0
- data/app/views/storytime/dashboard/users/_user.html.erb +10 -0
- data/app/views/storytime/dashboard/users/edit.html.erb +8 -0
- data/app/views/storytime/dashboard/users/index.html.erb +19 -0
- data/app/views/storytime/dashboard/users/new.html.erb +10 -0
- data/app/views/storytime/dashboard/versions/_versions_info.html.erb +25 -0
- data/app/views/storytime/pages/show.html.erb +3 -0
- data/app/views/storytime/posts/_tags.html.erb +3 -0
- data/app/views/storytime/posts/index.html.erb +22 -0
- data/app/views/storytime/posts/show.html.erb +14 -0
- data/config/initializers/carrierwave.rb +17 -0
- data/config/initializers/devise.rb +258 -0
- data/config/initializers/friendly_id.rb +88 -0
- data/config/initializers/inflections.rb +3 -0
- data/config/initializers/simple_form.rb +145 -0
- data/config/initializers/simple_form_bootstrap.rb +93 -0
- data/config/locales/devise.en.yml +59 -0
- data/config/locales/en.yml +37 -0
- data/config/locales/simple_form.en.yml +26 -0
- data/config/routes.rb +26 -0
- data/config/spring.rb +1 -0
- data/db/migrate/20140501171949_devise_create_storytime_users.rb +42 -0
- data/db/migrate/20140501174341_create_storytime_posts.rb +14 -0
- data/db/migrate/20140509150223_create_storytime_pages.rb +13 -0
- data/db/migrate/20140509191309_create_friendly_id_slugs.rb +15 -0
- data/db/migrate/20140511200849_create_storytime_media.rb +10 -0
- data/db/migrate/20140513161233_create_storytime_sites.rb +14 -0
- data/db/migrate/20140513162745_add_selected_root_page_to_storytime_sites.rb +5 -0
- data/db/migrate/20140514200234_create_storytime_tags.rb +9 -0
- data/db/migrate/20140514200304_create_storytime_taggings.rb +10 -0
- data/db/migrate/20140516141252_create_storytime_versions.rb +12 -0
- data/db/migrate/20140521190606_create_storytime_roles.rb +11 -0
- data/db/migrate/20140521191048_add_role_id_to_users.rb +6 -0
- data/db/migrate/20140521191728_create_storytime_permissions.rb +10 -0
- data/db/migrate/20140521191744_create_storytime_actions.rb +13 -0
- data/db/seeds.rb +3 -0
- data/lib/storytime.rb +11 -0
- data/lib/storytime/concerns/has_versions.rb +60 -0
- data/lib/storytime/constraints/root_constraint.rb +11 -0
- data/lib/storytime/engine.rb +19 -0
- data/lib/storytime/version.rb +3 -0
- data/lib/tasks/storytime_tasks.rake +4 -0
- data/lib/templates/erb/scaffold/_form.html.erb +13 -0
- data/spec/controllers/dashboard_controller_spec.rb +30 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +16 -0
- data/spec/dummy/app/controllers/application_controller.rb +6 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +29 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +39 -0
- data/spec/dummy/config/environments/production.rb +83 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +148 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +77889 -0
- data/spec/dummy/log/test.log +83019 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/1/case-2-baseline.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/1/success-kid.jpg +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/1/thumb_case-2-baseline.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/1/thumb_success-kid.jpg +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/10/case-2-day-1.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/10/thumb_case-2-day-1.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/11/Screen_Shot_2014-04-11_at_3.33.52_PM.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/11/thumb_Screen_Shot_2014-04-11_at_3.33.52_PM.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/12/Screen_Shot_2014-04-14_at_3.57.28_PM.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/12/thumb_Screen_Shot_2014-04-14_at_3.57.28_PM.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/13/image001.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/13/thumb_image001.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/14/image001.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/14/thumb_image001.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/15/image001.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/15/thumb_image001.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/2/case-2-day-1.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/2/success-kid.jpg +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/2/thumb_case-2-day-1.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/2/thumb_success-kid.jpg +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/5/image001.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/5/thumb_image001.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/7/Screen_Shot_2014-04-11_at_3.33.52_PM.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/7/thumb_Screen_Shot_2014-04-11_at_3.33.52_PM.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/9/image001.png +0 -0
- data/spec/dummy/public/uploads/storytime/media/file/9/thumb_image001.png +0 -0
- data/spec/dummy/public/uploads/tmp/1399929694-77229-0032/case-2-baseline.png +0 -0
- data/spec/dummy/public/uploads/tmp/1399929694-77229-0032/thumb_case-2-baseline.png +0 -0
- data/spec/dummy/public/uploads/tmp/1399929900-77229-4396/image001.png +0 -0
- data/spec/dummy/public/uploads/tmp/1399929900-77229-4396/thumb_image001.png +0 -0
- data/spec/dummy/public/uploads/tmp/1399929935-77229-6247/image001.png +0 -0
- data/spec/dummy/public/uploads/tmp/1399929935-77229-6247/thumb_image001.png +0 -0
- data/spec/dummy/public/uploads/tmp/1399929976-77229-4486/image001.png +0 -0
- data/spec/dummy/public/uploads/tmp/1399929976-77229-4486/thumb_image001.png +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/admin.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/application.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/devise.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/media.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/posts.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/sites.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/versions.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/7628c68fbe2e3603f682dfe5046801415df5db97/bootstrap-wysihtml5.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_alerts.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_badges.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_breadcrumbs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_button-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_carousel.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_close.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_code.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_component-animations.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_dropdowns.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_glyphicons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_input-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_jumbotron.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_labels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_list-group.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_media.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_mixins.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_modals.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_navbar.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_navs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_normalize.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_pager.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_popovers.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_print.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_progress-bars.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_responsive-embed.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_responsive-utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_scaffolding.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_tables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_thumbnails.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_tooltip.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_type.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_variables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_wells.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_alerts.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_background-variant.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_border-radius.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_center-block.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_clearfix.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_gradients.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_grid-framework.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_hide-text.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_image.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_labels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_list-group.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_nav-divider.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_nav-vertical-align.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_opacity.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_progress-bar.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_reset-filter.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_resize.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_responsive-visibility.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_size.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_tab-focus.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_table-row.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_text-emphasis.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_text-overflow.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_vendor-prefixes.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sass/bd6920fe35fbc8a60bb51f3a648fe211cda6a4ba/bootstrap.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/020b91fbc1173b1d78d8c8535228c51a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/044316d16f4f4c759436c2eea3549a9a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/097dbab26422bc41368089a5e42686a0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0acd0bc8c90407d27bc855419a226514 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0c78ded798ac08d739992e81315d19ba +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0d01ca44d9aefc0be6980f2c2de07312 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0d02ec6f768631a38712f82c09d6ceeb +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0d2f1e2463825b083f8460a1d0245673 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0d7f8d2c285e1a9aecb5af5a38f4bb14 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/0f76d6de1c8e9668627942d4325465d9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/10501d53c17804ad83c0a98289ea6c36 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/146a559e9fdd016c554d0a04bc0edb10 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1583ab7265065890f895e5b9fb536a7a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/165af8be47e919c036d6cdd8b4156c3f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/169fd6faf427e47619e8e3cd871dca9b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/17e3bf97def57cfeda69e06595085c2b +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/19fc4f17ff0937e15f96263d6bdd6cf6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1ab132d866cbd3d636bd40d5d698d624 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/23a0b43b3ac4a57203836cb77bc3c98a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2454cff882de4acc3e63481fe2d31826 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/265ee88932e33d90712c94909bfe7282 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/26b55ad5f4ab8bdcad112672e512dcc9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2899787f8d2a2ae6dfbb9276125684c9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/28be90e4c91158f4aa826003490b51e0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/29fa80846e652c4bf4eb134143557a92 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2b112c2e64ea4c33a927ef5d2eb90710 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2ba1cab090fecac37ce98fc40389c07e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2cc6f240a4340624feee26cda93f243c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2d8013c606f7cf8d7b23ca7add8faa8e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2ddd39492454a6dbe6602e52209320f1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/376f2df90e3e56853fc174d664b724bb +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/39a43c34b540515fdb2e58087b3cfb24 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3cfeb2500f681c26386c11360b02d845 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/3f61ff37a58dd8f005c33103bf597b4e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/40e3897f7dde4a8cc4712a7a9de31142 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/45dae50b10023f4bea4b848956498b80 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/480e710084fe62082c214d8d1d6f6897 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4bd5dad727e47e71124f50228f264126 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4f37fa6375d525cc4348b0f13783df58 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/4ff65642dfd2c65c5a6001986cd03e87 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/502bd47873d745225df0b627c5c9c2b2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/529eabd6c6e130ede1f32048ff44d6a0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/53b1cd253b169f8158f5f6094510abd6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/590df37cc0cde03fe1803e3273def4e0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5a4d1230d0ef19d1f35c23c586d989e1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5ae49d3d7a73b15f3139273dc842722a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/5ef9de5aa22ac63b7b5377bc629e8810 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6178c3f89b18fdac7431d9448ac2ad82 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/61eccde418d3db7d6cab950c85ea53dc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/644e0db48209ab08ad6b5e200963a839 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/66f19e00741aeb22b87ac2fadcfdf6bb +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/67101390e2af5d2e1be9f95f315c1335 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/67707b57a979f5dd6fcfa60c33ba5b3a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/698104ddc85f7472ce03a40717003096 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/699fc38b2c9c6da66d23bd171ff00a8a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/69ee557d733dbbdef41fe157428b900a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6c5c021ab63a16094af9ddaf36ac7330 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6da1fab887d1e8378f40c20667e5cc59 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6e64329c6454073eeff47f373cc9aa05 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6fbe6961adae55a6cb9113fe7e000b28 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/6fee48b9b1da0d3d6b8be1949870bd2d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/718238c58fbd496692db95edc9f7257f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/720d4ce046288c68bfe35eae12a93824 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7255d65c7583f46b858b92c03dd3f19c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/72b57883778071e50284671cc1d8b1f0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/75586c04a80da3ade0d12b011b754668 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/75937a67b81e1b3864a73f47082220d0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/75cb73cbb915f391a7bdd430e6240c18 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/771344cf28504419d046eb60a73393e6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7b5b8cdf15c5d6e25b630ace20226a08 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/7c641428a457405f11503ede9a3df71d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/812f46c2e04af24cfcb060e9da976a52 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8668ddaf373f95c1f37e43f2463fe898 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8a70805ffa751758f34c64f93bc2d9ab +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/8c006db0ad565abab3a51fb0e2d91f72 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/90dd0e605a3ce1df752dc071c5ad6abf +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/95701298a0b8b805a116a0ffce62bade +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/970d0b91e8c55df088fe3767f7fef635 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/98f50d322e74820ea5f4bcc0d78d39df +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/998aae6d07168b75751fd86c608e2ad0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9a92af8515d31b1c60f2e26eaa9d825d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9afa2e5696ecfdd565db508f363eecd3 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9cf80ea47639e70cfb9e0df41f1962b0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/9e037886efcbc10dfad4bf8e29543d66 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a04a4267454af41ae6371c70bd486028 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a118fa902c3091572e750d8ac5954481 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a1210c518bfa35e360ccc45413961ea2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a172eb4fcd69ed9a019b8e5a10982ccc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a20b8d3b3218e47e9afe2ce9fe8203da +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a25e43f0b15e48028e19b9ced4e9c647 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a42ded65c5bb8c47e5de52802ea85f87 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a4c34e9ab0f1b22715a3c433cd87a20f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a698065edc0394659bb4a60cb1848dd9 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a79701d18873ce710f6216b6a3806a83 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a7f7a7a6f7d56bb4b46d8e4c89a3450a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a9462c3eb1108400236e0163c8a95e17 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ab2d7ffeb120e870e5a1a5794c677a96 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ab95a26755cf0a8dd6f340664c3df4cc +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/abfe3e393258df10a8bcb8a11c508960 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ac3de6ba4cfffa91134b0c40d4de10cd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ac670360d339283f28e8a977f184ca58 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/aed5e523ef919ba89c52fc4f41838e0d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/af1a908ef71dbf649d6bfc7bb4a7b802 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b240d42f24ec24b7922625710fb78864 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b2e41031bc7bf32fe23051b0bed7cfe7 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b3afd422c761ca8b9f25fc31bcb16e57 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b48147ca8e8ef368bffc8eeb8ab61826 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b6a6a8ff8899ee3fba7d60061ad4134c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b862b8461edd4b989538d86b38dab7f5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b9626f562d6867b57696d079fd459916 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b975aa1b2fcb7293b12a360ff2eb97e6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bb1f26b995fdd7b6d2ac3dbfa9ff802a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bf9a86821e87daaf598b1a6e021634cf +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/bfa4c6ad0081ca0f013ecf4ce1509033 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c0c703c441222b2bf421bcc8465d4854 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c219bb843814a727baebad11cf14e339 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c7e3a48c5d8dc588e1c4de361a125c45 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c7fe984c819e1eab5df4d5b507d06f08 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/c8bfddd018ed49781a597619f64d3abd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cac3f4659c221fccf6028ecc44fe9217 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cb08dfa48ab4ed8c6067750011bc2a56 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ce1fd9656d7935f132f85c3a221a67ba +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d2a6177ba2d233e33bd061d7fb9cd628 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d40b6b4189d7680a73b8b94057e31022 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/dbdd6f7f1a2680b7313ae9c940f9ac4c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/dbe5b014ce69cfcb9388b1f1be0fc07d +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/dd3e2960b850367389fca0a5d8566551 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/de9fb9c8a1f09dcebe130b9e7f687afd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/dec6c42399648babcea34c105f0fc83f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e1fd25e6bdec3fdebdb946c0b4ba974f +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e2965613b9e19be94c1ab92addbf9522 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e3d0b4fc93b50878108e5f7463f2050a +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e437111ec0fab0250b518d69db15d9b8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/e4dff08dbc078fbf096ff221f75baf92 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ea110c82f66716dd92e22c9de7b249e8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ea7294fa903cf73f2c9882de4a3118fb +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ecfb4f775270825b0f6ec16552e61a3c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/ed108f7a4a4fe7f43ac66c7eb5209e24 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f14e4511cdd4a242cc068c710c7dd0d1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f28611e5b61d6ec23f3a5a63a99d7d23 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f294fbede1b7c780bc8e68aaabab1d83 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f6593f5551b1867b389179e33c46df98 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f6d5b390a534b5ce821b5b84757d7a1c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f71b8e208ea605e5dad351a05172d6bd +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f7b22e06cc0b7e9fd9008b6a16c201b6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f7f21931f966f2b6112af9cb48ab2ef8 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/fc8dedac9592b5f0c1ba6241713bb5d1 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/fccfd128f0c058afe6166f1a862d25a7 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/fd01744dc6f832030742b6e0db5063d5 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/fd5e3004fbfd28ebb8e744f3570e24be +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_alerts.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_badges.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_breadcrumbs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_button-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_carousel.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_close.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_code.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_component-animations.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_dropdowns.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_glyphicons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_input-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_jumbotron.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_labels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_list-group.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_media.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_mixins.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_modals.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_navbar.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_navs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_normalize.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_pager.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_popovers.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_print.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_progress-bars.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_responsive-embed.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_responsive-utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_scaffolding.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_tables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_thumbnails.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_tooltip.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_type.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_variables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/0b10041bc898294349451ee45977193a332abf53/_wells.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_alerts.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_background-variant.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_border-radius.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_center-block.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_clearfix.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_gradients.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_grid-framework.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_hide-text.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_image.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_labels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_list-group.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_nav-divider.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_nav-vertical-align.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_opacity.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_progress-bar.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_reset-filter.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_resize.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_responsive-visibility.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_size.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_tab-focus.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_table-row.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_text-emphasis.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_text-overflow.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/21f7fb95f190e6f5055300fa088a6848f7c6ef89/_vendor-prefixes.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/admin.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/application.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/devise.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/media.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/posts.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/sites.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/5c0d2f6087bf75a7b219942ba7be5435141060e9/versions.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/7628c68fbe2e3603f682dfe5046801415df5db97/bootstrap-wysihtml5.css.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_alerts.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_badges.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_breadcrumbs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_button-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_carousel.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_close.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_code.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_component-animations.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_dropdowns.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_glyphicons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_input-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_jumbotron.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_labels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_list-group.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_media.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_mixins.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_modals.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_navbar.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_navs.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_normalize.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_pager.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_popovers.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_print.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_progress-bars.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_responsive-embed.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_responsive-utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_scaffolding.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_tables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_thumbnails.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_tooltip.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_type.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_variables.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/9f077c14b8647e864e8f2081b4884e369876a15b/_wells.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_alerts.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_background-variant.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_border-radius.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_center-block.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_clearfix.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_gradients.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_grid-framework.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_hide-text.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_image.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_labels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_list-group.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_nav-divider.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_nav-vertical-align.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_opacity.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_progress-bar.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_reset-filter.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_resize.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_responsive-visibility.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_size.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_tab-focus.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_table-row.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_text-emphasis.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_text-overflow.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/a87fa1f52be996f6d810419a60e88552c5421f5f/_vendor-prefixes.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/bd6920fe35fbc8a60bb51f3a648fe211cda6a4ba/bootstrap.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sass/ee7f3ff577f16153ee43b3806d01c1c81edb02c6/bootstrap.scssc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/020b91fbc1173b1d78d8c8535228c51a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/044316d16f4f4c759436c2eea3549a9a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/097dbab26422bc41368089a5e42686a0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/09e1cce14478bbb557448268798ec525 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0acd0bc8c90407d27bc855419a226514 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0d01ca44d9aefc0be6980f2c2de07312 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0d02ec6f768631a38712f82c09d6ceeb +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/0d7f8d2c285e1a9aecb5af5a38f4bb14 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/10501d53c17804ad83c0a98289ea6c36 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/12f6c9c245e8fa406c35ab7331974afc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1583ab7265065890f895e5b9fb536a7a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/165af8be47e919c036d6cdd8b4156c3f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/169fd6faf427e47619e8e3cd871dca9b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/17e3bf97def57cfeda69e06595085c2b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/19fc4f17ff0937e15f96263d6bdd6cf6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/1af012edb39b0460b7065a823d74005e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2378062a5d883c5add851640797b8b5d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/23a0b43b3ac4a57203836cb77bc3c98a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2454cff882de4acc3e63481fe2d31826 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/265ee88932e33d90712c94909bfe7282 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/26b55ad5f4ab8bdcad112672e512dcc9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/28491cc5820f412734b79e7b8db43c45 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2899787f8d2a2ae6dfbb9276125684c9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/28be90e4c91158f4aa826003490b51e0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/29fa80846e652c4bf4eb134143557a92 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2b112c2e64ea4c33a927ef5d2eb90710 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2b9fc42071e985b990e21b94953f037f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2ba1cab090fecac37ce98fc40389c07e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2cc6f240a4340624feee26cda93f243c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/2d8013c606f7cf8d7b23ca7add8faa8e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/33eccb31ac2cd04b4e8301b3029969dd +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/35ae9fe8ac2b07df56c4dc2fbb8094e0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/376f2df90e3e56853fc174d664b724bb +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/393869113eb31f9dca7bbc8b36a6c47a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/39a43c34b540515fdb2e58087b3cfb24 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/3cfeb2500f681c26386c11360b02d845 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/40e3897f7dde4a8cc4712a7a9de31142 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4282fa32a57799211b7da1dee471d0f2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/45dae50b10023f4bea4b848956498b80 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/480e710084fe62082c214d8d1d6f6897 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/49b525b6667302a577db14433e887eb6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4bd5dad727e47e71124f50228f264126 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/4f37fa6375d525cc4348b0f13783df58 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/529eabd6c6e130ede1f32048ff44d6a0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/53b1cd253b169f8158f5f6094510abd6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/55597ced9c714d85af225f385f748fb7 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5ae49d3d7a73b15f3139273dc842722a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5c2dfc344f454ea4d5746b887a6e5430 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/5ef9de5aa22ac63b7b5377bc629e8810 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6178c3f89b18fdac7431d9448ac2ad82 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/61bc1cc8894113058b067526fee0348a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/61eccde418d3db7d6cab950c85ea53dc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/635a2c4b410e9a5c27ee5bf7a586bb52 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/63bc199866d476456d372f42416e2f75 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/644e0db48209ab08ad6b5e200963a839 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/67101390e2af5d2e1be9f95f315c1335 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/67707b57a979f5dd6fcfa60c33ba5b3a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6a1abdccf9e9f6fc3d08f47b0a6ffecd +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6da1fab887d1e8378f40c20667e5cc59 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6e31e9c28b48aae7b8b99b865c5e500b +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6e64329c6454073eeff47f373cc9aa05 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6fce639dfd31f2213a96e4c4e9032dff +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/6fee48b9b1da0d3d6b8be1949870bd2d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/715f1c1bd4a498fe0e1a7d88f83b58ff +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/718238c58fbd496692db95edc9f7257f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7255d65c7583f46b858b92c03dd3f19c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/72b57883778071e50284671cc1d8b1f0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/75586c04a80da3ade0d12b011b754668 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/75937a67b81e1b3864a73f47082220d0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/75cb73cbb915f391a7bdd430e6240c18 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/771344cf28504419d046eb60a73393e6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/793533d05b0c5923ee5b15bbeddba7ee +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7b5b8cdf15c5d6e25b630ace20226a08 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/7c641428a457405f11503ede9a3df71d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/812f46c2e04af24cfcb060e9da976a52 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/824bf908757de443ce19415a7b871e44 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/83ad075b329956476f34673c7f405622 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8668ddaf373f95c1f37e43f2463fe898 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/89ae70149a8fba7308ae0620444d24f8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/8c006db0ad565abab3a51fb0e2d91f72 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/906e15453ef8943d062831b81527545e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/90dd0e605a3ce1df752dc071c5ad6abf +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/95701298a0b8b805a116a0ffce62bade +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/962e0a112f2da1e5c709c62e176874ed +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/970d0b91e8c55df088fe3767f7fef635 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/98f50d322e74820ea5f4bcc0d78d39df +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/998aae6d07168b75751fd86c608e2ad0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9a92af8515d31b1c60f2e26eaa9d825d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9afa2e5696ecfdd565db508f363eecd3 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9cf80ea47639e70cfb9e0df41f1962b0 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9f27b24ce134a84f31dbaef4127315b6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/9f3957fba4c8ccc3d420c45e27dee803 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a04a4267454af41ae6371c70bd486028 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a1210c518bfa35e360ccc45413961ea2 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a172eb4fcd69ed9a019b8e5a10982ccc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a20b8d3b3218e47e9afe2ce9fe8203da +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a25e43f0b15e48028e19b9ced4e9c647 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a4c34e9ab0f1b22715a3c433cd87a20f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a698065edc0394659bb4a60cb1848dd9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a79701d18873ce710f6216b6a3806a83 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/a9462c3eb1108400236e0163c8a95e17 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ab2d7ffeb120e870e5a1a5794c677a96 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/abfe3e393258df10a8bcb8a11c508960 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ac3de6ba4cfffa91134b0c40d4de10cd +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ac670360d339283f28e8a977f184ca58 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b226b9415eaa912975a551736bc31872 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b240d42f24ec24b7922625710fb78864 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b3afd422c761ca8b9f25fc31bcb16e57 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b48147ca8e8ef368bffc8eeb8ab61826 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b52aefb3a8aac603fa3625f3aeffba7e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b5faee49e35b6b3c4575df24a309a20c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b6a6a8ff8899ee3fba7d60061ad4134c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b782306a81352321745d99601bfec1bf +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b862b8461edd4b989538d86b38dab7f5 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b8f823ab6507b5728a741402a500ac52 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/b9626f562d6867b57696d079fd459916 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/bb1f26b995fdd7b6d2ac3dbfa9ff802a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c00d4b3a71250a17d8817132b074c4dc +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c7e3a48c5d8dc588e1c4de361a125c45 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/c8f64df77ff15ad4668d336920b69c22 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cb08dfa48ab4ed8c6067750011bc2a56 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/cb6c37714072edc629e4147f65fdec5e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ce1fd9656d7935f132f85c3a221a67ba +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d2a6177ba2d233e33bd061d7fb9cd628 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d419cfae9829efa85c9f3046bcc9986a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/d9113fba5771c9639f855bac9ed6793e +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/dbdd6f7f1a2680b7313ae9c940f9ac4c +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/dbe5b014ce69cfcb9388b1f1be0fc07d +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/dd3e2960b850367389fca0a5d8566551 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/de9fb9c8a1f09dcebe130b9e7f687afd +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e1fd25e6bdec3fdebdb946c0b4ba974f +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e2965613b9e19be94c1ab92addbf9522 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e300050202fcd5b05c478beae48d1a37 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e3a0f0bf9c08dd08c7f0dfa3022bc4eb +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e3d0b4fc93b50878108e5f7463f2050a +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e4dff08dbc078fbf096ff221f75baf92 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/e5da9b9993cdcfe695f57391b5b250e9 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ea110c82f66716dd92e22c9de7b249e8 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ea7294fa903cf73f2c9882de4a3118fb +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/ed4d3dc60afbf5feb638f2780a31faab +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f14e4511cdd4a242cc068c710c7dd0d1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f28611e5b61d6ec23f3a5a63a99d7d23 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f294fbede1b7c780bc8e68aaabab1d83 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f471d1843d304987efe56f013dbe46dd +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f6593f5551b1867b389179e33c46df98 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/f7b22e06cc0b7e9fd9008b6a16c201b6 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fc8dedac9592b5f0c1ba6241713bb5d1 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fccfd128f0c058afe6166f1a862d25a7 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fd01744dc6f832030742b6e0db5063d5 +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/fe0ab3d5a2b29cc3ec67e13feab046c5 +0 -0
- data/spec/dummy/tmp/capybara/capybara-201405011255219920091058.html +54 -0
- data/spec/factories/action_factories.rb +5 -0
- data/spec/factories/media_factories.rb +6 -0
- data/spec/factories/page_factories.rb +8 -0
- data/spec/factories/permission_factories.rb +6 -0
- data/spec/factories/post_factories.rb +11 -0
- data/spec/factories/role_factories.rb +38 -0
- data/spec/factories/site_factories.rb +7 -0
- data/spec/factories/user_factories.rb +18 -0
- data/spec/features/dashboard/media_spec.rb +60 -0
- data/spec/features/dashboard/pages_spec.rb +67 -0
- data/spec/features/dashboard/posts_spec.rb +68 -0
- data/spec/features/dashboard/sites_spec.rb +42 -0
- data/spec/features/dashboard/users_spec.rb +47 -0
- data/spec/features/pages_spec.rb +15 -0
- data/spec/features/posts_spec.rb +27 -0
- data/spec/models/page_spec.rb +8 -0
- data/spec/models/post_spec.rb +27 -0
- data/spec/models/tagging_spec.rb +28 -0
- data/spec/models/user_spec.rb +10 -0
- data/spec/models/version_spec.rb +57 -0
- data/spec/policies/page_policy_spec.rb +89 -0
- data/spec/policies/post_policy_spec.rb +89 -0
- data/spec/spec_helper.rb +63 -0
- data/spec/support/feature_macros.rb +38 -0
- data/spec/support/images/success-kid.jpg +0 -0
- data/spec/support/pundit_matcher.rb +13 -0
- data/spec/support/shared_db_connection.rb +9 -0
- data/vendor/assets/javascripts/bootstrap-wysihtml5.js +521 -0
- data/vendor/assets/javascripts/jquery.fileupload.js +1420 -0
- data/vendor/assets/javascripts/jquery.iframe-transport.js +214 -0
- data/vendor/assets/javascripts/jquery.ui.widget.js +530 -0
- data/vendor/assets/javascripts/wysihtml5.js +9521 -0
- data/vendor/assets/stylesheets/bootstrap-wysihtml5.css.scss +104 -0
- data/vendor/assets/stylesheets/bootstrap3-wysiwyg5-color.css +68 -0
- data/vendor/assets/stylesheets/jquery.fileupload.css +36 -0
- metadata +1750 -0
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
ENV["RAILS_ENV"] ||= 'test'
|
3
|
+
require File.expand_path("../dummy/config/environment", __FILE__)
|
4
|
+
require 'rspec/rails'
|
5
|
+
require 'rspec/autorun'
|
6
|
+
require 'factory_girl_rails'
|
7
|
+
require 'capybara/rails'
|
8
|
+
require 'capybara/rspec'
|
9
|
+
require 'capybara/poltergeist'
|
10
|
+
require "pundit/rspec"
|
11
|
+
|
12
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
13
|
+
|
14
|
+
# Checks for pending migrations before tests are run.
|
15
|
+
# If you are not using ActiveRecord, you can remove this line.
|
16
|
+
ActiveRecord::Migration.maintain_test_schema!
|
17
|
+
|
18
|
+
Capybara.register_driver :poltergeist_st do |app|
|
19
|
+
Capybara::Poltergeist::Driver.new(app, phantomjs_options: ['--proxy-type=socks5', '--proxy=0.0.0.0:0'])
|
20
|
+
end
|
21
|
+
|
22
|
+
Capybara.javascript_driver = :poltergeist_st
|
23
|
+
|
24
|
+
ActiveRecord::Base.shared_connection = ActiveRecord::Base.connection
|
25
|
+
|
26
|
+
RSpec.configure do |config|
|
27
|
+
|
28
|
+
config.before(:suite) do
|
29
|
+
Storytime::Role.seed
|
30
|
+
Storytime::Action.seed
|
31
|
+
Storytime::Permission.seed
|
32
|
+
end
|
33
|
+
# ## Mock Framework
|
34
|
+
#
|
35
|
+
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
36
|
+
#
|
37
|
+
# config.mock_with :mocha
|
38
|
+
# config.mock_with :flexmock
|
39
|
+
# config.mock_with :rr
|
40
|
+
|
41
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
42
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
43
|
+
|
44
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
45
|
+
# examples within a transaction, remove the following line or assign false
|
46
|
+
# instead of true.
|
47
|
+
config.use_transactional_fixtures = true
|
48
|
+
|
49
|
+
# If true, the base class of anonymous controllers will be inferred
|
50
|
+
# automatically. This will be the default behavior in future versions of
|
51
|
+
# rspec-rails.
|
52
|
+
config.infer_base_class_for_anonymous_controllers = false
|
53
|
+
|
54
|
+
# Run specs in random order to surface order dependencies. If you find an
|
55
|
+
# order dependency and want to debug it, you can fix the order by providing
|
56
|
+
# the seed, which is printed after each run.
|
57
|
+
# --seed 1234
|
58
|
+
config.order = "random"
|
59
|
+
|
60
|
+
config.include FeatureMacros, type: :feature
|
61
|
+
config.include Storytime::Engine.routes.url_helpers
|
62
|
+
config.include Devise::TestHelpers, type: :controller
|
63
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module FeatureMacros
|
2
|
+
def login(user = nil, skip_site = false)
|
3
|
+
setup_site unless skip_site
|
4
|
+
user ||= FactoryGirl.create(:user)
|
5
|
+
visit new_user_session_path
|
6
|
+
|
7
|
+
fill_in "user_email", :with => user.email
|
8
|
+
fill_in "user_password", :with => user.password
|
9
|
+
|
10
|
+
click_on "Log In"
|
11
|
+
page.should have_content("Signed in successfully.")
|
12
|
+
@current_user = user
|
13
|
+
end
|
14
|
+
|
15
|
+
def login_admin(admin = nil)
|
16
|
+
login FactoryGirl.create(:admin)
|
17
|
+
end
|
18
|
+
|
19
|
+
def login_editor(editor = nil)
|
20
|
+
login FactoryGirl.create(:editor)
|
21
|
+
end
|
22
|
+
|
23
|
+
def login_writer(writer = nil)
|
24
|
+
login FactoryGirl.create(:writer)
|
25
|
+
end
|
26
|
+
|
27
|
+
def current_user
|
28
|
+
@current_user
|
29
|
+
end
|
30
|
+
|
31
|
+
def current_site
|
32
|
+
@current_site
|
33
|
+
end
|
34
|
+
|
35
|
+
def setup_site
|
36
|
+
@current_site = FactoryGirl.create(:site)
|
37
|
+
end
|
38
|
+
end
|
Binary file
|
@@ -0,0 +1,13 @@
|
|
1
|
+
RSpec::Matchers.define :permit! do |action|
|
2
|
+
match do |policy|
|
3
|
+
policy.public_send("#{action}?")
|
4
|
+
end
|
5
|
+
|
6
|
+
failure_message_for_should do |policy|
|
7
|
+
"#{policy.class} does not permit #{action} on #{policy.record} for #{policy.user.inspect}."
|
8
|
+
end
|
9
|
+
|
10
|
+
failure_message_for_should_not do |policy|
|
11
|
+
"#{policy.class} does not forbid #{action} on #{policy.record} for #{policy.user.inspect}."
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,521 @@
|
|
1
|
+
!function($, wysi) {
|
2
|
+
"use strict";
|
3
|
+
|
4
|
+
var tpl = {
|
5
|
+
"font-styles": function(locale, options) {
|
6
|
+
var size = (options && options.size) ? ' btn-'+options.size : '';
|
7
|
+
return "<li class='dropdown'>" +
|
8
|
+
"<a class='btn dropdown-toggle btn-" + size + " btn-default' data-toggle='dropdown' href='#'>" +
|
9
|
+
"<i class='glyphicon glyphicon-font'></i> <span class='current-font'>" + locale.font_styles.normal + "</span> <b class='caret'></b>" +
|
10
|
+
"</a>" +
|
11
|
+
"<ul class='dropdown-menu'>" +
|
12
|
+
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='div' tabindex='-1'>" + locale.font_styles.normal + "</a></li>" +
|
13
|
+
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h1' tabindex='-1'>" + locale.font_styles.h1 + "</a></li>" +
|
14
|
+
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h2' tabindex='-1'>" + locale.font_styles.h2 + "</a></li>" +
|
15
|
+
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h3' tabindex='-1'>" + locale.font_styles.h3 + "</a></li>" +
|
16
|
+
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h4'>" + locale.font_styles.h4 + "</a></li>" +
|
17
|
+
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h5'>" + locale.font_styles.h5 + "</a></li>" +
|
18
|
+
"<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h6'>" + locale.font_styles.h6 + "</a></li>" +
|
19
|
+
"</ul>" +
|
20
|
+
"</li>";
|
21
|
+
},
|
22
|
+
|
23
|
+
"emphasis": function(locale, options) {
|
24
|
+
var size = (options && options.size) ? ' btn-'+options.size : '';
|
25
|
+
return "<li>" +
|
26
|
+
"<div class='btn-group'>" +
|
27
|
+
"<a class='btn btn-" + size + " btn-default' data-wysihtml5-command='bold' title='CTRL+B' tabindex='-1'>" + locale.emphasis.bold + "</a>" +
|
28
|
+
"<a class='btn btn-" + size + " btn-default' data-wysihtml5-command='italic' title='CTRL+I' tabindex='-1'>" + locale.emphasis.italic + "</a>" +
|
29
|
+
"<a class='btn btn-" + size + " btn-default' data-wysihtml5-command='underline' title='CTRL+U' tabindex='-1'>" + locale.emphasis.underline + "</a>" +
|
30
|
+
"</div>" +
|
31
|
+
"</li>";
|
32
|
+
},
|
33
|
+
|
34
|
+
"lists": function(locale, options) {
|
35
|
+
var size = (options && options.size) ? ' btn-'+options.size : '';
|
36
|
+
return "<li>" +
|
37
|
+
"<div class='btn-group'>" +
|
38
|
+
"<a class='btn btn-" + size + " btn-default' data-wysihtml5-command='insertUnorderedList' title='" + locale.lists.unordered + "' tabindex='-1'><i class='glyphicon glyphicon-list'></i></a>" +
|
39
|
+
"<a class='btn btn-" + size + " btn-default' data-wysihtml5-command='insertOrderedList' title='" + locale.lists.ordered + "' tabindex='-1'><i class='glyphicon glyphicon-th-list'></i></a>" +
|
40
|
+
"<a class='btn btn-" + size + " btn-default' data-wysihtml5-command='Outdent' title='" + locale.lists.outdent + "' tabindex='-1'><i class='glyphicon glyphicon-indent-right'></i></a>" +
|
41
|
+
"<a class='btn btn-" + size + " btn-default' data-wysihtml5-command='Indent' title='" + locale.lists.indent + "' tabindex='-1'><i class='glyphicon glyphicon-indent-left'></i></a>" +
|
42
|
+
"</div>" +
|
43
|
+
"</li>";
|
44
|
+
},
|
45
|
+
|
46
|
+
"link": function(locale, options) {
|
47
|
+
var size = (options && options.size) ? ' btn-'+options.size : '';
|
48
|
+
return "<li>" +
|
49
|
+
""+
|
50
|
+
"<div class='bootstrap-wysihtml5-insert-link-modal modal fade'>" +
|
51
|
+
"<div class='modal-dialog'>"+
|
52
|
+
"<div class='modal-content'>"+
|
53
|
+
"<div class='modal-header'>" +
|
54
|
+
"<a class='close' data-dismiss='modal'>×</a>" +
|
55
|
+
"<h4>" + locale.link.insert + "</h4>" +
|
56
|
+
"</div>" +
|
57
|
+
"<div class='modal-body'>" +
|
58
|
+
"<input value='http://' class='bootstrap-wysihtml5-insert-link-url form-control'>" +
|
59
|
+
"<label class='checkbox'> <input type='checkbox' class='bootstrap-wysihtml5-insert-link-target' checked>" + locale.link.target + "</label>" +
|
60
|
+
"</div>" +
|
61
|
+
"<div class='modal-footer'>" +
|
62
|
+
"<button class='btn btn-default' data-dismiss='modal'>" + locale.link.cancel + "</button>" +
|
63
|
+
"<button href='#' class='btn btn-primary' data-dismiss='modal'>" + locale.link.insert + "</button>" +
|
64
|
+
"</div>" +
|
65
|
+
"</div>" +
|
66
|
+
"</div>" +
|
67
|
+
"</div>" +
|
68
|
+
"<a class='btn btn-" + size + " btn-default' data-wysihtml5-command='createLink' title='" + locale.link.insert + "' tabindex='-1'><i class='glyphicon glyphicon-share'></i></a>" +
|
69
|
+
"</li>";
|
70
|
+
},
|
71
|
+
|
72
|
+
"image": function(locale, options) {
|
73
|
+
var size = (options && options.size) ? ' btn-'+options.size : '';
|
74
|
+
return "<li>" +
|
75
|
+
"<div class='bootstrap-wysihtml5-insert-image-modal modal fade'>" +
|
76
|
+
"<div class='modal-dialog'>"+
|
77
|
+
"<div class='modal-content'>"+
|
78
|
+
"<div class='modal-header'>" +
|
79
|
+
"<a class='close' data-dismiss='modal'>×</a>" +
|
80
|
+
"<h4>" + locale.image.insert + "</h4>" +
|
81
|
+
"</div>" +
|
82
|
+
"<div class='modal-body'>" +
|
83
|
+
"<input value='http://' class='bootstrap-wysihtml5-insert-image-url form-control'>" +
|
84
|
+
"</div>" +
|
85
|
+
"<div class='modal-footer'>" +
|
86
|
+
"<button class='btn btn-default' data-dismiss='modal'>" + locale.image.cancel + "</button>" +
|
87
|
+
"<button class='btn btn-primary' data-dismiss='modal'>" + locale.image.insert + "</button>" +
|
88
|
+
"</div>" +
|
89
|
+
"</div>" +
|
90
|
+
"</div>" +
|
91
|
+
"</div>" +
|
92
|
+
"<a class='btn btn-" + size + " btn-default' data-wysihtml5-command='insertImage' title='" + locale.image.insert + "' tabindex='-1'><i class='glyphicon glyphicon-picture'></i></a>" +
|
93
|
+
"</li>";
|
94
|
+
},
|
95
|
+
|
96
|
+
"html": function(locale, options) {
|
97
|
+
var size = (options && options.size) ? ' btn-'+options.size : '';
|
98
|
+
return "<li>" +
|
99
|
+
"<div class='btn-group'>" +
|
100
|
+
"<a class='btn btn-" + size + " btn-default' data-wysihtml5-action='change_view' title='" + locale.html.edit + "' tabindex='-1'><i class='glyphicon glyphicon-pencil'></i></a>" +
|
101
|
+
"</div>" +
|
102
|
+
"</li>";
|
103
|
+
},
|
104
|
+
|
105
|
+
"color": function(locale, options) {
|
106
|
+
var size = (options && options.size) ? ' btn-'+options.size : '';
|
107
|
+
return "<li class='dropdown'>" +
|
108
|
+
"<a class='btn dropdown-toggle btn-" + size + " btn-default' data-toggle='dropdown' href='#' tabindex='-1'>" +
|
109
|
+
"<span class='current-color'>" + locale.colours.black + "</span> <b class='caret'></b>" +
|
110
|
+
"</a>" +
|
111
|
+
"<ul class='dropdown-menu'>" +
|
112
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='black'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='black'>" + locale.colours.black + "</a></li>" +
|
113
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='silver'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='silver'>" + locale.colours.silver + "</a></li>" +
|
114
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='gray'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='gray'>" + locale.colours.gray + "</a></li>" +
|
115
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='maroon'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='maroon'>" + locale.colours.maroon + "</a></li>" +
|
116
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='red'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='red'>" + locale.colours.red + "</a></li>" +
|
117
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='purple'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='purple'>" + locale.colours.purple + "</a></li>" +
|
118
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='green'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='green'>" + locale.colours.green + "</a></li>" +
|
119
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='olive'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='olive'>" + locale.colours.olive + "</a></li>" +
|
120
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='navy'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='navy'>" + locale.colours.navy + "</a></li>" +
|
121
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='blue'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='blue'>" + locale.colours.blue + "</a></li>" +
|
122
|
+
"<li><div class='wysihtml5-colors' data-wysihtml5-command-value='orange'></div><a class='wysihtml5-colors-title' data-wysihtml5-command='foreColor' data-wysihtml5-command-value='orange'>" + locale.colours.orange + "</a></li>" +
|
123
|
+
"</ul>" +
|
124
|
+
"</li>";
|
125
|
+
}
|
126
|
+
};
|
127
|
+
|
128
|
+
var templates = function(key, locale, options) {
|
129
|
+
return tpl[key](locale, options);
|
130
|
+
};
|
131
|
+
|
132
|
+
|
133
|
+
var Wysihtml5 = function(el, options) {
|
134
|
+
this.el = el;
|
135
|
+
var toolbarOpts = options || defaultOptions;
|
136
|
+
for(var t in toolbarOpts.customTemplates) {
|
137
|
+
tpl[t] = toolbarOpts.customTemplates[t];
|
138
|
+
}
|
139
|
+
this.toolbar = this.createToolbar(el, toolbarOpts);
|
140
|
+
this.editor = this.createEditor(options);
|
141
|
+
|
142
|
+
window.editor = this.editor;
|
143
|
+
|
144
|
+
$('iframe.wysihtml5-sandbox').each(function(i, el){
|
145
|
+
$(el.contentWindow).off('focus.wysihtml5').on({
|
146
|
+
'focus.wysihtml5' : function(){
|
147
|
+
$('li.dropdown').removeClass('open');
|
148
|
+
}
|
149
|
+
});
|
150
|
+
});
|
151
|
+
};
|
152
|
+
|
153
|
+
Wysihtml5.prototype = {
|
154
|
+
|
155
|
+
constructor: Wysihtml5,
|
156
|
+
|
157
|
+
createEditor: function(options) {
|
158
|
+
options = options || {};
|
159
|
+
|
160
|
+
// Add the toolbar to a clone of the options object so multiple instances
|
161
|
+
// of the WYISYWG don't break because "toolbar" is already defined
|
162
|
+
options = $.extend(true, {}, options);
|
163
|
+
options.toolbar = this.toolbar[0];
|
164
|
+
|
165
|
+
var editor = new wysi.Editor(this.el[0], options);
|
166
|
+
|
167
|
+
if(options && options.events) {
|
168
|
+
for(var eventName in options.events) {
|
169
|
+
editor.on(eventName, options.events[eventName]);
|
170
|
+
}
|
171
|
+
}
|
172
|
+
return editor;
|
173
|
+
},
|
174
|
+
|
175
|
+
createToolbar: function(el, options) {
|
176
|
+
var self = this;
|
177
|
+
var toolbar = $("<ul/>", {
|
178
|
+
'class' : "wysihtml5-toolbar",
|
179
|
+
'style': "display:none"
|
180
|
+
});
|
181
|
+
var culture = options.locale || defaultOptions.locale || "en";
|
182
|
+
for(var key in defaultOptions) {
|
183
|
+
var value = false;
|
184
|
+
|
185
|
+
if(options[key] !== undefined) {
|
186
|
+
if(options[key] === true) {
|
187
|
+
value = true;
|
188
|
+
}
|
189
|
+
} else {
|
190
|
+
value = defaultOptions[key];
|
191
|
+
}
|
192
|
+
|
193
|
+
if(value === true) {
|
194
|
+
toolbar.append(templates(key, locale[culture], options));
|
195
|
+
|
196
|
+
if(key === "html") {
|
197
|
+
this.initHtml(toolbar);
|
198
|
+
}
|
199
|
+
|
200
|
+
if(key === "link") {
|
201
|
+
this.initInsertLink(toolbar);
|
202
|
+
}
|
203
|
+
|
204
|
+
if(key === "image") {
|
205
|
+
this.initInsertImage(toolbar);
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
|
210
|
+
if(options.toolbar) {
|
211
|
+
for(key in options.toolbar) {
|
212
|
+
toolbar.append(options.toolbar[key]);
|
213
|
+
}
|
214
|
+
}
|
215
|
+
|
216
|
+
toolbar.find("a[data-wysihtml5-command='formatBlock']").click(function(e) {
|
217
|
+
var target = e.target || e.srcElement;
|
218
|
+
var el = $(target);
|
219
|
+
self.toolbar.find('.current-font').text(el.html());
|
220
|
+
});
|
221
|
+
|
222
|
+
toolbar.find("a[data-wysihtml5-command='foreColor']").click(function(e) {
|
223
|
+
var target = e.target || e.srcElement;
|
224
|
+
var el = $(target);
|
225
|
+
self.toolbar.find('.current-color').text(el.html());
|
226
|
+
});
|
227
|
+
|
228
|
+
this.el.before(toolbar);
|
229
|
+
|
230
|
+
return toolbar;
|
231
|
+
},
|
232
|
+
|
233
|
+
initHtml: function(toolbar) {
|
234
|
+
var changeViewSelector = "a[data-wysihtml5-action='change_view']";
|
235
|
+
toolbar.find(changeViewSelector).click(function(e) {
|
236
|
+
toolbar.find('a.btn').not(changeViewSelector).toggleClass('disabled');
|
237
|
+
});
|
238
|
+
},
|
239
|
+
|
240
|
+
initInsertImage: function(toolbar) {
|
241
|
+
var self = this;
|
242
|
+
var insertImageModal = toolbar.find('.bootstrap-wysihtml5-insert-image-modal');
|
243
|
+
var urlInput = insertImageModal.find('.bootstrap-wysihtml5-insert-image-url');
|
244
|
+
var insertButton = insertImageModal.find('.btn-primary');
|
245
|
+
var initialValue = urlInput.val();
|
246
|
+
var caretBookmark;
|
247
|
+
|
248
|
+
var insertImage = function() {
|
249
|
+
var url = urlInput.val();
|
250
|
+
urlInput.val(initialValue);
|
251
|
+
self.editor.currentView.element.focus();
|
252
|
+
if (caretBookmark) {
|
253
|
+
self.editor.composer.selection.setBookmark(caretBookmark);
|
254
|
+
caretBookmark = null;
|
255
|
+
}
|
256
|
+
self.editor.composer.commands.exec("insertImage", url);
|
257
|
+
};
|
258
|
+
|
259
|
+
urlInput.keypress(function(e) {
|
260
|
+
if(e.which == 13) {
|
261
|
+
insertImage();
|
262
|
+
insertImageModal.modal('hide');
|
263
|
+
}
|
264
|
+
});
|
265
|
+
|
266
|
+
insertButton.click(insertImage);
|
267
|
+
|
268
|
+
insertImageModal.on('shown', function() {
|
269
|
+
urlInput.focus();
|
270
|
+
});
|
271
|
+
|
272
|
+
insertImageModal.on('hide', function() {
|
273
|
+
self.editor.currentView.element.focus();
|
274
|
+
});
|
275
|
+
|
276
|
+
toolbar.find('a[data-wysihtml5-command=insertImage]').click(function() {
|
277
|
+
var activeButton = $(this).hasClass("wysihtml5-command-active");
|
278
|
+
|
279
|
+
if (!activeButton) {
|
280
|
+
self.editor.currentView.element.focus(false);
|
281
|
+
caretBookmark = self.editor.composer.selection.getBookmark();
|
282
|
+
insertImageModal.appendTo('body').modal('show');
|
283
|
+
insertImageModal.on('click.dismiss.modal', '[data-dismiss="modal"]', function(e) {
|
284
|
+
e.stopPropagation();
|
285
|
+
});
|
286
|
+
return false;
|
287
|
+
}
|
288
|
+
else {
|
289
|
+
return true;
|
290
|
+
}
|
291
|
+
});
|
292
|
+
},
|
293
|
+
|
294
|
+
initInsertLink: function(toolbar) {
|
295
|
+
var self = this;
|
296
|
+
var insertLinkModal = toolbar.find('.bootstrap-wysihtml5-insert-link-modal');
|
297
|
+
var urlInput = insertLinkModal.find('.bootstrap-wysihtml5-insert-link-url');
|
298
|
+
var targetInput = insertLinkModal.find('.bootstrap-wysihtml5-insert-link-target');
|
299
|
+
var insertButton = insertLinkModal.find('.btn-primary');
|
300
|
+
var initialValue = urlInput.val();
|
301
|
+
var caretBookmark;
|
302
|
+
|
303
|
+
var insertLink = function() {
|
304
|
+
var url = urlInput.val();
|
305
|
+
urlInput.val(initialValue);
|
306
|
+
self.editor.currentView.element.focus();
|
307
|
+
if (caretBookmark) {
|
308
|
+
self.editor.composer.selection.setBookmark(caretBookmark);
|
309
|
+
caretBookmark = null;
|
310
|
+
}
|
311
|
+
|
312
|
+
var newWindow = targetInput.prop("checked");
|
313
|
+
self.editor.composer.commands.exec("createLink", {
|
314
|
+
'href' : url,
|
315
|
+
'target' : (newWindow ? '_blank' : '_self'),
|
316
|
+
'rel' : (newWindow ? 'nofollow' : '')
|
317
|
+
});
|
318
|
+
};
|
319
|
+
var pressedEnter = false;
|
320
|
+
|
321
|
+
urlInput.keypress(function(e) {
|
322
|
+
if(e.which == 13) {
|
323
|
+
insertLink();
|
324
|
+
insertLinkModal.modal('hide');
|
325
|
+
}
|
326
|
+
});
|
327
|
+
|
328
|
+
insertButton.click(insertLink);
|
329
|
+
|
330
|
+
insertLinkModal.on('shown', function() {
|
331
|
+
urlInput.focus();
|
332
|
+
});
|
333
|
+
|
334
|
+
insertLinkModal.on('hide', function() {
|
335
|
+
self.editor.currentView.element.focus();
|
336
|
+
});
|
337
|
+
|
338
|
+
toolbar.find('a[data-wysihtml5-command=createLink]').click(function() {
|
339
|
+
var activeButton = $(this).hasClass("wysihtml5-command-active");
|
340
|
+
|
341
|
+
if (!activeButton) {
|
342
|
+
self.editor.currentView.element.focus(false);
|
343
|
+
caretBookmark = self.editor.composer.selection.getBookmark();
|
344
|
+
insertLinkModal.appendTo('body').modal('show');
|
345
|
+
insertLinkModal.on('click.dismiss.modal', '[data-dismiss="modal"]', function(e) {
|
346
|
+
e.stopPropagation();
|
347
|
+
});
|
348
|
+
return false;
|
349
|
+
}
|
350
|
+
else {
|
351
|
+
return true;
|
352
|
+
}
|
353
|
+
});
|
354
|
+
}
|
355
|
+
};
|
356
|
+
|
357
|
+
// these define our public api
|
358
|
+
var methods = {
|
359
|
+
resetDefaults: function() {
|
360
|
+
$.fn.wysihtml5.defaultOptions = $.extend(true, {}, $.fn.wysihtml5.defaultOptionsCache);
|
361
|
+
},
|
362
|
+
bypassDefaults: function(options) {
|
363
|
+
return this.each(function () {
|
364
|
+
var $this = $(this);
|
365
|
+
$this.data('wysihtml5', new Wysihtml5($this, options));
|
366
|
+
});
|
367
|
+
},
|
368
|
+
shallowExtend: function (options) {
|
369
|
+
var settings = $.extend({}, $.fn.wysihtml5.defaultOptions, options || {}, $(this).data());
|
370
|
+
var that = this;
|
371
|
+
return methods.bypassDefaults.apply(that, [settings]);
|
372
|
+
},
|
373
|
+
deepExtend: function(options) {
|
374
|
+
var settings = $.extend(true, {}, $.fn.wysihtml5.defaultOptions, options || {});
|
375
|
+
var that = this;
|
376
|
+
return methods.bypassDefaults.apply(that, [settings]);
|
377
|
+
},
|
378
|
+
init: function(options) {
|
379
|
+
var that = this;
|
380
|
+
return methods.shallowExtend.apply(that, [options]);
|
381
|
+
}
|
382
|
+
};
|
383
|
+
|
384
|
+
$.fn.wysihtml5 = function ( method ) {
|
385
|
+
if ( methods[method] ) {
|
386
|
+
return methods[method].apply( this, Array.prototype.slice.call( arguments, 1 ));
|
387
|
+
} else if ( typeof method === 'object' || ! method ) {
|
388
|
+
return methods.init.apply( this, arguments );
|
389
|
+
} else {
|
390
|
+
$.error( 'Method ' + method + ' does not exist on jQuery.wysihtml5' );
|
391
|
+
}
|
392
|
+
};
|
393
|
+
|
394
|
+
$.fn.wysihtml5.Constructor = Wysihtml5;
|
395
|
+
|
396
|
+
var defaultOptions = $.fn.wysihtml5.defaultOptions = {
|
397
|
+
"font-styles": true,
|
398
|
+
"color": false,
|
399
|
+
"emphasis": true,
|
400
|
+
"lists": true,
|
401
|
+
"html": false,
|
402
|
+
"link": true,
|
403
|
+
"image": true,
|
404
|
+
"size": 'sm',
|
405
|
+
events: {},
|
406
|
+
parserRules: {
|
407
|
+
classes: {
|
408
|
+
// (path_to_project/lib/css/bootstrap3-wysiwyg5-color.css)
|
409
|
+
"wysiwyg-color-silver" : 1,
|
410
|
+
"wysiwyg-color-gray" : 1,
|
411
|
+
"wysiwyg-color-white" : 1,
|
412
|
+
"wysiwyg-color-maroon" : 1,
|
413
|
+
"wysiwyg-color-red" : 1,
|
414
|
+
"wysiwyg-color-purple" : 1,
|
415
|
+
"wysiwyg-color-fuchsia" : 1,
|
416
|
+
"wysiwyg-color-green" : 1,
|
417
|
+
"wysiwyg-color-lime" : 1,
|
418
|
+
"wysiwyg-color-olive" : 1,
|
419
|
+
"wysiwyg-color-yellow" : 1,
|
420
|
+
"wysiwyg-color-navy" : 1,
|
421
|
+
"wysiwyg-color-blue" : 1,
|
422
|
+
"wysiwyg-color-teal" : 1,
|
423
|
+
"wysiwyg-color-aqua" : 1,
|
424
|
+
"wysiwyg-color-orange" : 1
|
425
|
+
},
|
426
|
+
tags: {
|
427
|
+
"b": {},
|
428
|
+
"i": {},
|
429
|
+
"br": {},
|
430
|
+
"ol": {},
|
431
|
+
"ul": {},
|
432
|
+
"li": {},
|
433
|
+
"h1": {},
|
434
|
+
"h2": {},
|
435
|
+
"h3": {},
|
436
|
+
"h4": {},
|
437
|
+
"h5": {},
|
438
|
+
"h6": {},
|
439
|
+
"blockquote": {},
|
440
|
+
"u": 1,
|
441
|
+
"img": {
|
442
|
+
"check_attributes": {
|
443
|
+
"width": "numbers",
|
444
|
+
"alt": "alt",
|
445
|
+
"src": "url",
|
446
|
+
"height": "numbers"
|
447
|
+
}
|
448
|
+
},
|
449
|
+
"a": {
|
450
|
+
check_attributes: {
|
451
|
+
'href': "url", // important to avoid XSS
|
452
|
+
'target': 'alt',
|
453
|
+
'rel': 'alt'
|
454
|
+
}
|
455
|
+
},
|
456
|
+
"span": 1,
|
457
|
+
"div": 1,
|
458
|
+
// to allow save and edit files with code tag hacks
|
459
|
+
"code": 1,
|
460
|
+
"pre": 1
|
461
|
+
}
|
462
|
+
},
|
463
|
+
stylesheets: ["/assets/bootstrap3-wysiwyg5-color.css"], // (path_to_project/lib/css/bootstrap3-wysiwyg5-color.css)
|
464
|
+
locale: "en"
|
465
|
+
};
|
466
|
+
|
467
|
+
if (typeof $.fn.wysihtml5.defaultOptionsCache === 'undefined') {
|
468
|
+
$.fn.wysihtml5.defaultOptionsCache = $.extend(true, {}, $.fn.wysihtml5.defaultOptions);
|
469
|
+
}
|
470
|
+
|
471
|
+
var locale = $.fn.wysihtml5.locale = {
|
472
|
+
en: {
|
473
|
+
font_styles: {
|
474
|
+
normal: "Normal text",
|
475
|
+
h1: "Heading 1",
|
476
|
+
h2: "Heading 2",
|
477
|
+
h3: "Heading 3",
|
478
|
+
h4: "Heading 4",
|
479
|
+
h5: "Heading 5",
|
480
|
+
h6: "Heading 6"
|
481
|
+
},
|
482
|
+
emphasis: {
|
483
|
+
bold: "Bold",
|
484
|
+
italic: "Italic",
|
485
|
+
underline: "Underline"
|
486
|
+
},
|
487
|
+
lists: {
|
488
|
+
unordered: "Unordered list",
|
489
|
+
ordered: "Ordered list",
|
490
|
+
outdent: "Outdent",
|
491
|
+
indent: "Indent"
|
492
|
+
},
|
493
|
+
link: {
|
494
|
+
insert: "Insert link",
|
495
|
+
cancel: "Cancel",
|
496
|
+
target: "Open link in new window"
|
497
|
+
},
|
498
|
+
image: {
|
499
|
+
insert: "Insert image",
|
500
|
+
cancel: "Cancel"
|
501
|
+
},
|
502
|
+
html: {
|
503
|
+
edit: "Edit HTML"
|
504
|
+
},
|
505
|
+
colours: {
|
506
|
+
black: "Black",
|
507
|
+
silver: "Silver",
|
508
|
+
gray: "Grey",
|
509
|
+
maroon: "Maroon",
|
510
|
+
red: "Red",
|
511
|
+
purple: "Purple",
|
512
|
+
green: "Green",
|
513
|
+
olive: "Olive",
|
514
|
+
navy: "Navy",
|
515
|
+
blue: "Blue",
|
516
|
+
orange: "Orange"
|
517
|
+
}
|
518
|
+
}
|
519
|
+
};
|
520
|
+
|
521
|
+
}(window.jQuery, window.wysihtml5);
|