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,189 @@
|
|
1
|
+
/**
|
2
|
+
* @license RequireJS order 1.0.5 Copyright (c) 2010-2011, The Dojo Foundation All Rights Reserved.
|
3
|
+
* Available via the MIT or new BSD license.
|
4
|
+
* see: http://github.com/jrburke/requirejs for details
|
5
|
+
*/
|
6
|
+
/*jslint nomen: false, plusplus: false, strict: false */
|
7
|
+
/*global require: false, define: false, window: false, document: false,
|
8
|
+
setTimeout: false */
|
9
|
+
|
10
|
+
//Specify that requirejs optimizer should wrap this code in a closure that
|
11
|
+
//maps the namespaced requirejs API to non-namespaced local variables.
|
12
|
+
/*requirejs namespace: true */
|
13
|
+
|
14
|
+
(function () {
|
15
|
+
|
16
|
+
//Sadly necessary browser inference due to differences in the way
|
17
|
+
//that browsers load and execute dynamically inserted javascript
|
18
|
+
//and whether the script/cache method works when ordered execution is
|
19
|
+
//desired. Currently, Gecko and Opera do not load/fire onload for scripts with
|
20
|
+
//type="script/cache" but they execute injected scripts in order
|
21
|
+
//unless the 'async' flag is present.
|
22
|
+
//However, this is all changing in latest browsers implementing HTML5
|
23
|
+
//spec. With compliant browsers .async true by default, and
|
24
|
+
//if false, then it will execute in order. Favor that test first for forward
|
25
|
+
//compatibility.
|
26
|
+
var testScript = typeof document !== "undefined" &&
|
27
|
+
typeof window !== "undefined" &&
|
28
|
+
document.createElement("script"),
|
29
|
+
|
30
|
+
supportsInOrderExecution = testScript && (testScript.async ||
|
31
|
+
((window.opera &&
|
32
|
+
Object.prototype.toString.call(window.opera) === "[object Opera]") ||
|
33
|
+
//If Firefox 2 does not have to be supported, then
|
34
|
+
//a better check may be:
|
35
|
+
//('mozIsLocallyAvailable' in window.navigator)
|
36
|
+
("MozAppearance" in document.documentElement.style))),
|
37
|
+
|
38
|
+
//This test is true for IE browsers, which will load scripts but only
|
39
|
+
//execute them once the script is added to the DOM.
|
40
|
+
supportsLoadSeparateFromExecute = testScript &&
|
41
|
+
testScript.readyState === 'uninitialized',
|
42
|
+
|
43
|
+
readyRegExp = /^(complete|loaded)$/,
|
44
|
+
cacheWaiting = [],
|
45
|
+
cached = {},
|
46
|
+
scriptNodes = {},
|
47
|
+
scriptWaiting = [];
|
48
|
+
|
49
|
+
//Done with the test script.
|
50
|
+
testScript = null;
|
51
|
+
|
52
|
+
//Callback used by the type="script/cache" callback that indicates a script
|
53
|
+
//has finished downloading.
|
54
|
+
function scriptCacheCallback(evt) {
|
55
|
+
var node = evt.currentTarget || evt.srcElement, i,
|
56
|
+
moduleName, resource;
|
57
|
+
|
58
|
+
if (evt.type === "load" || readyRegExp.test(node.readyState)) {
|
59
|
+
//Pull out the name of the module and the context.
|
60
|
+
moduleName = node.getAttribute("data-requiremodule");
|
61
|
+
|
62
|
+
//Mark this cache request as loaded
|
63
|
+
cached[moduleName] = true;
|
64
|
+
|
65
|
+
//Find out how many ordered modules have loaded
|
66
|
+
for (i = 0; (resource = cacheWaiting[i]); i++) {
|
67
|
+
if (cached[resource.name]) {
|
68
|
+
resource.req([resource.name], resource.onLoad);
|
69
|
+
} else {
|
70
|
+
//Something in the ordered list is not loaded,
|
71
|
+
//so wait.
|
72
|
+
break;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
//If just loaded some items, remove them from cacheWaiting.
|
77
|
+
if (i > 0) {
|
78
|
+
cacheWaiting.splice(0, i);
|
79
|
+
}
|
80
|
+
|
81
|
+
//Remove this script tag from the DOM
|
82
|
+
//Use a setTimeout for cleanup because some older IE versions vomit
|
83
|
+
//if removing a script node while it is being evaluated.
|
84
|
+
setTimeout(function () {
|
85
|
+
node.parentNode.removeChild(node);
|
86
|
+
}, 15);
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
/**
|
91
|
+
* Used for the IE case, where fetching is done by creating script element
|
92
|
+
* but not attaching it to the DOM. This function will be called when that
|
93
|
+
* happens so it can be determined when the node can be attached to the
|
94
|
+
* DOM to trigger its execution.
|
95
|
+
*/
|
96
|
+
function onFetchOnly(node) {
|
97
|
+
var i, loadedNode, resourceName;
|
98
|
+
|
99
|
+
//Mark this script as loaded.
|
100
|
+
node.setAttribute('data-orderloaded', 'loaded');
|
101
|
+
|
102
|
+
//Cycle through waiting scripts. If the matching node for them
|
103
|
+
//is loaded, and is in the right order, add it to the DOM
|
104
|
+
//to execute the script.
|
105
|
+
for (i = 0; (resourceName = scriptWaiting[i]); i++) {
|
106
|
+
loadedNode = scriptNodes[resourceName];
|
107
|
+
if (loadedNode &&
|
108
|
+
loadedNode.getAttribute('data-orderloaded') === 'loaded') {
|
109
|
+
delete scriptNodes[resourceName];
|
110
|
+
require.addScriptToDom(loadedNode);
|
111
|
+
} else {
|
112
|
+
break;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
//If just loaded some items, remove them from waiting.
|
117
|
+
if (i > 0) {
|
118
|
+
scriptWaiting.splice(0, i);
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
define({
|
123
|
+
version: '1.0.5',
|
124
|
+
|
125
|
+
load: function (name, req, onLoad, config) {
|
126
|
+
var hasToUrl = !!req.nameToUrl,
|
127
|
+
url, node, context;
|
128
|
+
|
129
|
+
//If no nameToUrl, then probably a build with a loader that
|
130
|
+
//does not support it, and all modules are inlined.
|
131
|
+
if (!hasToUrl) {
|
132
|
+
req([name], onLoad);
|
133
|
+
return;
|
134
|
+
}
|
135
|
+
|
136
|
+
url = req.nameToUrl(name, null);
|
137
|
+
|
138
|
+
//Make sure the async attribute is not set for any pathway involving
|
139
|
+
//this script.
|
140
|
+
require.s.skipAsync[url] = true;
|
141
|
+
if (supportsInOrderExecution || config.isBuild) {
|
142
|
+
//Just a normal script tag append, but without async attribute
|
143
|
+
//on the script.
|
144
|
+
req([name], onLoad);
|
145
|
+
} else if (supportsLoadSeparateFromExecute) {
|
146
|
+
//Just fetch the URL, but do not execute it yet. The
|
147
|
+
//non-standards IE case. Really not so nice because it is
|
148
|
+
//assuming and touching requrejs internals. OK though since
|
149
|
+
//ordered execution should go away after a long while.
|
150
|
+
context = require.s.contexts._;
|
151
|
+
|
152
|
+
if (!context.urlFetched[url] && !context.loaded[name]) {
|
153
|
+
//Indicate the script is being fetched.
|
154
|
+
context.urlFetched[url] = true;
|
155
|
+
|
156
|
+
//Stuff from require.load
|
157
|
+
require.resourcesReady(false);
|
158
|
+
context.scriptCount += 1;
|
159
|
+
|
160
|
+
//Fetch the script now, remember it.
|
161
|
+
node = require.attach(url, context, name, null, null, onFetchOnly);
|
162
|
+
scriptNodes[name] = node;
|
163
|
+
scriptWaiting.push(name);
|
164
|
+
}
|
165
|
+
|
166
|
+
//Do a normal require for it, once it loads, use it as return
|
167
|
+
//value.
|
168
|
+
req([name], onLoad);
|
169
|
+
} else {
|
170
|
+
//Credit to LABjs author Kyle Simpson for finding that scripts
|
171
|
+
//with type="script/cache" allow scripts to be downloaded into
|
172
|
+
//browser cache but not executed. Use that
|
173
|
+
//so that subsequent addition of a real type="text/javascript"
|
174
|
+
//tag will cause the scripts to be executed immediately in the
|
175
|
+
//correct order.
|
176
|
+
if (req.specified(name)) {
|
177
|
+
req([name], onLoad);
|
178
|
+
} else {
|
179
|
+
cacheWaiting.push({
|
180
|
+
name: name,
|
181
|
+
req: req,
|
182
|
+
onLoad: onLoad
|
183
|
+
});
|
184
|
+
require.attach(url, null, name, scriptCacheCallback, "script/cache");
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
});
|
189
|
+
}());
|
@@ -0,0 +1,426 @@
|
|
1
|
+
/*
|
2
|
+
* The MIT License
|
3
|
+
*
|
4
|
+
* Copyright (c) 2012 James Allardice
|
5
|
+
*
|
6
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
|
7
|
+
* to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
8
|
+
* and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
9
|
+
*
|
10
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
11
|
+
*
|
12
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
13
|
+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
14
|
+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
15
|
+
* THE SOFTWARE.
|
16
|
+
*/
|
17
|
+
|
18
|
+
// Defines the global Placeholders object along with various utility methods
|
19
|
+
(function (global) {
|
20
|
+
|
21
|
+
"use strict";
|
22
|
+
|
23
|
+
// Cross-browser DOM event binding
|
24
|
+
function addEventListener(elem, event, fn) {
|
25
|
+
if (elem.addEventListener) {
|
26
|
+
return elem.addEventListener(event, fn, false);
|
27
|
+
}
|
28
|
+
if (elem.attachEvent) {
|
29
|
+
return elem.attachEvent("on" + event, fn);
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
// Check whether an item is in an array (we don't use Array.prototype.indexOf so we don't clobber any existing polyfills - this is a really simple alternative)
|
34
|
+
function inArray(arr, item) {
|
35
|
+
var i, len;
|
36
|
+
for (i = 0, len = arr.length; i < len; i++) {
|
37
|
+
if (arr[i] === item) {
|
38
|
+
return true;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
return false;
|
42
|
+
}
|
43
|
+
|
44
|
+
// Move the caret to the index position specified. Assumes that the element has focus
|
45
|
+
function moveCaret(elem, index) {
|
46
|
+
var range;
|
47
|
+
if (elem.createTextRange) {
|
48
|
+
range = elem.createTextRange();
|
49
|
+
range.move("character", index);
|
50
|
+
range.select();
|
51
|
+
} else if (elem.selectionStart) {
|
52
|
+
elem.focus();
|
53
|
+
elem.setSelectionRange(index, index);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
// Attempt to change the type property of an input element
|
58
|
+
function changeType(elem, type) {
|
59
|
+
try {
|
60
|
+
elem.type = type;
|
61
|
+
return true;
|
62
|
+
} catch (e) {
|
63
|
+
// You can't change input type in IE8 and below
|
64
|
+
return false;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
|
68
|
+
// Expose public methods
|
69
|
+
global.Placeholders = {
|
70
|
+
Utils: {
|
71
|
+
addEventListener: addEventListener,
|
72
|
+
inArray: inArray,
|
73
|
+
moveCaret: moveCaret,
|
74
|
+
changeType: changeType
|
75
|
+
}
|
76
|
+
};
|
77
|
+
|
78
|
+
}(this));
|
79
|
+
|
80
|
+
(function (global) {
|
81
|
+
|
82
|
+
"use strict";
|
83
|
+
|
84
|
+
var validTypes = [
|
85
|
+
"text",
|
86
|
+
"search",
|
87
|
+
"url",
|
88
|
+
"tel",
|
89
|
+
"email",
|
90
|
+
"password",
|
91
|
+
"number",
|
92
|
+
"textarea"
|
93
|
+
],
|
94
|
+
|
95
|
+
// The list of keycodes that are not allowed when the polyfill is configured to hide-on-input
|
96
|
+
badKeys = [
|
97
|
+
|
98
|
+
// The following keys all cause the caret to jump to the end of the input value
|
99
|
+
27, // Escape
|
100
|
+
33, // Page up
|
101
|
+
34, // Page down
|
102
|
+
35, // End
|
103
|
+
36, // Home
|
104
|
+
|
105
|
+
// Arrow keys allow you to move the caret manually, which should be prevented when the placeholder is visible
|
106
|
+
37, // Left
|
107
|
+
38, // Up
|
108
|
+
39, // Right
|
109
|
+
40, // Down
|
110
|
+
|
111
|
+
// The following keys allow you to modify the placeholder text by removing characters, which should be prevented when the placeholder is visible
|
112
|
+
8, // Backspace
|
113
|
+
46 // Delete
|
114
|
+
],
|
115
|
+
|
116
|
+
// Styling variables
|
117
|
+
placeholderStyleColor = "#ccc",
|
118
|
+
placeholderClassName = "placeholdersjs",
|
119
|
+
classNameRegExp = new RegExp("(?:^|\\s)" + placeholderClassName + "(?!\\S)"),
|
120
|
+
|
121
|
+
// These will hold references to all elements that can be affected. NodeList objects are live, so we only need to get those references once
|
122
|
+
inputs, textareas,
|
123
|
+
|
124
|
+
// The various data-* attributes used by the polyfill
|
125
|
+
ATTR_CURRENT_VAL = "data-placeholder-value",
|
126
|
+
ATTR_ACTIVE = "data-placeholder-active",
|
127
|
+
ATTR_INPUT_TYPE = "data-placeholder-type",
|
128
|
+
ATTR_FORM_HANDLED = "data-placeholder-submit",
|
129
|
+
ATTR_EVENTS_BOUND = "data-placeholder-bound",
|
130
|
+
ATTR_OPTION_FOCUS = "data-placeholder-focus",
|
131
|
+
ATTR_OPTION_LIVE = "data-placeholder-live",
|
132
|
+
|
133
|
+
// Various other variables used throughout the rest of the script
|
134
|
+
test = document.createElement("input"),
|
135
|
+
head = document.getElementsByTagName("head")[0],
|
136
|
+
root = document.documentElement,
|
137
|
+
Placeholders = global.Placeholders,
|
138
|
+
Utils = Placeholders.Utils,
|
139
|
+
hideOnInput, liveUpdates, keydownVal, styleElem, styleRules, placeholder, timer, form, elem, len, i;
|
140
|
+
|
141
|
+
// No-op (used in place of public methods when native support is detected)
|
142
|
+
function noop() {}
|
143
|
+
|
144
|
+
// Hide the placeholder value on a single element. Returns true if the placeholder was hidden and false if it was not (because it wasn't visible in the first place)
|
145
|
+
function hidePlaceholder(elem) {
|
146
|
+
var type;
|
147
|
+
if (elem.value === elem.getAttribute(ATTR_CURRENT_VAL) && elem.getAttribute(ATTR_ACTIVE) === "true") {
|
148
|
+
elem.setAttribute(ATTR_ACTIVE, "false");
|
149
|
+
elem.value = "";
|
150
|
+
elem.className = elem.className.replace(classNameRegExp, "");
|
151
|
+
|
152
|
+
// If the polyfill has changed the type of the element we need to change it back
|
153
|
+
type = elem.getAttribute(ATTR_INPUT_TYPE);
|
154
|
+
if (type) {
|
155
|
+
elem.type = type;
|
156
|
+
}
|
157
|
+
return true;
|
158
|
+
}
|
159
|
+
return false;
|
160
|
+
}
|
161
|
+
|
162
|
+
// Show the placeholder value on a single element. Returns true if the placeholder was shown and false if it was not (because it was already visible)
|
163
|
+
function showPlaceholder(elem) {
|
164
|
+
var type,
|
165
|
+
val = elem.getAttribute(ATTR_CURRENT_VAL);
|
166
|
+
if (elem.value === "" && val) {
|
167
|
+
elem.setAttribute(ATTR_ACTIVE, "true");
|
168
|
+
elem.value = val;
|
169
|
+
elem.className += " " + placeholderClassName;
|
170
|
+
|
171
|
+
// If the type of element needs to change, change it (e.g. password inputs)
|
172
|
+
type = elem.getAttribute(ATTR_INPUT_TYPE);
|
173
|
+
if (type) {
|
174
|
+
elem.type = "text";
|
175
|
+
} else if (elem.type === "password") {
|
176
|
+
if (Utils.changeType(elem, "text")) {
|
177
|
+
elem.setAttribute(ATTR_INPUT_TYPE, "password");
|
178
|
+
}
|
179
|
+
}
|
180
|
+
return true;
|
181
|
+
}
|
182
|
+
return false;
|
183
|
+
}
|
184
|
+
|
185
|
+
function handleElem(node, callback) {
|
186
|
+
|
187
|
+
var handleInputs, handleTextareas, elem, len, i;
|
188
|
+
|
189
|
+
// Check if the passed in node is an input/textarea (in which case it can't have any affected descendants)
|
190
|
+
if (node && node.getAttribute(ATTR_CURRENT_VAL)) {
|
191
|
+
callback(node);
|
192
|
+
} else {
|
193
|
+
|
194
|
+
// If an element was passed in, get all affected descendants. Otherwise, get all affected elements in document
|
195
|
+
handleInputs = node ? node.getElementsByTagName("input") : inputs;
|
196
|
+
handleTextareas = node ? node.getElementsByTagName("textarea") : textareas;
|
197
|
+
|
198
|
+
// Run the callback for each element
|
199
|
+
for (i = 0, len = handleInputs.length + handleTextareas.length; i < len; i++) {
|
200
|
+
elem = i < handleInputs.length ? handleInputs[i] : handleTextareas[i - handleInputs.length];
|
201
|
+
callback(elem);
|
202
|
+
}
|
203
|
+
}
|
204
|
+
}
|
205
|
+
|
206
|
+
// Return all affected elements to their normal state (remove placeholder value if present)
|
207
|
+
function disablePlaceholders(node) {
|
208
|
+
handleElem(node, hidePlaceholder);
|
209
|
+
}
|
210
|
+
|
211
|
+
// Show the placeholder value on all appropriate elements
|
212
|
+
function enablePlaceholders(node) {
|
213
|
+
handleElem(node, showPlaceholder);
|
214
|
+
}
|
215
|
+
|
216
|
+
// Returns a function that is used as a focus event handler
|
217
|
+
function makeFocusHandler(elem) {
|
218
|
+
return function () {
|
219
|
+
|
220
|
+
// Only hide the placeholder value if the (default) hide-on-focus behaviour is enabled
|
221
|
+
if (hideOnInput && elem.value === elem.getAttribute(ATTR_CURRENT_VAL) && elem.getAttribute(ATTR_ACTIVE) === "true") {
|
222
|
+
|
223
|
+
// Move the caret to the start of the input (this mimics the behaviour of all browsers that do not hide the placeholder on focus)
|
224
|
+
Utils.moveCaret(elem, 0);
|
225
|
+
|
226
|
+
} else {
|
227
|
+
|
228
|
+
// Remove the placeholder
|
229
|
+
hidePlaceholder(elem);
|
230
|
+
}
|
231
|
+
};
|
232
|
+
}
|
233
|
+
|
234
|
+
// Returns a function that is used as a blur event handler
|
235
|
+
function makeBlurHandler(elem) {
|
236
|
+
return function () {
|
237
|
+
showPlaceholder(elem);
|
238
|
+
};
|
239
|
+
}
|
240
|
+
|
241
|
+
// Functions that are used as a event handlers when the hide-on-input behaviour has been activated - very basic implementation of the "input" event
|
242
|
+
function makeKeydownHandler(elem) {
|
243
|
+
return function (e) {
|
244
|
+
keydownVal = elem.value;
|
245
|
+
|
246
|
+
//Prevent the use of the arrow keys (try to keep the cursor before the placeholder)
|
247
|
+
if (elem.getAttribute(ATTR_ACTIVE) === "true") {
|
248
|
+
if (keydownVal === elem.getAttribute(ATTR_CURRENT_VAL) && Utils.inArray(badKeys, e.keyCode)) {
|
249
|
+
if (e.preventDefault) {
|
250
|
+
e.preventDefault();
|
251
|
+
}
|
252
|
+
return false;
|
253
|
+
}
|
254
|
+
}
|
255
|
+
};
|
256
|
+
}
|
257
|
+
function makeKeyupHandler(elem) {
|
258
|
+
return function () {
|
259
|
+
var type;
|
260
|
+
|
261
|
+
if (elem.getAttribute(ATTR_ACTIVE) === "true" && elem.value !== keydownVal) {
|
262
|
+
|
263
|
+
// Remove the placeholder
|
264
|
+
elem.className = elem.className.replace(classNameRegExp, "");
|
265
|
+
elem.value = elem.value.replace(elem.getAttribute(ATTR_CURRENT_VAL), "");
|
266
|
+
elem.setAttribute(ATTR_ACTIVE, false);
|
267
|
+
|
268
|
+
// If the type of element needs to change, change it (e.g. password inputs)
|
269
|
+
type = elem.getAttribute(ATTR_INPUT_TYPE);
|
270
|
+
if (type) {
|
271
|
+
elem.type = type;
|
272
|
+
}
|
273
|
+
}
|
274
|
+
|
275
|
+
// If the element is now empty we need to show the placeholder
|
276
|
+
if (elem.value === "") {
|
277
|
+
elem.blur();
|
278
|
+
Utils.moveCaret(elem, 0);
|
279
|
+
}
|
280
|
+
};
|
281
|
+
}
|
282
|
+
function makeClickHandler(elem) {
|
283
|
+
return function () {
|
284
|
+
if (elem === document.activeElement && elem.value === elem.getAttribute(ATTR_CURRENT_VAL) && elem.getAttribute(ATTR_ACTIVE) === "true") {
|
285
|
+
Utils.moveCaret(elem, 0);
|
286
|
+
}
|
287
|
+
};
|
288
|
+
}
|
289
|
+
|
290
|
+
// Returns a function that is used as a submit event handler on form elements that have children affected by this polyfill
|
291
|
+
function makeSubmitHandler(form) {
|
292
|
+
return function () {
|
293
|
+
|
294
|
+
// Turn off placeholders on all appropriate descendant elements
|
295
|
+
disablePlaceholders(form);
|
296
|
+
};
|
297
|
+
}
|
298
|
+
|
299
|
+
// Bind event handlers to an element that we need to affect with the polyfill
|
300
|
+
function newElement(elem) {
|
301
|
+
|
302
|
+
// If the element is part of a form, make sure the placeholder string is not submitted as a value
|
303
|
+
if (elem.form) {
|
304
|
+
form = elem.form;
|
305
|
+
|
306
|
+
// Set a flag on the form so we know it's been handled (forms can contain multiple inputs)
|
307
|
+
if (!form.getAttribute(ATTR_FORM_HANDLED)) {
|
308
|
+
Utils.addEventListener(form, "submit", makeSubmitHandler(form));
|
309
|
+
form.setAttribute(ATTR_FORM_HANDLED, "true");
|
310
|
+
}
|
311
|
+
}
|
312
|
+
|
313
|
+
// Bind event handlers to the element so we can hide/show the placeholder as appropriate
|
314
|
+
Utils.addEventListener(elem, "focus", makeFocusHandler(elem));
|
315
|
+
Utils.addEventListener(elem, "blur", makeBlurHandler(elem));
|
316
|
+
|
317
|
+
// If the placeholder should hide on input rather than on focus we need additional event handlers
|
318
|
+
if (hideOnInput) {
|
319
|
+
Utils.addEventListener(elem, "keydown", makeKeydownHandler(elem));
|
320
|
+
Utils.addEventListener(elem, "keyup", makeKeyupHandler(elem));
|
321
|
+
Utils.addEventListener(elem, "click", makeClickHandler(elem));
|
322
|
+
}
|
323
|
+
|
324
|
+
// Remember that we've bound event handlers to this element
|
325
|
+
elem.setAttribute(ATTR_EVENTS_BOUND, "true");
|
326
|
+
elem.setAttribute(ATTR_CURRENT_VAL, placeholder);
|
327
|
+
|
328
|
+
// If the element doesn't have a value, set it to the placeholder string
|
329
|
+
showPlaceholder(elem);
|
330
|
+
}
|
331
|
+
|
332
|
+
Placeholders.nativeSupport = test.placeholder !== void 0;
|
333
|
+
|
334
|
+
if (!Placeholders.nativeSupport) {
|
335
|
+
|
336
|
+
// Get references to all the input and textarea elements currently in the DOM (live NodeList objects to we only need to do this once)
|
337
|
+
inputs = document.getElementsByTagName("input");
|
338
|
+
textareas = document.getElementsByTagName("textarea");
|
339
|
+
|
340
|
+
// Get any settings declared as data-* attributes on the root element (currently the only options are whether to hide the placeholder on focus or input and whether to auto-update)
|
341
|
+
hideOnInput = root.getAttribute(ATTR_OPTION_FOCUS) === "false";
|
342
|
+
liveUpdates = root.getAttribute(ATTR_OPTION_LIVE) !== "false";
|
343
|
+
|
344
|
+
// Create style element for placeholder styles (instead of directly setting style properties on elements - allows for better flexibility alongside user-defined styles)
|
345
|
+
styleElem = document.createElement("style");
|
346
|
+
styleElem.type = "text/css";
|
347
|
+
|
348
|
+
// Create style rules as text node
|
349
|
+
styleRules = document.createTextNode("." + placeholderClassName + " { color:" + placeholderStyleColor + "; }");
|
350
|
+
|
351
|
+
// Append style rules to newly created stylesheet
|
352
|
+
if (styleElem.styleSheet) {
|
353
|
+
styleElem.styleSheet.cssText = styleRules.nodeValue;
|
354
|
+
} else {
|
355
|
+
styleElem.appendChild(styleRules);
|
356
|
+
}
|
357
|
+
|
358
|
+
// Prepend new style element to the head (before any existing stylesheets, so user-defined rules take precedence)
|
359
|
+
head.insertBefore(styleElem, head.firstChild);
|
360
|
+
|
361
|
+
// Set up the placeholders
|
362
|
+
for (i = 0, len = inputs.length + textareas.length; i < len; i++) {
|
363
|
+
elem = i < inputs.length ? inputs[i] : textareas[i - inputs.length];
|
364
|
+
|
365
|
+
// Get the value of the placeholder attribute, if any. IE10 emulating IE7 fails with getAttribute, hence the use of the attributes node
|
366
|
+
placeholder = elem.attributes.placeholder;
|
367
|
+
if (placeholder) {
|
368
|
+
|
369
|
+
// IE returns an empty object instead of undefined if the attribute is not present
|
370
|
+
placeholder = placeholder.nodeValue;
|
371
|
+
|
372
|
+
// Only apply the polyfill if this element is of a type that supports placeholders, and has a placeholder attribute with a non-empty value
|
373
|
+
if (placeholder && Utils.inArray(validTypes, elem.type)) {
|
374
|
+
newElement(elem);
|
375
|
+
}
|
376
|
+
}
|
377
|
+
}
|
378
|
+
|
379
|
+
// If enabled, the polyfill will repeatedly check for changed/added elements and apply to those as well
|
380
|
+
timer = setInterval(function () {
|
381
|
+
for (i = 0, len = inputs.length + textareas.length; i < len; i++) {
|
382
|
+
elem = i < inputs.length ? inputs[i] : textareas[i - inputs.length];
|
383
|
+
|
384
|
+
// Only apply the polyfill if this element is of a type that supports placeholders, and has a placeholder attribute with a non-empty value
|
385
|
+
placeholder = elem.attributes.placeholder;
|
386
|
+
if (placeholder) {
|
387
|
+
placeholder = placeholder.nodeValue;
|
388
|
+
if (placeholder && Utils.inArray(validTypes, elem.type)) {
|
389
|
+
|
390
|
+
// If the element hasn't had event handlers bound to it then add them
|
391
|
+
if (!elem.getAttribute(ATTR_EVENTS_BOUND)) {
|
392
|
+
newElement(elem);
|
393
|
+
}
|
394
|
+
|
395
|
+
// If the placeholder value has changed or not been initialised yet we need to update the display
|
396
|
+
if (placeholder !== elem.getAttribute(ATTR_CURRENT_VAL) || (elem.type === "password" && !elem.getAttribute(ATTR_INPUT_TYPE))) {
|
397
|
+
|
398
|
+
// Attempt to change the type of password inputs (fails in IE < 9)
|
399
|
+
if (elem.type === "password" && !elem.getAttribute(ATTR_INPUT_TYPE) && Utils.changeType(elem, "text")) {
|
400
|
+
elem.setAttribute(ATTR_INPUT_TYPE, "password");
|
401
|
+
}
|
402
|
+
|
403
|
+
// If the placeholder value has changed and the placeholder is currently on display we need to change it
|
404
|
+
if (elem.value === elem.getAttribute(ATTR_CURRENT_VAL)) {
|
405
|
+
elem.value = placeholder;
|
406
|
+
}
|
407
|
+
|
408
|
+
// Keep a reference to the current placeholder value in case it changes via another script
|
409
|
+
elem.setAttribute(ATTR_CURRENT_VAL, placeholder);
|
410
|
+
}
|
411
|
+
}
|
412
|
+
}
|
413
|
+
}
|
414
|
+
|
415
|
+
// If live updates are not enabled cancel the timer
|
416
|
+
if (!liveUpdates) {
|
417
|
+
clearInterval(timer);
|
418
|
+
}
|
419
|
+
}, 100);
|
420
|
+
}
|
421
|
+
|
422
|
+
// Expose public methods
|
423
|
+
Placeholders.disable = Placeholders.nativeSupport ? noop : disablePlaceholders;
|
424
|
+
Placeholders.enable = Placeholders.nativeSupport ? noop : enablePlaceholders;
|
425
|
+
|
426
|
+
}(this));
|