ish_lib_assets 0.1.3
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 +37 -0
- data/app/assets/images/200x200/devops.png +0 -0
- data/app/assets/images/200x200/html5.jpg +0 -0
- data/app/assets/images/200x200/nodejs.png +0 -0
- data/app/assets/images/200x200/project_management.jpg +0 -0
- data/app/assets/images/200x200/ror.jpg +0 -0
- data/app/assets/images/200x200/uiux.jpg +0 -0
- data/app/assets/images/400x400/contact-us.png +0 -0
- data/app/assets/images/400x400/devops.png +0 -0
- data/app/assets/images/400x400/html5.jpg +0 -0
- data/app/assets/images/400x400/nodejs.png +0 -0
- data/app/assets/images/400x400/project_management.jpg +0 -0
- data/app/assets/images/400x400/ror.jpg +0 -0
- data/app/assets/images/400x400/the-cloud.png +0 -0
- data/app/assets/images/400x400/uiux.jpg +0 -0
- data/app/assets/images/backgrounds/10.jpg +0 -0
- data/app/assets/images/backgrounds/11.jpg +0 -0
- data/app/assets/images/backgrounds/12.jpg +0 -0
- data/app/assets/images/backgrounds/6.jpg +0 -0
- data/app/assets/images/backgrounds/7.jpg +0 -0
- data/app/assets/images/backgrounds/8.jpg +0 -0
- data/app/assets/images/backgrounds/9.jpg +0 -0
- data/app/assets/images/backgrounds/970_grey-blue.png +0 -0
- data/app/assets/images/backgrounds/970_white.png +0 -0
- data/app/assets/images/backgrounds/970_yellow.png +0 -0
- data/app/assets/images/backgrounds/bg-circles.png +0 -0
- data/app/assets/images/backgrounds/bg5.jpg +0 -0
- data/app/assets/images/backgrounds/bg6.jpg +0 -0
- data/app/assets/images/backgrounds/bg_texture_dark.jpg +0 -0
- data/app/assets/images/backgrounds/bkg_bg.gif +0 -0
- data/app/assets/images/backgrounds/blue-seamless.jpg +0 -0
- data/app/assets/images/backgrounds/flower_1.jpg +0 -0
- data/app/assets/images/backgrounds/glitch1.jpg +0 -0
- data/app/assets/images/backgrounds/glitch2.jpg +0 -0
- data/app/assets/images/backgrounds/gray-1.jpg +0 -0
- data/app/assets/images/backgrounds/havaianas.jpg +0 -0
- data/app/assets/images/backgrounds/light-purple.jpg +0 -0
- data/app/assets/images/backgrounds/noise.jpg +0 -0
- data/app/assets/images/backgrounds/paper.jpg +0 -0
- data/app/assets/images/backgrounds/pattern_011.gif +0 -0
- data/app/assets/images/backgrounds/pattern_013.gif +0 -0
- data/app/assets/images/backgrounds/pattern_016.gif +0 -0
- data/app/assets/images/backgrounds/pattern_020.gif +0 -0
- data/app/assets/images/backgrounds/pattern_022.gif +0 -0
- data/app/assets/images/backgrounds/pattern_044.gif +0 -0
- data/app/assets/images/backgrounds/pattern_062.gif +0 -0
- data/app/assets/images/backgrounds/pattern_096.gif +0 -0
- data/app/assets/images/backgrounds/pattern_153.gif +0 -0
- data/app/assets/images/backgrounds/pattern_154.gif +0 -0
- data/app/assets/images/backgrounds/pattern_156.gif +0 -0
- data/app/assets/images/backgrounds/pattern_157.gif +0 -0
- data/app/assets/images/backgrounds/skull_1.jpg +0 -0
- data/app/assets/images/backgrounds/sky.jpg +0 -0
- data/app/assets/images/backgrounds/sky2.jpg +0 -0
- data/app/assets/images/backgrounds/sky3.jpg +0 -0
- data/app/assets/images/backgrounds/sky4.jpg +0 -0
- data/app/assets/images/backgrounds/sky5.jpg +0 -0
- data/app/assets/images/backgrounds/transparent_40.png +0 -0
- data/app/assets/images/backgrounds/transparent_70.png +0 -0
- data/app/assets/images/backgrounds/transparent_90.png +0 -0
- data/app/assets/images/backgrounds/white-seamless.jpg +0 -0
- data/app/assets/images/backgrounds/white_970x5.png +0 -0
- data/app/assets/images/backgrounds/white_blue_1.jpg +0 -0
- data/app/assets/images/cac/dot-footer.png +0 -0
- data/app/assets/images/cac/dot-header.png +0 -0
- data/app/assets/images/cac/list-style.png +0 -0
- data/app/assets/images/cac/map.png +0 -0
- data/app/assets/images/cac/phone.png +0 -0
- data/app/assets/images/cac/phone_number.png +0 -0
- data/app/assets/images/cac/screenshots/about.png +0 -0
- data/app/assets/images/cac/screenshots/contact.png +0 -0
- data/app/assets/images/cac/screenshots/home.png +0 -0
- data/app/assets/images/cac/screenshots/home.psd +0 -0
- data/app/assets/images/cac/screenshots/portfolio.png +0 -0
- data/app/assets/images/cac/screenshots/services.png +0 -0
- data/app/assets/images/cac/screenshots/team.png +0 -0
- data/app/assets/images/cac/sfbay.jpg +0 -0
- data/app/assets/images/cac/sprite.png +0 -0
- data/app/assets/images/cac/team/lizza.jpg +0 -0
- data/app/assets/images/cac/team/lizza_raw.jpg +0 -0
- data/app/assets/images/cac/team/piousbox.jpg +0 -0
- data/app/assets/images/close.png +0 -0
- data/app/assets/images/contact.png +0 -0
- data/app/assets/images/controls.png +0 -0
- data/app/assets/images/favicon.gif +0 -0
- data/app/assets/images/favicons/cac.gif +0 -0
- data/app/assets/images/favicons/ish.gif +0 -0
- data/app/assets/images/favicons/manager.ico +0 -0
- data/app/assets/images/favicons/piousbox.gif +0 -0
- data/app/assets/images/favicons/ppf.gif +0 -0
- data/app/assets/images/flags/br.png +0 -0
- data/app/assets/images/flags/en.png +0 -0
- data/app/assets/images/flags/pt.png +0 -0
- data/app/assets/images/flags/ru.png +0 -0
- data/app/assets/images/flags/us.png +0 -0
- data/app/assets/images/grad-hr.png +0 -0
- data/app/assets/images/gradient.png +0 -0
- data/app/assets/images/icons/100x100/hazard.png +0 -0
- data/app/assets/images/icons/100x100/venue.png +0 -0
- data/app/assets/images/icons/10x10/thumbs_down.png +0 -0
- data/app/assets/images/icons/10x10/thumbs_up.png +0 -0
- data/app/assets/images/icons/128x128/manager.png +0 -0
- data/app/assets/images/icons/12x12/tag.png +0 -0
- data/app/assets/images/icons/14x14/bullet.png +0 -0
- data/app/assets/images/icons/16x16/cancel.png +0 -0
- data/app/assets/images/icons/16x16/delete.png +0 -0
- data/app/assets/images/icons/16x16/expand_down.png +0 -0
- data/app/assets/images/icons/16x16/new_16.png +0 -0
- data/app/assets/images/icons/16x16/search.png +0 -0
- data/app/assets/images/icons/16x16/uploadify-cancel.png +0 -0
- data/app/assets/images/icons/20x20/edit.png +0 -0
- data/app/assets/images/icons/20x20/email.gif +0 -0
- data/app/assets/images/icons/20x20/expand.gif +0 -0
- data/app/assets/images/icons/20x20/eye-crossed.png +0 -0
- data/app/assets/images/icons/20x20/eye.png +0 -0
- data/app/assets/images/icons/20x20/facebook.gif +0 -0
- data/app/assets/images/icons/20x20/gmail.gif +0 -0
- data/app/assets/images/icons/20x20/java.gif +0 -0
- data/app/assets/images/icons/20x20/linkedin.png +0 -0
- data/app/assets/images/icons/20x20/lock.gif +0 -0
- data/app/assets/images/icons/20x20/new.png +0 -0
- data/app/assets/images/icons/20x20/pdf.gif +0 -0
- data/app/assets/images/icons/20x20/php.jpg +0 -0
- data/app/assets/images/icons/20x20/private.png +0 -0
- data/app/assets/images/icons/20x20/private2.png +0 -0
- data/app/assets/images/icons/20x20/public.png +0 -0
- data/app/assets/images/icons/20x20/public2.png +0 -0
- data/app/assets/images/icons/20x20/python.png +0 -0
- data/app/assets/images/icons/20x20/search.png +0 -0
- data/app/assets/images/icons/20x20/top.gif +0 -0
- data/app/assets/images/icons/20x20/trash.png +0 -0
- data/app/assets/images/icons/20x20/wiki.gif +0 -0
- data/app/assets/images/icons/20x20/wp.gif +0 -0
- data/app/assets/images/icons/20x20/youtube.png +0 -0
- data/app/assets/images/icons/24x24/configure.png +0 -0
- data/app/assets/images/icons/24x24/customize.png +0 -0
- data/app/assets/images/icons/24x24/edit.png +0 -0
- data/app/assets/images/icons/24x24/trash.png +0 -0
- data/app/assets/images/icons/28x28/customize.png +0 -0
- data/app/assets/images/icons/28x28/expand.png +0 -0
- data/app/assets/images/icons/32x32/comment.png +0 -0
- data/app/assets/images/icons/32x32/delicious.png +0 -0
- data/app/assets/images/icons/32x32/doc.png +0 -0
- data/app/assets/images/icons/32x32/email.png +0 -0
- data/app/assets/images/icons/32x32/expand_down.png +0 -0
- data/app/assets/images/icons/32x32/facebook.png +0 -0
- data/app/assets/images/icons/32x32/github.png +0 -0
- data/app/assets/images/icons/32x32/home.png +0 -0
- data/app/assets/images/icons/32x32/linkedin.png +0 -0
- data/app/assets/images/icons/32x32/list.png +0 -0
- data/app/assets/images/icons/32x32/logout.png +0 -0
- data/app/assets/images/icons/32x32/manager.png +0 -0
- data/app/assets/images/icons/32x32/myspace.png +0 -0
- data/app/assets/images/icons/32x32/new.png +0 -0
- data/app/assets/images/icons/32x32/new_addritem.png +0 -0
- data/app/assets/images/icons/32x32/pdf.png +0 -0
- data/app/assets/images/icons/32x32/photos_new.png +0 -0
- data/app/assets/images/icons/32x32/print.png +0 -0
- data/app/assets/images/icons/32x32/scratchpad.png +0 -0
- data/app/assets/images/icons/32x32/search.png +0 -0
- data/app/assets/images/icons/32x32/sharethis.png +0 -0
- data/app/assets/images/icons/32x32/thumbs_down.png +0 -0
- data/app/assets/images/icons/32x32/thumbs_down_2.png +0 -0
- data/app/assets/images/icons/32x32/thumbs_up.png +0 -0
- data/app/assets/images/icons/32x32/thumbs_up_2.png +0 -0
- data/app/assets/images/icons/32x32/trac.gif +0 -0
- data/app/assets/images/icons/32x32/trash.png +0 -0
- data/app/assets/images/icons/32x32/twitter.png +0 -0
- data/app/assets/images/icons/32x32/upload.png +0 -0
- data/app/assets/images/icons/32x32/word.png +0 -0
- data/app/assets/images/icons/40x40/search_40x40.png +0 -0
- data/app/assets/images/icons/48x48/city.png +0 -0
- data/app/assets/images/icons/48x48/new_photo.png +0 -0
- data/app/assets/images/icons/64x64/extended_forms.png +0 -0
- data/app/assets/images/icons/64x64/facebook.png +0 -0
- data/app/assets/images/icons/64x64/facebook_flat.png +0 -0
- data/app/assets/images/icons/64x64/github.png +0 -0
- data/app/assets/images/icons/64x64/github_flat.png +0 -0
- data/app/assets/images/icons/64x64/google.png +0 -0
- data/app/assets/images/icons/64x64/linkedin.png +0 -0
- data/app/assets/images/icons/64x64/linkedin_flat.png +0 -0
- data/app/assets/images/icons/64x64/manager.png +0 -0
- data/app/assets/images/icons/64x64/my-profile.png +0 -0
- data/app/assets/images/icons/64x64/new_addritem.png +0 -0
- data/app/assets/images/icons/64x64/new_photo.png +0 -0
- data/app/assets/images/icons/64x64/new_report.png +0 -0
- data/app/assets/images/icons/64x64/openid.png +0 -0
- data/app/assets/images/icons/64x64/rails.png +0 -0
- data/app/assets/images/icons/64x64/scratchpad.png +0 -0
- data/app/assets/images/icons/64x64/settings.png +0 -0
- data/app/assets/images/icons/64x64/twitter.png +0 -0
- data/app/assets/images/icons/64x64/yahoo_64.png +0 -0
- data/app/assets/images/icons/64x64/youtube_flat.png +0 -0
- data/app/assets/images/icons/96x96/doc.png +0 -0
- data/app/assets/images/icons/96x96/pdf.png +0 -0
- data/app/assets/images/icons/96x96/venue.png +0 -0
- data/app/assets/images/icons/delete.png +0 -0
- data/app/assets/images/icons/delicious.png +0 -0
- data/app/assets/images/icons/edit.png +0 -0
- data/app/assets/images/icons/email.gif +0 -0
- data/app/assets/images/icons/expand.gif +0 -0
- data/app/assets/images/icons/facebook.gif +0 -0
- data/app/assets/images/icons/gmail.gif +0 -0
- data/app/assets/images/icons/hazard.png +0 -0
- data/app/assets/images/icons/new_16.png +0 -0
- data/app/assets/images/icons/open.png +0 -0
- data/app/assets/images/icons/php.jpg +0 -0
- data/app/assets/images/icons/rails.png +0 -0
- data/app/assets/images/icons/search_40x40.png +0 -0
- data/app/assets/images/icons/tag.png +0 -0
- data/app/assets/images/icons/top.gif +0 -0
- data/app/assets/images/icons/trash/calendar.png +0 -0
- data/app/assets/images/left.png +0 -0
- data/app/assets/images/loading-100x100.gif +0 -0
- data/app/assets/images/loading.gif +0 -0
- data/app/assets/images/login_with_facebook.png +0 -0
- data/app/assets/images/logos/100x100/ish.png +0 -0
- data/app/assets/images/logos/100x100/ish_logo_100.png +0 -0
- data/app/assets/images/logos/100x100/logo100x100.png +0 -0
- data/app/assets/images/logos/200x200/ish_logo_200.gif +0 -0
- data/app/assets/images/logos/20x20/ish.gif +0 -0
- data/app/assets/images/logos/400x400/cac.jpg +0 -0
- data/app/assets/images/logos/400x400/ish.png +0 -0
- data/app/assets/images/logos/400x400/ish_logo_400.gif +0 -0
- data/app/assets/images/logos/400x400/ish_logo_400.jpg +0 -0
- data/app/assets/images/logos/400x400/ish_logo_400.png +0 -0
- data/app/assets/images/logos/400x400/ish_logo_400.psd +0 -0
- data/app/assets/images/logos/40x40/ish.png +0 -0
- data/app/assets/images/logos/40x40/ish_logo_40.png +0 -0
- data/app/assets/images/logos/45x45/ish.png +0 -0
- data/app/assets/images/logos/60x60/logo_60x60.png +0 -0
- type_on gray].eps +0 -0
- type_on white].eps +0 -0
- data/app/assets/images/logos/Infinite Shelter/Infinitre Shelter_FINAL [image_on gray].eps +0 -0
- data/app/assets/images/logos/Infinite Shelter/Infinitre Shelter_FINAL [image_on white].eps +0 -0
- data/app/assets/images/logos/Infinite Shelter/Infinitre-Shelter_FINAL-[image-and-type_on-gray].png +0 -0
- data/app/assets/images/logos/Infinite Shelter/Infinitre-Shelter_FINAL-[image-and-type_on-white].png +0 -0
- data/app/assets/images/logos/Infinite Shelter/Infinitre-Shelter_FINAL-[image_on-gray].png +0 -0
- data/app/assets/images/logos/Infinite Shelter/Infinitre-Shelter_FINAL-[image_on-white].png +0 -0
- data/app/assets/images/logos/Infinite Shelter/logo100x100.png +0 -0
- data/app/assets/images/logos/Infinite Shelter/logo30.jpg +0 -0
- data/app/assets/images/logos/Infinite Shelter/logoGray.png +0 -0
- data/app/assets/images/logos/Infinite Shelter/logoWhite.png +0 -0
- data/app/assets/images/logos/Infinitre-Shelter_FINAL-[image_on-white].png +0 -0
- data/app/assets/images/logos/cac.png +0 -0
- data/app/assets/images/logos/cac/CAC_logo_02_FINAL.eps +0 -0
- data/app/assets/images/logos/cac/cac.jpg +0 -0
- data/app/assets/images/logos/cac/cac.png +0 -0
- data/app/assets/images/logos/cac_long.jpg +0 -0
- data/app/assets/images/logos/ish.png +0 -0
- data/app/assets/images/logos/ish_logo_100.png +0 -0
- data/app/assets/images/logos/ish_logo_20.gif +0 -0
- data/app/assets/images/logos/ish_logo_200.gif +0 -0
- data/app/assets/images/logos/ish_logo_40.gif +0 -0
- data/app/assets/images/logos/ish_logo_40.png +0 -0
- data/app/assets/images/logos/ish_logo_400.gif +0 -0
- data/app/assets/images/logos/ish_logo_400.jpg +0 -0
- data/app/assets/images/logos/ish_logo_400.png +0 -0
- data/app/assets/images/logos/ish_logo_400.psd +0 -0
- data/app/assets/images/logos/logo.png +0 -0
- data/app/assets/images/logos/logo100x100.png +0 -0
- data/app/assets/images/logos/logo_60x60.png +0 -0
- data/app/assets/images/logos/organizer.png +0 -0
- data/app/assets/images/logos/ppf.gif +0 -0
- data/app/assets/images/logos/travel.png +0 -0
- data/app/assets/images/logos/travel_guide.png +0 -0
- data/app/assets/images/missing.png +0 -0
- data/app/assets/images/next.png +0 -0
- data/app/assets/images/no_photo.png +0 -0
- data/app/assets/images/no_photo_mini.png +0 -0
- data/app/assets/images/organizer/blue-arrow-right.png +0 -0
- data/app/assets/images/organizer/sprite2.png +0 -0
- data/app/assets/images/ppf.gif +0 -0
- data/app/assets/images/prev.png +0 -0
- data/app/assets/images/resume/language.png +0 -0
- data/app/assets/images/resume/main-nav-left.png +0 -0
- data/app/assets/images/resume/main-nav-right-active.png +0 -0
- data/app/assets/images/resume/main-nav-right.png +0 -0
- data/app/assets/images/resume/user-name-left.png +0 -0
- data/app/assets/images/resume/user-name-right.png +0 -0
- data/app/assets/images/right.png +0 -0
- data/app/assets/images/showv/about-us.jpg +0 -0
- data/app/assets/images/showv/arrows-ffffff.png +0 -0
- data/app/assets/images/showv/dragon_head_bottom.jpg +0 -0
- data/app/assets/images/showv/dragon_head_top.jpg +0 -0
- data/app/assets/images/showv/menu-border.png +0 -0
- data/app/assets/images/showv/shadow.png +0 -0
- data/app/assets/images/showv/subhead-bg.png +0 -0
- data/app/assets/images/showv/world.jpg +0 -0
- data/app/assets/images/src/contact-us.png +0 -0
- data/app/assets/images/src/devops-cropped.png +0 -0
- data/app/assets/images/src/devops.png +0 -0
- data/app/assets/images/src/html5.jpg +0 -0
- data/app/assets/images/src/html5_cropped.jpg +0 -0
- data/app/assets/images/src/nodejs.png +0 -0
- data/app/assets/images/src/nodejs_cropped.png +0 -0
- data/app/assets/images/src/project_management.jpg +0 -0
- data/app/assets/images/src/ror.jpg +0 -0
- data/app/assets/images/src/the-cloud.png +0 -0
- data/app/assets/images/src/uiux.jpg +0 -0
- data/app/assets/images/venue.png +0 -0
- data/app/assets/images/wait.gif +0 -0
- data/app/assets/javascripts/application.js +8 -0
- data/app/assets/javascripts/application.js~ +8 -0
- data/app/assets/javascripts/application_foundation.js +19 -0
- data/app/assets/javascripts/ish_lib_assets/application.js +13 -0
- data/app/assets/javascripts/photos_multiadd.coffee +35 -0
- data/app/assets/javascripts/utils.coffee +36 -0
- data/app/assets/stylesheets/application.css +25 -0
- data/app/assets/stylesheets/application.css~ +10 -0
- data/app/assets/stylesheets/application_foundation/galleries.sass +11 -0
- data/app/assets/stylesheets/application_foundation/header_footer.sass +21 -0
- data/app/assets/stylesheets/application_foundation/layout.sass +10 -0
- data/app/assets/stylesheets/application_foundation/newsitems.sass +20 -0
- data/app/assets/stylesheets/application_foundation/reports.sass +16 -0
- data/app/assets/stylesheets/application_foundation/users.sass +4 -0
- data/app/assets/stylesheets/application_foundation/videos.sass +11 -0
- data/app/assets/stylesheets/application_manager.css +6 -0
- data/app/assets/stylesheets/application_print.css +6 -0
- data/app/assets/stylesheets/application_resume.css +13 -0
- data/app/assets/stylesheets/application_resume.css~ +13 -0
- data/app/assets/stylesheets/application_resume_2.css +13 -0
- data/app/assets/stylesheets/application_resume_2.css~ +13 -0
- data/app/assets/stylesheets/common/_ads.sass +77 -0
- data/app/assets/stylesheets/common/_maps.sass +63 -0
- data/app/assets/stylesheets/common/_rate_this.sass +23 -0
- data/app/assets/stylesheets/common/_set_locale.sass +37 -0
- data/app/assets/stylesheets/common/blog.sass +7 -0
- data/app/assets/stylesheets/common/cities.sass +202 -0
- data/app/assets/stylesheets/common/common.sass +111 -0
- data/app/assets/stylesheets/common/devise.sass +29 -0
- data/app/assets/stylesheets/common/events.sass +9 -0
- data/app/assets/stylesheets/common/features.sass +28 -0
- data/app/assets/stylesheets/common/form.sass +19 -0
- data/app/assets/stylesheets/common/galleries.sass +216 -0
- data/app/assets/stylesheets/common/hf2.sass +91 -0
- data/app/assets/stylesheets/common/newsitems.sass +31 -0
- data/app/assets/stylesheets/common/photos.sass +32 -0
- data/app/assets/stylesheets/common/rate_me.sass +8 -0
- data/app/assets/stylesheets/common/reports.sass +269 -0
- data/app/assets/stylesheets/common/tags.sass +64 -0
- data/app/assets/stylesheets/common/trash/blog.sass +7 -0
- data/app/assets/stylesheets/common/users.sass +96 -0
- data/app/assets/stylesheets/common/users_organizer.sass +31 -0
- data/app/assets/stylesheets/common/users_organizer_forms.sass +126 -0
- data/app/assets/stylesheets/common/utils.sass +123 -0
- data/app/assets/stylesheets/common/vars.sass +44 -0
- data/app/assets/stylesheets/common/venues.sass +88 -0
- data/app/assets/stylesheets/common/videos.sass +10 -0
- data/app/assets/stylesheets/common/welcome.sass +21 -0
- data/app/assets/stylesheets/common_2/_maps.sass +63 -0
- data/app/assets/stylesheets/common_2/_rate_this.sass +23 -0
- data/app/assets/stylesheets/common_2/_set_locale.sass +37 -0
- data/app/assets/stylesheets/common_2/common.sass +43 -0
- data/app/assets/stylesheets/common_2/hf_application.sass +177 -0
- data/app/assets/stylesheets/common_2/hf_application_mini.sass +98 -0
- data/app/assets/stylesheets/common_2/photos.sass +5 -0
- data/app/assets/stylesheets/common_2/photos.sass~ +12 -0
- data/app/assets/stylesheets/common_2/users_organizer.sass +33 -0
- data/app/assets/stylesheets/common_2/users_organizer_forms.sass +126 -0
- data/app/assets/stylesheets/common_2/vars.sass +235 -0
- data/app/assets/stylesheets/ish_lib_assets/application.css +15 -0
- data/app/assets/stylesheets/manager/_search.sass +9 -0
- data/app/assets/stylesheets/manager/cities.sass +22 -0
- data/app/assets/stylesheets/manager/features.sass +5 -0
- data/app/assets/stylesheets/manager/galleries.sass +58 -0
- data/app/assets/stylesheets/manager/hf.sass +38 -0
- data/app/assets/stylesheets/manager/layout_manager.sass +32 -0
- data/app/assets/stylesheets/manager/manager.sass +55 -0
- data/app/assets/stylesheets/manager/newsitems.sass +3 -0
- data/app/assets/stylesheets/manager/photos.sass +19 -0
- data/app/assets/stylesheets/manager/reports.sass +66 -0
- data/app/assets/stylesheets/manager/sites.sass +27 -0
- data/app/assets/stylesheets/manager/tags.sass +34 -0
- data/app/assets/stylesheets/manager/users.sass +14 -0
- data/app/assets/stylesheets/manager/vars.sass +4 -0
- data/app/assets/stylesheets/manager/venues.sass +20 -0
- data/app/assets/stylesheets/manager/welcome.sass +13 -0
- data/app/assets/stylesheets/print/default.sass +20 -0
- data/app/assets/stylesheets/print/vars.sass +3 -0
- data/app/assets/stylesheets/resume/github.sass +9 -0
- data/app/assets/stylesheets/resume/hf.sass +18 -0
- data/app/assets/stylesheets/resume/layout_piousbox.sass +56 -0
- data/app/assets/stylesheets/resume/reports.sass +21 -0
- data/app/assets/stylesheets/resume/resume.sass +387 -0
- data/app/assets/stylesheets/resume/vars.sass +3 -0
- data/app/assets/stylesheets/spec_runner.css +5 -0
- data/app/controllers/ish_lib_assets/application_controller.rb +5 -0
- data/app/helpers/application_helper.rb +96 -0
- data/app/helpers/devise_helper.rb +9 -0
- data/app/helpers/images_helper.rb +200 -0
- data/app/helpers/ish_lib_assets/application_helper.rb +7 -0
- data/app/helpers/ish_lib_assets/application_helper.rb~ +7 -0
- data/app/views/layouts/ish_lib_assets/application.html.erb +14 -0
- data/app/views/templates/_blah_template.haml +2 -0
- data/app/views/templates/blah_template.haml~ +0 -0
- data/app/views/templates/kaminari/_first_page.haml +9 -0
- data/app/views/templates/kaminari/_first_page.haml~ +9 -0
- data/app/views/templates/kaminari/_gap.haml +8 -0
- data/app/views/templates/kaminari/_last_page.haml +9 -0
- data/app/views/templates/kaminari/_last_page.haml~ +9 -0
- data/app/views/templates/kaminari/_next_page.haml +9 -0
- data/app/views/templates/kaminari/_next_page.haml~ +9 -0
- data/app/views/templates/kaminari/_page.haml +10 -0
- data/app/views/templates/kaminari/_page.haml~ +10 -0
- data/app/views/templates/kaminari/_paginator.haml +18 -0
- data/app/views/templates/kaminari/_paginator.haml~ +18 -0
- data/app/views/templates/kaminari/_prev_page.haml +9 -0
- data/app/views/templates/kaminari/_prev_page.haml~ +9 -0
- data/config/routes.rb +2 -0
- data/lib/ish_lib_assets.rb +4 -0
- data/lib/ish_lib_assets/engine.rb +9 -0
- data/lib/ish_lib_assets/engine.rb~ +9 -0
- data/lib/ish_lib_assets/version.rb +3 -0
- data/lib/ish_lib_assets/version.rb~ +3 -0
- data/lib/tasks/ish_lib_assets_tasks.rake +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +26 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/integration/navigation_test.rb +8 -0
- data/test/ish_lib_assets_test.rb +7 -0
- data/test/test_helper.rb +21 -0
- data/vendor/assets/images/close.png +0 -0
- data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/images/loading.gif +0 -0
- data/vendor/assets/images/next.png +0 -0
- data/vendor/assets/images/prev.png +0 -0
- data/vendor/assets/javascripts/angular.js +14847 -0
- data/vendor/assets/javascripts/angular/angular-animate.js +1375 -0
- data/vendor/assets/javascripts/angular/angular-cookies.js +202 -0
- data/vendor/assets/javascripts/angular/angular-csp.css +13 -0
- data/vendor/assets/javascripts/angular/angular-loader.js +410 -0
- data/vendor/assets/javascripts/angular/angular-mocks.js +2116 -0
- data/vendor/assets/javascripts/angular/angular-resource.js +594 -0
- data/vendor/assets/javascripts/angular/angular-route.js +911 -0
- data/vendor/assets/javascripts/angular/angular-sanitize.js +622 -0
- data/vendor/assets/javascripts/angular/angular-scenario.js +32544 -0
- data/vendor/assets/javascripts/angular/angular-touch.js +563 -0
- data/vendor/assets/javascripts/angular/angular.js +20539 -0
- data/vendor/assets/javascripts/angular/errors.json +1 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_af-na.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_af-za.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_af.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_am-et.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_am.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-001.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-ae.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-bh.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-dz.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-eg.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-iq.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-jo.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-kw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-lb.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-ly.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-ma.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-om.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-qa.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-sa.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-sd.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-sy.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-tn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar-ye.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ar.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_bg-bg.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_bg.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_bn-bd.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_bn-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_bn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ca-ad.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ca-es.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ca.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_cs-cz.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_cs.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_da-dk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_da.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_de-at.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_de-be.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_de-ch.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_de-de.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_de-li.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_de-lu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_de.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_el-cy.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_el-gr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_el.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-as.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-au.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-bb.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-be.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-bm.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-bw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-bz.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-ca.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-dsrt-us.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-dsrt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-fm.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-gb.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-gu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-gy.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-hk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-ie.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-iso.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-jm.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-mh.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-mp.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-mt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-mu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-na.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-nz.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-ph.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-pk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-pr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-pw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-sg.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-tc.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-tt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-um.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-us.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-vg.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-vi.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-za.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en-zw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_en.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-419.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-ar.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-bo.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-cl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-co.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-cr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-do.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-ea.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-ec.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-es.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-gq.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-gt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-hn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-ic.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-mx.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-ni.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-pa.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-pe.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-pr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-py.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-sv.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-us.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-uy.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es-ve.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_es.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_et-ee.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_et.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_eu-es.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_eu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fa-af.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fa-ir.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fa.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fi-fi.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fi.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fil-ph.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fil.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-be.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-bf.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-bi.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-bj.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-bl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-ca.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-cd.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-cf.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-cg.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-ch.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-ci.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-cm.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-dj.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-fr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-ga.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-gf.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-gn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-gp.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-gq.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-km.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-lu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-mc.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-mf.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-mg.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-ml.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-mq.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-ne.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-re.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr-yt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_fr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_gl-es.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_gl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_gsw-ch.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_gsw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_gu-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_gu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_he-il.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_he.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_hi-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_hi.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_hr-hr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_hr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_hu-hu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_hu.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_id-id.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_id.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_is-is.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_is.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_it-it.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_it-sm.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_it.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_iw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ja-jp.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ja.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_kn-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_kn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ko-kr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ko.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ln-cd.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ln.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_lt-lt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_lt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_lv-lv.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_lv.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ml-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ml.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_mr-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_mr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ms-my.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ms.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_mt-mt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_mt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_nl-cw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_nl-nl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_nl-sx.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_nl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_no.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_or-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_or.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_pl-pl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_pl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_pt-br.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_pt-pt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_pt.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ro-ro.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ro.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ru-ru.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ru.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sk-sk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sl-si.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sq-al.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sq.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sr-cyrl-rs.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sr-latn-rs.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sv-se.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sv.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sw-tz.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_sw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ta-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ta.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_te-in.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_te.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_th-th.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_th.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_tl.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_tr-tr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_tr.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_uk-ua.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_uk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ur-pk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_ur.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_vi-vn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_vi.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_zh-cn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_zh-hans-cn.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_zh-hk.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_zh-tw.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_zh.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_zu-za.js +99 -0
- data/vendor/assets/javascripts/angular/i18n/angular-locale_zu.js +99 -0
- data/vendor/assets/javascripts/angular/version.json +1 -0
- data/vendor/assets/javascripts/angular/version.txt +1 -0
- data/vendor/assets/javascripts/custom.modernizr.js +4 -0
- data/vendor/assets/javascripts/fancybox/blank.gif +0 -0
- data/vendor/assets/javascripts/fancybox/fancybox_loading.gif +0 -0
- data/vendor/assets/javascripts/fancybox/fancybox_loading@2x.gif +0 -0
- data/vendor/assets/javascripts/fancybox/fancybox_overlay.png +0 -0
- data/vendor/assets/javascripts/fancybox/fancybox_sprite.png +0 -0
- data/vendor/assets/javascripts/fancybox/fancybox_sprite@2x.png +0 -0
- data/vendor/assets/javascripts/fancybox/helpers/fancybox_buttons.png +0 -0
- data/vendor/assets/javascripts/fancybox/helpers/jquery.fancybox-buttons.css +97 -0
- data/vendor/assets/javascripts/fancybox/helpers/jquery.fancybox-buttons.js +122 -0
- data/vendor/assets/javascripts/fancybox/helpers/jquery.fancybox-media.js +199 -0
- data/vendor/assets/javascripts/fancybox/helpers/jquery.fancybox-thumbs.css +55 -0
- data/vendor/assets/javascripts/fancybox/helpers/jquery.fancybox-thumbs.js +162 -0
- data/vendor/assets/javascripts/fancybox/jquery.fancybox.css +274 -0
- data/vendor/assets/javascripts/fancybox/jquery.fancybox.js +2020 -0
- data/vendor/assets/javascripts/fancybox/jquery.fancybox.pack.js +46 -0
- data/vendor/assets/javascripts/fastclick.js +761 -0
- data/vendor/assets/javascripts/foundation/foundation-6.2.1-complete/foundation.js +8921 -0
- data/vendor/assets/javascripts/foundation/foundation-6.2.1-complete/foundation.min.js +4 -0
- data/vendor/assets/javascripts/foundation/foundation-6.2.1-complete/jquery.js +9842 -0
- data/vendor/assets/javascripts/foundation/foundation-6.2.1-complete/what-input.js +295 -0
- data/vendor/assets/javascripts/foundation/foundation.abide.js +201 -0
- data/vendor/assets/javascripts/foundation/foundation.accordion.js +41 -0
- data/vendor/assets/javascripts/foundation/foundation.alert.js +34 -0
- data/vendor/assets/javascripts/foundation/foundation.clearing.js +450 -0
- data/vendor/assets/javascripts/foundation/foundation.dropdown.js +184 -0
- data/vendor/assets/javascripts/foundation/foundation.interchange.js +304 -0
- data/vendor/assets/javascripts/foundation/foundation.joyride.js +839 -0
- data/vendor/assets/javascripts/foundation/foundation.js +8921 -0
- data/vendor/assets/javascripts/foundation/foundation.magellan.js +118 -0
- data/vendor/assets/javascripts/foundation/foundation.min.js +10 -0
- data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +37 -0
- data/vendor/assets/javascripts/foundation/foundation.orbit.js +434 -0
- data/vendor/assets/javascripts/foundation/foundation.reveal.js +347 -0
- data/vendor/assets/javascripts/foundation/foundation.tab.js +37 -0
- data/vendor/assets/javascripts/foundation/foundation.tooltip.js +202 -0
- data/vendor/assets/javascripts/foundation/foundation.topbar.js +380 -0
- data/vendor/assets/javascripts/jasmine/assert.coffee +62 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.1.0/MIT.LICENSE +20 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.1.0/jasmine-html.js +190 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.1.0/jasmine.css +166 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.1.0/jasmine.js +2476 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.1.0/jasmine_favicon.png +0 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.3.1/MIT.LICENSE +20 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.3.1/jasmine-html.js +681 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.3.1/jasmine.css +82 -0
- data/vendor/assets/javascripts/jasmine/jasmine-1.3.1/jasmine.js +2600 -0
- data/vendor/assets/javascripts/jquery-file-upload/README.md +68 -0
- data/vendor/assets/javascripts/jquery-file-upload/application.js +79 -0
- data/vendor/assets/javascripts/jquery-file-upload/cors/jquery.postmessage-transport.js +117 -0
- data/vendor/assets/javascripts/jquery-file-upload/cors/jquery.xdr-transport.js +85 -0
- data/vendor/assets/javascripts/jquery-file-upload/cors/postmessage.html +75 -0
- data/vendor/assets/javascripts/jquery-file-upload/cors/result.html +20 -0
- data/vendor/assets/javascripts/jquery-file-upload/index.html +176 -0
- data/vendor/assets/javascripts/jquery-file-upload/jquery.fileupload-ui.js +547 -0
- data/vendor/assets/javascripts/jquery-file-upload/jquery.fileupload.js +1477 -0
- data/vendor/assets/javascripts/jquery-file-upload/jquery.iframe-transport.js +217 -0
- data/vendor/assets/javascripts/jquery-file-upload/jquery.ui.widget.js +572 -0
- data/vendor/assets/javascripts/jquery-file-upload/package.json +60 -0
- data/vendor/assets/javascripts/jquery-file-upload/progressbar.gif +0 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-go/app.yaml +12 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-go/app/main.go +360 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-go/resize/resize.go +246 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-go/static/favicon.ico +0 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-go/static/robots.txt +2 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-python/app.yaml +16 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-python/main.py +145 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-python/static/favicon.ico +0 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/gae-python/static/robots.txt +2 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/php/index.php +384 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/test/index.html +105 -0
- data/vendor/assets/javascripts/jquery-file-upload/trash/test/test.js +1116 -0
- data/vendor/assets/javascripts/jquery-file-upload/vendor/jquery.ui.widget.js +282 -0
- data/vendor/assets/javascripts/jquery/jquery-1.7.1.js +9266 -0
- data/vendor/assets/javascripts/jquery/jquery-1.7.1.min.js +4 -0
- data/vendor/assets/javascripts/jquery/jquery-2.2.2.js +9842 -0
- data/vendor/assets/javascripts/jquery/jquery-ui.min.js +13 -0
- data/vendor/assets/javascripts/jquery/jquery-uploadify.js +986 -0
- data/vendor/assets/javascripts/jquery/jquery.autocomplete.js +645 -0
- data/vendor/assets/javascripts/jquery/jquery.cookie.js +107 -0
- data/vendor/assets/javascripts/jquery/jquery.infinitecarousel3.js +409 -0
- data/vendor/assets/javascripts/jquery/jquery.infinitecarousel3.min.js +10 -0
- data/vendor/assets/javascripts/jquery/jquery.js +9842 -0
- data/vendor/assets/javascripts/json2.js +482 -0
- data/vendor/assets/javascripts/mustache.js +536 -0
- data/vendor/assets/javascripts/order.js +189 -0
- data/vendor/assets/javascripts/placeholder.js +426 -0
- data/vendor/assets/javascripts/rails.js +393 -0
- data/vendor/assets/javascripts/share_this.js +3 -0
- data/vendor/assets/javascripts/underscore.js +999 -0
- data/vendor/assets/javascripts/what-input.js +295 -0
- data/vendor/assets/stylesheets/fancybox/jquery.fancybox.css +274 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/css/app.css +0 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/css/foundation.css +4148 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/css/foundation.min.css +2 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/index.html +169 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/js/app.js +1 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/js/vendor/foundation.js +8921 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/js/vendor/foundation.min.js +4 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/js/vendor/jquery.js +9842 -0
- data/vendor/assets/stylesheets/foundation/foundation-6.2.1-complete/js/vendor/what-input.js +295 -0
- data/vendor/assets/stylesheets/foundation/foundation.css +4148 -0
- data/vendor/assets/stylesheets/jquery-file-upload/jquery.fileupload-ui.css +56 -0
- data/vendor/assets/stylesheets/reset-min.css +2 -0
- data/vendor/assets/stylesheets/trash/active_admin.css.scss +32 -0
- data/vendor/assets/stylesheets/trash/bootstrap-responsive.css +1092 -0
- data/vendor/assets/stylesheets/trash/bootstrap-responsive.min.css +9 -0
- data/vendor/assets/stylesheets/trash/bootstrap.css +6039 -0
- data/vendor/assets/stylesheets/trash/bootstrap.min.css +9 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/css/foundation.css +5331 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/css/foundation.min.css +1 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/css/normalize.css +410 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/index.html +166 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation.min.js +10 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.abide.js +201 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.accordion.js +41 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.alert.js +34 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.clearing.js +450 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.dropdown.js +184 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.interchange.js +304 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.joyride.js +839 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.js +416 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.magellan.js +118 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.offcanvas.js +37 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.orbit.js +434 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.reveal.js +347 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.tab.js +37 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.tooltip.js +202 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/foundation/foundation.topbar.js +380 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/jquery.js +8829 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/modernizr.js +4 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/vendor/custom.modernizr.js +4 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/vendor/fastclick.js +761 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/vendor/jquery.autocomplete.js +645 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/vendor/jquery.cookie.js +107 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/vendor/jquery.js +8829 -0
- data/vendor/assets/stylesheets/trash/foundation-5.0.2/js/vendor/placeholder.js +426 -0
- data/vendor/assets/stylesheets/trash/foundation-5.css +5331 -0
- data/vendor/assets/stylesheets/trash/foundation.min.css +1 -0
- data/vendor/assets/stylesheets/trash/grid.css +280 -0
- data/vendor/assets/stylesheets/trash/lightbox.css +210 -0
- data/vendor/assets/stylesheets/trash/normalize.css +410 -0
- data/vendor/assets/stylesheets/trash/scaffolds.css.scss +69 -0
- data/vendor/assets/stylesheets/trash/screen.css +858 -0
- data/vendor/assets/stylesheets/trash/uploadify.css +92 -0
- metadata +977 -0
@@ -0,0 +1,217 @@
|
|
1
|
+
/*
|
2
|
+
* jQuery Iframe Transport Plugin
|
3
|
+
* https://github.com/blueimp/jQuery-File-Upload
|
4
|
+
*
|
5
|
+
* Copyright 2011, Sebastian Tschan
|
6
|
+
* https://blueimp.net
|
7
|
+
*
|
8
|
+
* Licensed under the MIT license:
|
9
|
+
* http://www.opensource.org/licenses/MIT
|
10
|
+
*/
|
11
|
+
|
12
|
+
/* global define, require, window, document */
|
13
|
+
|
14
|
+
(function (factory) {
|
15
|
+
'use strict';
|
16
|
+
if (typeof define === 'function' && define.amd) {
|
17
|
+
// Register as an anonymous AMD module:
|
18
|
+
define(['jquery'], factory);
|
19
|
+
} else if (typeof exports === 'object') {
|
20
|
+
// Node/CommonJS:
|
21
|
+
factory(require('jquery'));
|
22
|
+
} else {
|
23
|
+
// Browser globals:
|
24
|
+
factory(window.jQuery);
|
25
|
+
}
|
26
|
+
}(function ($) {
|
27
|
+
'use strict';
|
28
|
+
|
29
|
+
// Helper variable to create unique names for the transport iframes:
|
30
|
+
var counter = 0;
|
31
|
+
|
32
|
+
// The iframe transport accepts four additional options:
|
33
|
+
// options.fileInput: a jQuery collection of file input fields
|
34
|
+
// options.paramName: the parameter name for the file form data,
|
35
|
+
// overrides the name property of the file input field(s),
|
36
|
+
// can be a string or an array of strings.
|
37
|
+
// options.formData: an array of objects with name and value properties,
|
38
|
+
// equivalent to the return data of .serializeArray(), e.g.:
|
39
|
+
// [{name: 'a', value: 1}, {name: 'b', value: 2}]
|
40
|
+
// options.initialIframeSrc: the URL of the initial iframe src,
|
41
|
+
// by default set to "javascript:false;"
|
42
|
+
$.ajaxTransport('iframe', function (options) {
|
43
|
+
if (options.async) {
|
44
|
+
// javascript:false as initial iframe src
|
45
|
+
// prevents warning popups on HTTPS in IE6:
|
46
|
+
/*jshint scripturl: true */
|
47
|
+
var initialIframeSrc = options.initialIframeSrc || 'javascript:false;',
|
48
|
+
/*jshint scripturl: false */
|
49
|
+
form,
|
50
|
+
iframe,
|
51
|
+
addParamChar;
|
52
|
+
return {
|
53
|
+
send: function (_, completeCallback) {
|
54
|
+
form = $('<form style="display:none;"></form>');
|
55
|
+
form.attr('accept-charset', options.formAcceptCharset);
|
56
|
+
addParamChar = /\?/.test(options.url) ? '&' : '?';
|
57
|
+
// XDomainRequest only supports GET and POST:
|
58
|
+
if (options.type === 'DELETE') {
|
59
|
+
options.url = options.url + addParamChar + '_method=DELETE';
|
60
|
+
options.type = 'POST';
|
61
|
+
} else if (options.type === 'PUT') {
|
62
|
+
options.url = options.url + addParamChar + '_method=PUT';
|
63
|
+
options.type = 'POST';
|
64
|
+
} else if (options.type === 'PATCH') {
|
65
|
+
options.url = options.url + addParamChar + '_method=PATCH';
|
66
|
+
options.type = 'POST';
|
67
|
+
}
|
68
|
+
// IE versions below IE8 cannot set the name property of
|
69
|
+
// elements that have already been added to the DOM,
|
70
|
+
// so we set the name along with the iframe HTML markup:
|
71
|
+
counter += 1;
|
72
|
+
iframe = $(
|
73
|
+
'<iframe src="' + initialIframeSrc +
|
74
|
+
'" name="iframe-transport-' + counter + '"></iframe>'
|
75
|
+
).bind('load', function () {
|
76
|
+
var fileInputClones,
|
77
|
+
paramNames = $.isArray(options.paramName) ?
|
78
|
+
options.paramName : [options.paramName];
|
79
|
+
iframe
|
80
|
+
.unbind('load')
|
81
|
+
.bind('load', function () {
|
82
|
+
var response;
|
83
|
+
// Wrap in a try/catch block to catch exceptions thrown
|
84
|
+
// when trying to access cross-domain iframe contents:
|
85
|
+
try {
|
86
|
+
response = iframe.contents();
|
87
|
+
// Google Chrome and Firefox do not throw an
|
88
|
+
// exception when calling iframe.contents() on
|
89
|
+
// cross-domain requests, so we unify the response:
|
90
|
+
if (!response.length || !response[0].firstChild) {
|
91
|
+
throw new Error();
|
92
|
+
}
|
93
|
+
} catch (e) {
|
94
|
+
response = undefined;
|
95
|
+
}
|
96
|
+
// The complete callback returns the
|
97
|
+
// iframe content document as response object:
|
98
|
+
completeCallback(
|
99
|
+
200,
|
100
|
+
'success',
|
101
|
+
{'iframe': response}
|
102
|
+
);
|
103
|
+
// Fix for IE endless progress bar activity bug
|
104
|
+
// (happens on form submits to iframe targets):
|
105
|
+
$('<iframe src="' + initialIframeSrc + '"></iframe>')
|
106
|
+
.appendTo(form);
|
107
|
+
window.setTimeout(function () {
|
108
|
+
// Removing the form in a setTimeout call
|
109
|
+
// allows Chrome's developer tools to display
|
110
|
+
// the response result
|
111
|
+
form.remove();
|
112
|
+
}, 0);
|
113
|
+
});
|
114
|
+
form
|
115
|
+
.prop('target', iframe.prop('name'))
|
116
|
+
.prop('action', options.url)
|
117
|
+
.prop('method', options.type);
|
118
|
+
if (options.formData) {
|
119
|
+
$.each(options.formData, function (index, field) {
|
120
|
+
$('<input type="hidden"/>')
|
121
|
+
.prop('name', field.name)
|
122
|
+
.val(field.value)
|
123
|
+
.appendTo(form);
|
124
|
+
});
|
125
|
+
}
|
126
|
+
if (options.fileInput && options.fileInput.length &&
|
127
|
+
options.type === 'POST') {
|
128
|
+
fileInputClones = options.fileInput.clone();
|
129
|
+
// Insert a clone for each file input field:
|
130
|
+
options.fileInput.after(function (index) {
|
131
|
+
return fileInputClones[index];
|
132
|
+
});
|
133
|
+
if (options.paramName) {
|
134
|
+
options.fileInput.each(function (index) {
|
135
|
+
$(this).prop(
|
136
|
+
'name',
|
137
|
+
paramNames[index] || options.paramName
|
138
|
+
);
|
139
|
+
});
|
140
|
+
}
|
141
|
+
// Appending the file input fields to the hidden form
|
142
|
+
// removes them from their original location:
|
143
|
+
form
|
144
|
+
.append(options.fileInput)
|
145
|
+
.prop('enctype', 'multipart/form-data')
|
146
|
+
// enctype must be set as encoding for IE:
|
147
|
+
.prop('encoding', 'multipart/form-data');
|
148
|
+
// Remove the HTML5 form attribute from the input(s):
|
149
|
+
options.fileInput.removeAttr('form');
|
150
|
+
}
|
151
|
+
form.submit();
|
152
|
+
// Insert the file input fields at their original location
|
153
|
+
// by replacing the clones with the originals:
|
154
|
+
if (fileInputClones && fileInputClones.length) {
|
155
|
+
options.fileInput.each(function (index, input) {
|
156
|
+
var clone = $(fileInputClones[index]);
|
157
|
+
// Restore the original name and form properties:
|
158
|
+
$(input)
|
159
|
+
.prop('name', clone.prop('name'))
|
160
|
+
.attr('form', clone.attr('form'));
|
161
|
+
clone.replaceWith(input);
|
162
|
+
});
|
163
|
+
}
|
164
|
+
});
|
165
|
+
form.append(iframe).appendTo(document.body);
|
166
|
+
},
|
167
|
+
abort: function () {
|
168
|
+
if (iframe) {
|
169
|
+
// javascript:false as iframe src aborts the request
|
170
|
+
// and prevents warning popups on HTTPS in IE6.
|
171
|
+
// concat is used to avoid the "Script URL" JSLint error:
|
172
|
+
iframe
|
173
|
+
.unbind('load')
|
174
|
+
.prop('src', initialIframeSrc);
|
175
|
+
}
|
176
|
+
if (form) {
|
177
|
+
form.remove();
|
178
|
+
}
|
179
|
+
}
|
180
|
+
};
|
181
|
+
}
|
182
|
+
});
|
183
|
+
|
184
|
+
// The iframe transport returns the iframe content document as response.
|
185
|
+
// The following adds converters from iframe to text, json, html, xml
|
186
|
+
// and script.
|
187
|
+
// Please note that the Content-Type for JSON responses has to be text/plain
|
188
|
+
// or text/html, if the browser doesn't include application/json in the
|
189
|
+
// Accept header, else IE will show a download dialog.
|
190
|
+
// The Content-Type for XML responses on the other hand has to be always
|
191
|
+
// application/xml or text/xml, so IE properly parses the XML response.
|
192
|
+
// See also
|
193
|
+
// https://github.com/blueimp/jQuery-File-Upload/wiki/Setup#content-type-negotiation
|
194
|
+
$.ajaxSetup({
|
195
|
+
converters: {
|
196
|
+
'iframe text': function (iframe) {
|
197
|
+
return iframe && $(iframe[0].body).text();
|
198
|
+
},
|
199
|
+
'iframe json': function (iframe) {
|
200
|
+
return iframe && $.parseJSON($(iframe[0].body).text());
|
201
|
+
},
|
202
|
+
'iframe html': function (iframe) {
|
203
|
+
return iframe && $(iframe[0].body).html();
|
204
|
+
},
|
205
|
+
'iframe xml': function (iframe) {
|
206
|
+
var xmlDoc = iframe && iframe[0];
|
207
|
+
return xmlDoc && $.isXMLDoc(xmlDoc) ? xmlDoc :
|
208
|
+
$.parseXML((xmlDoc.XMLDocument && xmlDoc.XMLDocument.xml) ||
|
209
|
+
$(xmlDoc.body).html());
|
210
|
+
},
|
211
|
+
'iframe script': function (iframe) {
|
212
|
+
return iframe && $.globalEval($(iframe[0].body).text());
|
213
|
+
}
|
214
|
+
}
|
215
|
+
});
|
216
|
+
|
217
|
+
}));
|
@@ -0,0 +1,572 @@
|
|
1
|
+
/*! jQuery UI - v1.11.4+CommonJS - 2015-08-28
|
2
|
+
* http://jqueryui.com
|
3
|
+
* Includes: widget.js
|
4
|
+
* Copyright 2015 jQuery Foundation and other contributors; Licensed MIT */
|
5
|
+
|
6
|
+
(function( factory ) {
|
7
|
+
if ( typeof define === "function" && define.amd ) {
|
8
|
+
|
9
|
+
// AMD. Register as an anonymous module.
|
10
|
+
define([ "jquery" ], factory );
|
11
|
+
|
12
|
+
} else if ( typeof exports === "object" ) {
|
13
|
+
|
14
|
+
// Node/CommonJS
|
15
|
+
factory( require( "jquery" ) );
|
16
|
+
|
17
|
+
} else {
|
18
|
+
|
19
|
+
// Browser globals
|
20
|
+
factory( jQuery );
|
21
|
+
}
|
22
|
+
}(function( $ ) {
|
23
|
+
/*!
|
24
|
+
* jQuery UI Widget 1.11.4
|
25
|
+
* http://jqueryui.com
|
26
|
+
*
|
27
|
+
* Copyright jQuery Foundation and other contributors
|
28
|
+
* Released under the MIT license.
|
29
|
+
* http://jquery.org/license
|
30
|
+
*
|
31
|
+
* http://api.jqueryui.com/jQuery.widget/
|
32
|
+
*/
|
33
|
+
|
34
|
+
|
35
|
+
var widget_uuid = 0,
|
36
|
+
widget_slice = Array.prototype.slice;
|
37
|
+
|
38
|
+
$.cleanData = (function( orig ) {
|
39
|
+
return function( elems ) {
|
40
|
+
var events, elem, i;
|
41
|
+
for ( i = 0; (elem = elems[i]) != null; i++ ) {
|
42
|
+
try {
|
43
|
+
|
44
|
+
// Only trigger remove when necessary to save time
|
45
|
+
events = $._data( elem, "events" );
|
46
|
+
if ( events && events.remove ) {
|
47
|
+
$( elem ).triggerHandler( "remove" );
|
48
|
+
}
|
49
|
+
|
50
|
+
// http://bugs.jquery.com/ticket/8235
|
51
|
+
} catch ( e ) {}
|
52
|
+
}
|
53
|
+
orig( elems );
|
54
|
+
};
|
55
|
+
})( $.cleanData );
|
56
|
+
|
57
|
+
$.widget = function( name, base, prototype ) {
|
58
|
+
var fullName, existingConstructor, constructor, basePrototype,
|
59
|
+
// proxiedPrototype allows the provided prototype to remain unmodified
|
60
|
+
// so that it can be used as a mixin for multiple widgets (#8876)
|
61
|
+
proxiedPrototype = {},
|
62
|
+
namespace = name.split( "." )[ 0 ];
|
63
|
+
|
64
|
+
name = name.split( "." )[ 1 ];
|
65
|
+
fullName = namespace + "-" + name;
|
66
|
+
|
67
|
+
if ( !prototype ) {
|
68
|
+
prototype = base;
|
69
|
+
base = $.Widget;
|
70
|
+
}
|
71
|
+
|
72
|
+
// create selector for plugin
|
73
|
+
$.expr[ ":" ][ fullName.toLowerCase() ] = function( elem ) {
|
74
|
+
return !!$.data( elem, fullName );
|
75
|
+
};
|
76
|
+
|
77
|
+
$[ namespace ] = $[ namespace ] || {};
|
78
|
+
existingConstructor = $[ namespace ][ name ];
|
79
|
+
constructor = $[ namespace ][ name ] = function( options, element ) {
|
80
|
+
// allow instantiation without "new" keyword
|
81
|
+
if ( !this._createWidget ) {
|
82
|
+
return new constructor( options, element );
|
83
|
+
}
|
84
|
+
|
85
|
+
// allow instantiation without initializing for simple inheritance
|
86
|
+
// must use "new" keyword (the code above always passes args)
|
87
|
+
if ( arguments.length ) {
|
88
|
+
this._createWidget( options, element );
|
89
|
+
}
|
90
|
+
};
|
91
|
+
// extend with the existing constructor to carry over any static properties
|
92
|
+
$.extend( constructor, existingConstructor, {
|
93
|
+
version: prototype.version,
|
94
|
+
// copy the object used to create the prototype in case we need to
|
95
|
+
// redefine the widget later
|
96
|
+
_proto: $.extend( {}, prototype ),
|
97
|
+
// track widgets that inherit from this widget in case this widget is
|
98
|
+
// redefined after a widget inherits from it
|
99
|
+
_childConstructors: []
|
100
|
+
});
|
101
|
+
|
102
|
+
basePrototype = new base();
|
103
|
+
// we need to make the options hash a property directly on the new instance
|
104
|
+
// otherwise we'll modify the options hash on the prototype that we're
|
105
|
+
// inheriting from
|
106
|
+
basePrototype.options = $.widget.extend( {}, basePrototype.options );
|
107
|
+
$.each( prototype, function( prop, value ) {
|
108
|
+
if ( !$.isFunction( value ) ) {
|
109
|
+
proxiedPrototype[ prop ] = value;
|
110
|
+
return;
|
111
|
+
}
|
112
|
+
proxiedPrototype[ prop ] = (function() {
|
113
|
+
var _super = function() {
|
114
|
+
return base.prototype[ prop ].apply( this, arguments );
|
115
|
+
},
|
116
|
+
_superApply = function( args ) {
|
117
|
+
return base.prototype[ prop ].apply( this, args );
|
118
|
+
};
|
119
|
+
return function() {
|
120
|
+
var __super = this._super,
|
121
|
+
__superApply = this._superApply,
|
122
|
+
returnValue;
|
123
|
+
|
124
|
+
this._super = _super;
|
125
|
+
this._superApply = _superApply;
|
126
|
+
|
127
|
+
returnValue = value.apply( this, arguments );
|
128
|
+
|
129
|
+
this._super = __super;
|
130
|
+
this._superApply = __superApply;
|
131
|
+
|
132
|
+
return returnValue;
|
133
|
+
};
|
134
|
+
})();
|
135
|
+
});
|
136
|
+
constructor.prototype = $.widget.extend( basePrototype, {
|
137
|
+
// TODO: remove support for widgetEventPrefix
|
138
|
+
// always use the name + a colon as the prefix, e.g., draggable:start
|
139
|
+
// don't prefix for widgets that aren't DOM-based
|
140
|
+
widgetEventPrefix: existingConstructor ? (basePrototype.widgetEventPrefix || name) : name
|
141
|
+
}, proxiedPrototype, {
|
142
|
+
constructor: constructor,
|
143
|
+
namespace: namespace,
|
144
|
+
widgetName: name,
|
145
|
+
widgetFullName: fullName
|
146
|
+
});
|
147
|
+
|
148
|
+
// If this widget is being redefined then we need to find all widgets that
|
149
|
+
// are inheriting from it and redefine all of them so that they inherit from
|
150
|
+
// the new version of this widget. We're essentially trying to replace one
|
151
|
+
// level in the prototype chain.
|
152
|
+
if ( existingConstructor ) {
|
153
|
+
$.each( existingConstructor._childConstructors, function( i, child ) {
|
154
|
+
var childPrototype = child.prototype;
|
155
|
+
|
156
|
+
// redefine the child widget using the same prototype that was
|
157
|
+
// originally used, but inherit from the new version of the base
|
158
|
+
$.widget( childPrototype.namespace + "." + childPrototype.widgetName, constructor, child._proto );
|
159
|
+
});
|
160
|
+
// remove the list of existing child constructors from the old constructor
|
161
|
+
// so the old child constructors can be garbage collected
|
162
|
+
delete existingConstructor._childConstructors;
|
163
|
+
} else {
|
164
|
+
base._childConstructors.push( constructor );
|
165
|
+
}
|
166
|
+
|
167
|
+
$.widget.bridge( name, constructor );
|
168
|
+
|
169
|
+
return constructor;
|
170
|
+
};
|
171
|
+
|
172
|
+
$.widget.extend = function( target ) {
|
173
|
+
var input = widget_slice.call( arguments, 1 ),
|
174
|
+
inputIndex = 0,
|
175
|
+
inputLength = input.length,
|
176
|
+
key,
|
177
|
+
value;
|
178
|
+
for ( ; inputIndex < inputLength; inputIndex++ ) {
|
179
|
+
for ( key in input[ inputIndex ] ) {
|
180
|
+
value = input[ inputIndex ][ key ];
|
181
|
+
if ( input[ inputIndex ].hasOwnProperty( key ) && value !== undefined ) {
|
182
|
+
// Clone objects
|
183
|
+
if ( $.isPlainObject( value ) ) {
|
184
|
+
target[ key ] = $.isPlainObject( target[ key ] ) ?
|
185
|
+
$.widget.extend( {}, target[ key ], value ) :
|
186
|
+
// Don't extend strings, arrays, etc. with objects
|
187
|
+
$.widget.extend( {}, value );
|
188
|
+
// Copy everything else by reference
|
189
|
+
} else {
|
190
|
+
target[ key ] = value;
|
191
|
+
}
|
192
|
+
}
|
193
|
+
}
|
194
|
+
}
|
195
|
+
return target;
|
196
|
+
};
|
197
|
+
|
198
|
+
$.widget.bridge = function( name, object ) {
|
199
|
+
var fullName = object.prototype.widgetFullName || name;
|
200
|
+
$.fn[ name ] = function( options ) {
|
201
|
+
var isMethodCall = typeof options === "string",
|
202
|
+
args = widget_slice.call( arguments, 1 ),
|
203
|
+
returnValue = this;
|
204
|
+
|
205
|
+
if ( isMethodCall ) {
|
206
|
+
this.each(function() {
|
207
|
+
var methodValue,
|
208
|
+
instance = $.data( this, fullName );
|
209
|
+
if ( options === "instance" ) {
|
210
|
+
returnValue = instance;
|
211
|
+
return false;
|
212
|
+
}
|
213
|
+
if ( !instance ) {
|
214
|
+
return $.error( "cannot call methods on " + name + " prior to initialization; " +
|
215
|
+
"attempted to call method '" + options + "'" );
|
216
|
+
}
|
217
|
+
if ( !$.isFunction( instance[options] ) || options.charAt( 0 ) === "_" ) {
|
218
|
+
return $.error( "no such method '" + options + "' for " + name + " widget instance" );
|
219
|
+
}
|
220
|
+
methodValue = instance[ options ].apply( instance, args );
|
221
|
+
if ( methodValue !== instance && methodValue !== undefined ) {
|
222
|
+
returnValue = methodValue && methodValue.jquery ?
|
223
|
+
returnValue.pushStack( methodValue.get() ) :
|
224
|
+
methodValue;
|
225
|
+
return false;
|
226
|
+
}
|
227
|
+
});
|
228
|
+
} else {
|
229
|
+
|
230
|
+
// Allow multiple hashes to be passed on init
|
231
|
+
if ( args.length ) {
|
232
|
+
options = $.widget.extend.apply( null, [ options ].concat(args) );
|
233
|
+
}
|
234
|
+
|
235
|
+
this.each(function() {
|
236
|
+
var instance = $.data( this, fullName );
|
237
|
+
if ( instance ) {
|
238
|
+
instance.option( options || {} );
|
239
|
+
if ( instance._init ) {
|
240
|
+
instance._init();
|
241
|
+
}
|
242
|
+
} else {
|
243
|
+
$.data( this, fullName, new object( options, this ) );
|
244
|
+
}
|
245
|
+
});
|
246
|
+
}
|
247
|
+
|
248
|
+
return returnValue;
|
249
|
+
};
|
250
|
+
};
|
251
|
+
|
252
|
+
$.Widget = function( /* options, element */ ) {};
|
253
|
+
$.Widget._childConstructors = [];
|
254
|
+
|
255
|
+
$.Widget.prototype = {
|
256
|
+
widgetName: "widget",
|
257
|
+
widgetEventPrefix: "",
|
258
|
+
defaultElement: "<div>",
|
259
|
+
options: {
|
260
|
+
disabled: false,
|
261
|
+
|
262
|
+
// callbacks
|
263
|
+
create: null
|
264
|
+
},
|
265
|
+
_createWidget: function( options, element ) {
|
266
|
+
element = $( element || this.defaultElement || this )[ 0 ];
|
267
|
+
this.element = $( element );
|
268
|
+
this.uuid = widget_uuid++;
|
269
|
+
this.eventNamespace = "." + this.widgetName + this.uuid;
|
270
|
+
|
271
|
+
this.bindings = $();
|
272
|
+
this.hoverable = $();
|
273
|
+
this.focusable = $();
|
274
|
+
|
275
|
+
if ( element !== this ) {
|
276
|
+
$.data( element, this.widgetFullName, this );
|
277
|
+
this._on( true, this.element, {
|
278
|
+
remove: function( event ) {
|
279
|
+
if ( event.target === element ) {
|
280
|
+
this.destroy();
|
281
|
+
}
|
282
|
+
}
|
283
|
+
});
|
284
|
+
this.document = $( element.style ?
|
285
|
+
// element within the document
|
286
|
+
element.ownerDocument :
|
287
|
+
// element is window or document
|
288
|
+
element.document || element );
|
289
|
+
this.window = $( this.document[0].defaultView || this.document[0].parentWindow );
|
290
|
+
}
|
291
|
+
|
292
|
+
this.options = $.widget.extend( {},
|
293
|
+
this.options,
|
294
|
+
this._getCreateOptions(),
|
295
|
+
options );
|
296
|
+
|
297
|
+
this._create();
|
298
|
+
this._trigger( "create", null, this._getCreateEventData() );
|
299
|
+
this._init();
|
300
|
+
},
|
301
|
+
_getCreateOptions: $.noop,
|
302
|
+
_getCreateEventData: $.noop,
|
303
|
+
_create: $.noop,
|
304
|
+
_init: $.noop,
|
305
|
+
|
306
|
+
destroy: function() {
|
307
|
+
this._destroy();
|
308
|
+
// we can probably remove the unbind calls in 2.0
|
309
|
+
// all event bindings should go through this._on()
|
310
|
+
this.element
|
311
|
+
.unbind( this.eventNamespace )
|
312
|
+
.removeData( this.widgetFullName )
|
313
|
+
// support: jquery <1.6.3
|
314
|
+
// http://bugs.jquery.com/ticket/9413
|
315
|
+
.removeData( $.camelCase( this.widgetFullName ) );
|
316
|
+
this.widget()
|
317
|
+
.unbind( this.eventNamespace )
|
318
|
+
.removeAttr( "aria-disabled" )
|
319
|
+
.removeClass(
|
320
|
+
this.widgetFullName + "-disabled " +
|
321
|
+
"ui-state-disabled" );
|
322
|
+
|
323
|
+
// clean up events and states
|
324
|
+
this.bindings.unbind( this.eventNamespace );
|
325
|
+
this.hoverable.removeClass( "ui-state-hover" );
|
326
|
+
this.focusable.removeClass( "ui-state-focus" );
|
327
|
+
},
|
328
|
+
_destroy: $.noop,
|
329
|
+
|
330
|
+
widget: function() {
|
331
|
+
return this.element;
|
332
|
+
},
|
333
|
+
|
334
|
+
option: function( key, value ) {
|
335
|
+
var options = key,
|
336
|
+
parts,
|
337
|
+
curOption,
|
338
|
+
i;
|
339
|
+
|
340
|
+
if ( arguments.length === 0 ) {
|
341
|
+
// don't return a reference to the internal hash
|
342
|
+
return $.widget.extend( {}, this.options );
|
343
|
+
}
|
344
|
+
|
345
|
+
if ( typeof key === "string" ) {
|
346
|
+
// handle nested keys, e.g., "foo.bar" => { foo: { bar: ___ } }
|
347
|
+
options = {};
|
348
|
+
parts = key.split( "." );
|
349
|
+
key = parts.shift();
|
350
|
+
if ( parts.length ) {
|
351
|
+
curOption = options[ key ] = $.widget.extend( {}, this.options[ key ] );
|
352
|
+
for ( i = 0; i < parts.length - 1; i++ ) {
|
353
|
+
curOption[ parts[ i ] ] = curOption[ parts[ i ] ] || {};
|
354
|
+
curOption = curOption[ parts[ i ] ];
|
355
|
+
}
|
356
|
+
key = parts.pop();
|
357
|
+
if ( arguments.length === 1 ) {
|
358
|
+
return curOption[ key ] === undefined ? null : curOption[ key ];
|
359
|
+
}
|
360
|
+
curOption[ key ] = value;
|
361
|
+
} else {
|
362
|
+
if ( arguments.length === 1 ) {
|
363
|
+
return this.options[ key ] === undefined ? null : this.options[ key ];
|
364
|
+
}
|
365
|
+
options[ key ] = value;
|
366
|
+
}
|
367
|
+
}
|
368
|
+
|
369
|
+
this._setOptions( options );
|
370
|
+
|
371
|
+
return this;
|
372
|
+
},
|
373
|
+
_setOptions: function( options ) {
|
374
|
+
var key;
|
375
|
+
|
376
|
+
for ( key in options ) {
|
377
|
+
this._setOption( key, options[ key ] );
|
378
|
+
}
|
379
|
+
|
380
|
+
return this;
|
381
|
+
},
|
382
|
+
_setOption: function( key, value ) {
|
383
|
+
this.options[ key ] = value;
|
384
|
+
|
385
|
+
if ( key === "disabled" ) {
|
386
|
+
this.widget()
|
387
|
+
.toggleClass( this.widgetFullName + "-disabled", !!value );
|
388
|
+
|
389
|
+
// If the widget is becoming disabled, then nothing is interactive
|
390
|
+
if ( value ) {
|
391
|
+
this.hoverable.removeClass( "ui-state-hover" );
|
392
|
+
this.focusable.removeClass( "ui-state-focus" );
|
393
|
+
}
|
394
|
+
}
|
395
|
+
|
396
|
+
return this;
|
397
|
+
},
|
398
|
+
|
399
|
+
enable: function() {
|
400
|
+
return this._setOptions({ disabled: false });
|
401
|
+
},
|
402
|
+
disable: function() {
|
403
|
+
return this._setOptions({ disabled: true });
|
404
|
+
},
|
405
|
+
|
406
|
+
_on: function( suppressDisabledCheck, element, handlers ) {
|
407
|
+
var delegateElement,
|
408
|
+
instance = this;
|
409
|
+
|
410
|
+
// no suppressDisabledCheck flag, shuffle arguments
|
411
|
+
if ( typeof suppressDisabledCheck !== "boolean" ) {
|
412
|
+
handlers = element;
|
413
|
+
element = suppressDisabledCheck;
|
414
|
+
suppressDisabledCheck = false;
|
415
|
+
}
|
416
|
+
|
417
|
+
// no element argument, shuffle and use this.element
|
418
|
+
if ( !handlers ) {
|
419
|
+
handlers = element;
|
420
|
+
element = this.element;
|
421
|
+
delegateElement = this.widget();
|
422
|
+
} else {
|
423
|
+
element = delegateElement = $( element );
|
424
|
+
this.bindings = this.bindings.add( element );
|
425
|
+
}
|
426
|
+
|
427
|
+
$.each( handlers, function( event, handler ) {
|
428
|
+
function handlerProxy() {
|
429
|
+
// allow widgets to customize the disabled handling
|
430
|
+
// - disabled as an array instead of boolean
|
431
|
+
// - disabled class as method for disabling individual parts
|
432
|
+
if ( !suppressDisabledCheck &&
|
433
|
+
( instance.options.disabled === true ||
|
434
|
+
$( this ).hasClass( "ui-state-disabled" ) ) ) {
|
435
|
+
return;
|
436
|
+
}
|
437
|
+
return ( typeof handler === "string" ? instance[ handler ] : handler )
|
438
|
+
.apply( instance, arguments );
|
439
|
+
}
|
440
|
+
|
441
|
+
// copy the guid so direct unbinding works
|
442
|
+
if ( typeof handler !== "string" ) {
|
443
|
+
handlerProxy.guid = handler.guid =
|
444
|
+
handler.guid || handlerProxy.guid || $.guid++;
|
445
|
+
}
|
446
|
+
|
447
|
+
var match = event.match( /^([\w:-]*)\s*(.*)$/ ),
|
448
|
+
eventName = match[1] + instance.eventNamespace,
|
449
|
+
selector = match[2];
|
450
|
+
if ( selector ) {
|
451
|
+
delegateElement.delegate( selector, eventName, handlerProxy );
|
452
|
+
} else {
|
453
|
+
element.bind( eventName, handlerProxy );
|
454
|
+
}
|
455
|
+
});
|
456
|
+
},
|
457
|
+
|
458
|
+
_off: function( element, eventName ) {
|
459
|
+
eventName = (eventName || "").split( " " ).join( this.eventNamespace + " " ) +
|
460
|
+
this.eventNamespace;
|
461
|
+
element.unbind( eventName ).undelegate( eventName );
|
462
|
+
|
463
|
+
// Clear the stack to avoid memory leaks (#10056)
|
464
|
+
this.bindings = $( this.bindings.not( element ).get() );
|
465
|
+
this.focusable = $( this.focusable.not( element ).get() );
|
466
|
+
this.hoverable = $( this.hoverable.not( element ).get() );
|
467
|
+
},
|
468
|
+
|
469
|
+
_delay: function( handler, delay ) {
|
470
|
+
function handlerProxy() {
|
471
|
+
return ( typeof handler === "string" ? instance[ handler ] : handler )
|
472
|
+
.apply( instance, arguments );
|
473
|
+
}
|
474
|
+
var instance = this;
|
475
|
+
return setTimeout( handlerProxy, delay || 0 );
|
476
|
+
},
|
477
|
+
|
478
|
+
_hoverable: function( element ) {
|
479
|
+
this.hoverable = this.hoverable.add( element );
|
480
|
+
this._on( element, {
|
481
|
+
mouseenter: function( event ) {
|
482
|
+
$( event.currentTarget ).addClass( "ui-state-hover" );
|
483
|
+
},
|
484
|
+
mouseleave: function( event ) {
|
485
|
+
$( event.currentTarget ).removeClass( "ui-state-hover" );
|
486
|
+
}
|
487
|
+
});
|
488
|
+
},
|
489
|
+
|
490
|
+
_focusable: function( element ) {
|
491
|
+
this.focusable = this.focusable.add( element );
|
492
|
+
this._on( element, {
|
493
|
+
focusin: function( event ) {
|
494
|
+
$( event.currentTarget ).addClass( "ui-state-focus" );
|
495
|
+
},
|
496
|
+
focusout: function( event ) {
|
497
|
+
$( event.currentTarget ).removeClass( "ui-state-focus" );
|
498
|
+
}
|
499
|
+
});
|
500
|
+
},
|
501
|
+
|
502
|
+
_trigger: function( type, event, data ) {
|
503
|
+
var prop, orig,
|
504
|
+
callback = this.options[ type ];
|
505
|
+
|
506
|
+
data = data || {};
|
507
|
+
event = $.Event( event );
|
508
|
+
event.type = ( type === this.widgetEventPrefix ?
|
509
|
+
type :
|
510
|
+
this.widgetEventPrefix + type ).toLowerCase();
|
511
|
+
// the original event may come from any element
|
512
|
+
// so we need to reset the target on the new event
|
513
|
+
event.target = this.element[ 0 ];
|
514
|
+
|
515
|
+
// copy original event properties over to the new event
|
516
|
+
orig = event.originalEvent;
|
517
|
+
if ( orig ) {
|
518
|
+
for ( prop in orig ) {
|
519
|
+
if ( !( prop in event ) ) {
|
520
|
+
event[ prop ] = orig[ prop ];
|
521
|
+
}
|
522
|
+
}
|
523
|
+
}
|
524
|
+
|
525
|
+
this.element.trigger( event, data );
|
526
|
+
return !( $.isFunction( callback ) &&
|
527
|
+
callback.apply( this.element[0], [ event ].concat( data ) ) === false ||
|
528
|
+
event.isDefaultPrevented() );
|
529
|
+
}
|
530
|
+
};
|
531
|
+
|
532
|
+
$.each( { show: "fadeIn", hide: "fadeOut" }, function( method, defaultEffect ) {
|
533
|
+
$.Widget.prototype[ "_" + method ] = function( element, options, callback ) {
|
534
|
+
if ( typeof options === "string" ) {
|
535
|
+
options = { effect: options };
|
536
|
+
}
|
537
|
+
var hasOptions,
|
538
|
+
effectName = !options ?
|
539
|
+
method :
|
540
|
+
options === true || typeof options === "number" ?
|
541
|
+
defaultEffect :
|
542
|
+
options.effect || defaultEffect;
|
543
|
+
options = options || {};
|
544
|
+
if ( typeof options === "number" ) {
|
545
|
+
options = { duration: options };
|
546
|
+
}
|
547
|
+
hasOptions = !$.isEmptyObject( options );
|
548
|
+
options.complete = callback;
|
549
|
+
if ( options.delay ) {
|
550
|
+
element.delay( options.delay );
|
551
|
+
}
|
552
|
+
if ( hasOptions && $.effects && $.effects.effect[ effectName ] ) {
|
553
|
+
element[ method ]( options );
|
554
|
+
} else if ( effectName !== method && element[ effectName ] ) {
|
555
|
+
element[ effectName ]( options.duration, options.easing, callback );
|
556
|
+
} else {
|
557
|
+
element.queue(function( next ) {
|
558
|
+
$( this )[ method ]();
|
559
|
+
if ( callback ) {
|
560
|
+
callback.call( element[ 0 ] );
|
561
|
+
}
|
562
|
+
next();
|
563
|
+
});
|
564
|
+
}
|
565
|
+
};
|
566
|
+
});
|
567
|
+
|
568
|
+
var widget = $.widget;
|
569
|
+
|
570
|
+
|
571
|
+
|
572
|
+
}));
|