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,536 @@
|
|
1
|
+
/*!
|
2
|
+
* mustache.js - Logic-less {{mustache}} templates with JavaScript
|
3
|
+
* http://github.com/janl/mustache.js
|
4
|
+
*/
|
5
|
+
var Mustache = (typeof module !== "undefined" && module.exports) || {};
|
6
|
+
|
7
|
+
(function (exports) {
|
8
|
+
|
9
|
+
exports.name = "mustache.js";
|
10
|
+
exports.version = "0.5.0-dev";
|
11
|
+
exports.tags = ["{{", "}}"];
|
12
|
+
exports.parse = parse;
|
13
|
+
exports.compile = compile;
|
14
|
+
exports.render = render;
|
15
|
+
exports.clearCache = clearCache;
|
16
|
+
|
17
|
+
// This is here for backwards compatibility with 0.4.x.
|
18
|
+
exports.to_html = function (template, view, partials, send) {
|
19
|
+
var result = render(template, view, partials);
|
20
|
+
|
21
|
+
if (typeof send === "function") {
|
22
|
+
send(result);
|
23
|
+
} else {
|
24
|
+
return result;
|
25
|
+
}
|
26
|
+
};
|
27
|
+
|
28
|
+
var _toString = Object.prototype.toString;
|
29
|
+
var _isArray = Array.isArray;
|
30
|
+
var _forEach = Array.prototype.forEach;
|
31
|
+
var _trim = String.prototype.trim;
|
32
|
+
|
33
|
+
var isArray;
|
34
|
+
if (_isArray) {
|
35
|
+
isArray = _isArray;
|
36
|
+
} else {
|
37
|
+
isArray = function (obj) {
|
38
|
+
return _toString.call(obj) === "[object Array]";
|
39
|
+
};
|
40
|
+
}
|
41
|
+
|
42
|
+
var forEach;
|
43
|
+
if (_forEach) {
|
44
|
+
forEach = function (obj, callback, scope) {
|
45
|
+
return _forEach.call(obj, callback, scope);
|
46
|
+
};
|
47
|
+
} else {
|
48
|
+
forEach = function (obj, callback, scope) {
|
49
|
+
for (var i = 0, len = obj.length; i < len; ++i) {
|
50
|
+
callback.call(scope, obj[i], i, obj);
|
51
|
+
}
|
52
|
+
};
|
53
|
+
}
|
54
|
+
|
55
|
+
var spaceRe = /^\s*$/;
|
56
|
+
|
57
|
+
function isWhitespace(string) {
|
58
|
+
return spaceRe.test(string);
|
59
|
+
}
|
60
|
+
|
61
|
+
var trim;
|
62
|
+
if (_trim) {
|
63
|
+
trim = function (string) {
|
64
|
+
return string == null ? "" : _trim.call(string);
|
65
|
+
};
|
66
|
+
} else {
|
67
|
+
var trimLeft, trimRight;
|
68
|
+
|
69
|
+
if (isWhitespace("\xA0")) {
|
70
|
+
trimLeft = /^\s+/;
|
71
|
+
trimRight = /\s+$/;
|
72
|
+
} else {
|
73
|
+
// IE doesn't match non-breaking spaces with \s, thanks jQuery.
|
74
|
+
trimLeft = /^[\s\xA0]+/;
|
75
|
+
trimRight = /[\s\xA0]+$/;
|
76
|
+
}
|
77
|
+
|
78
|
+
trim = function (string) {
|
79
|
+
return string == null ? "" :
|
80
|
+
String(string).replace(trimLeft, "").replace(trimRight, "");
|
81
|
+
};
|
82
|
+
}
|
83
|
+
|
84
|
+
var escapeMap = {
|
85
|
+
"&": "&",
|
86
|
+
"<": "<",
|
87
|
+
">": ">",
|
88
|
+
'"': '"',
|
89
|
+
"'": '''
|
90
|
+
};
|
91
|
+
|
92
|
+
function escapeHTML(string) {
|
93
|
+
return String(string).replace(/&(?!\w+;)|[<>"']/g, function (s) {
|
94
|
+
return escapeMap[s] || s;
|
95
|
+
});
|
96
|
+
}
|
97
|
+
|
98
|
+
/**
|
99
|
+
* Adds the `template`, `line`, and `file` properties to the given error
|
100
|
+
* object and alters the message to provide more useful debugging information.
|
101
|
+
*/
|
102
|
+
function debug(e, template, line, file) {
|
103
|
+
file = file || "<template>";
|
104
|
+
|
105
|
+
var lines = template.split("\n"),
|
106
|
+
start = Math.max(line - 3, 0),
|
107
|
+
end = Math.min(lines.length, line + 3),
|
108
|
+
context = lines.slice(start, end);
|
109
|
+
|
110
|
+
var c;
|
111
|
+
for (var i = 0, len = context.length; i < len; ++i) {
|
112
|
+
c = i + start + 1;
|
113
|
+
context[i] = (c === line ? " >> " : " ") + context[i];
|
114
|
+
}
|
115
|
+
|
116
|
+
e.template = template;
|
117
|
+
e.line = line;
|
118
|
+
e.file = file;
|
119
|
+
e.message = [file + ":" + line, context.join("\n"), "", e.message].join("\n");
|
120
|
+
|
121
|
+
return e;
|
122
|
+
}
|
123
|
+
|
124
|
+
/**
|
125
|
+
* Looks up the value of the given `name` in the given context `stack`.
|
126
|
+
*/
|
127
|
+
function lookup(name, stack, defaultValue) {
|
128
|
+
if (name === ".") {
|
129
|
+
return stack[stack.length - 1];
|
130
|
+
}
|
131
|
+
|
132
|
+
var names = name.split(".");
|
133
|
+
var lastIndex = names.length - 1;
|
134
|
+
var target = names[lastIndex];
|
135
|
+
|
136
|
+
var value, context, i = stack.length, j, localStack;
|
137
|
+
while (i) {
|
138
|
+
localStack = stack.slice(0);
|
139
|
+
context = stack[--i];
|
140
|
+
|
141
|
+
j = 0;
|
142
|
+
while (j < lastIndex) {
|
143
|
+
context = context[names[j++]];
|
144
|
+
|
145
|
+
if (context == null) {
|
146
|
+
break;
|
147
|
+
}
|
148
|
+
|
149
|
+
localStack.push(context);
|
150
|
+
}
|
151
|
+
|
152
|
+
if (context && target in context) {
|
153
|
+
value = context[target];
|
154
|
+
break;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
|
158
|
+
// If the value is a function, call it in the current context.
|
159
|
+
if (typeof value === "function") {
|
160
|
+
value = value.call(localStack[localStack.length - 1]);
|
161
|
+
}
|
162
|
+
|
163
|
+
if (value == null) {
|
164
|
+
return defaultValue;
|
165
|
+
}
|
166
|
+
|
167
|
+
return value;
|
168
|
+
}
|
169
|
+
|
170
|
+
function renderSection(name, stack, callback, inverted) {
|
171
|
+
var buffer = "";
|
172
|
+
var value = lookup(name, stack);
|
173
|
+
|
174
|
+
if (inverted) {
|
175
|
+
// From the spec: inverted sections may render text once based on the
|
176
|
+
// inverse value of the key. That is, they will be rendered if the key
|
177
|
+
// doesn't exist, is false, or is an empty list.
|
178
|
+
if (value == null || value === false || (isArray(value) && value.length === 0)) {
|
179
|
+
buffer += callback();
|
180
|
+
}
|
181
|
+
} else if (isArray(value)) {
|
182
|
+
forEach(value, function (value) {
|
183
|
+
stack.push(value);
|
184
|
+
buffer += callback();
|
185
|
+
stack.pop();
|
186
|
+
});
|
187
|
+
} else if (typeof value === "object") {
|
188
|
+
stack.push(value);
|
189
|
+
buffer += callback();
|
190
|
+
stack.pop();
|
191
|
+
} else if (typeof value === "function") {
|
192
|
+
var scope = stack[stack.length - 1];
|
193
|
+
var scopedRender = function (template) {
|
194
|
+
return render(template, scope);
|
195
|
+
};
|
196
|
+
buffer += value.call(scope, callback(), scopedRender) || "";
|
197
|
+
} else if (value) {
|
198
|
+
buffer += callback();
|
199
|
+
}
|
200
|
+
|
201
|
+
return buffer;
|
202
|
+
}
|
203
|
+
|
204
|
+
/**
|
205
|
+
* Parses the given `template` and returns the source of a function that,
|
206
|
+
* with the proper arguments, will render the template. Recognized options
|
207
|
+
* include the following:
|
208
|
+
*
|
209
|
+
* - file The name of the file the template comes from (displayed in
|
210
|
+
* error messages)
|
211
|
+
* - tags An array of open and close tags the `template` uses. Defaults
|
212
|
+
* to the value of Mustache.tags
|
213
|
+
* - debug Set `true` to log the body of the generated function to the
|
214
|
+
* console
|
215
|
+
* - space Set `true` to preserve whitespace from lines that otherwise
|
216
|
+
* contain only a {{tag}}. Defaults to `false`
|
217
|
+
*/
|
218
|
+
function parse(template, options) {
|
219
|
+
options = options || {};
|
220
|
+
|
221
|
+
var tags = options.tags || exports.tags,
|
222
|
+
openTag = tags[0],
|
223
|
+
closeTag = tags[tags.length - 1];
|
224
|
+
|
225
|
+
var code = [
|
226
|
+
'var buffer = "";', // output buffer
|
227
|
+
"\nvar line = 1;", // keep track of source line number
|
228
|
+
"\ntry {",
|
229
|
+
'\nbuffer += "'
|
230
|
+
];
|
231
|
+
|
232
|
+
var spaces = [], // indices of whitespace in code on the current line
|
233
|
+
hasTag = false, // is there a {{tag}} on the current line?
|
234
|
+
nonSpace = false; // is there a non-space char on the current line?
|
235
|
+
|
236
|
+
// Strips all space characters from the code array for the current line
|
237
|
+
// if there was a {{tag}} on it and otherwise only spaces.
|
238
|
+
var stripSpace = function () {
|
239
|
+
if (hasTag && !nonSpace && !options.space) {
|
240
|
+
while (spaces.length) {
|
241
|
+
code.splice(spaces.pop(), 1);
|
242
|
+
}
|
243
|
+
} else {
|
244
|
+
spaces = [];
|
245
|
+
}
|
246
|
+
|
247
|
+
hasTag = false;
|
248
|
+
nonSpace = false;
|
249
|
+
};
|
250
|
+
|
251
|
+
var sectionStack = [], updateLine, nextOpenTag, nextCloseTag;
|
252
|
+
|
253
|
+
var setTags = function (source) {
|
254
|
+
tags = trim(source).split(/\s+/);
|
255
|
+
nextOpenTag = tags[0];
|
256
|
+
nextCloseTag = tags[tags.length - 1];
|
257
|
+
};
|
258
|
+
|
259
|
+
var includePartial = function (source) {
|
260
|
+
code.push(
|
261
|
+
'";',
|
262
|
+
updateLine,
|
263
|
+
'\nvar partial = partials["' + trim(source) + '"];',
|
264
|
+
'\nif (partial) {',
|
265
|
+
'\n buffer += render(partial,stack[stack.length - 1],partials);',
|
266
|
+
'\n}',
|
267
|
+
'\nbuffer += "'
|
268
|
+
);
|
269
|
+
};
|
270
|
+
|
271
|
+
var openSection = function (source, inverted) {
|
272
|
+
var name = trim(source);
|
273
|
+
|
274
|
+
if (name === "") {
|
275
|
+
throw debug(new Error("Section name may not be empty"), template, line, options.file);
|
276
|
+
}
|
277
|
+
|
278
|
+
sectionStack.push({name: name, inverted: inverted});
|
279
|
+
|
280
|
+
code.push(
|
281
|
+
'";',
|
282
|
+
updateLine,
|
283
|
+
'\nvar name = "' + name + '";',
|
284
|
+
'\nvar callback = (function () {',
|
285
|
+
'\n return function () {',
|
286
|
+
'\n var buffer = "";',
|
287
|
+
'\nbuffer += "'
|
288
|
+
);
|
289
|
+
};
|
290
|
+
|
291
|
+
var openInvertedSection = function (source) {
|
292
|
+
openSection(source, true);
|
293
|
+
};
|
294
|
+
|
295
|
+
var closeSection = function (source) {
|
296
|
+
var name = trim(source);
|
297
|
+
var openName = sectionStack.length != 0 && sectionStack[sectionStack.length - 1].name;
|
298
|
+
|
299
|
+
if (!openName || name != openName) {
|
300
|
+
throw debug(new Error('Section named "' + name + '" was never opened'), template, line, options.file);
|
301
|
+
}
|
302
|
+
|
303
|
+
var section = sectionStack.pop();
|
304
|
+
|
305
|
+
code.push(
|
306
|
+
'";',
|
307
|
+
'\n return buffer;',
|
308
|
+
'\n };',
|
309
|
+
'\n})();'
|
310
|
+
);
|
311
|
+
|
312
|
+
if (section.inverted) {
|
313
|
+
code.push("\nbuffer += renderSection(name,stack,callback,true);");
|
314
|
+
} else {
|
315
|
+
code.push("\nbuffer += renderSection(name,stack,callback);");
|
316
|
+
}
|
317
|
+
|
318
|
+
code.push('\nbuffer += "');
|
319
|
+
};
|
320
|
+
|
321
|
+
var sendPlain = function (source) {
|
322
|
+
code.push(
|
323
|
+
'";',
|
324
|
+
updateLine,
|
325
|
+
'\nbuffer += lookup("' + trim(source) + '",stack,"");',
|
326
|
+
'\nbuffer += "'
|
327
|
+
);
|
328
|
+
};
|
329
|
+
|
330
|
+
var sendEscaped = function (source) {
|
331
|
+
code.push(
|
332
|
+
'";',
|
333
|
+
updateLine,
|
334
|
+
'\nbuffer += escapeHTML(lookup("' + trim(source) + '",stack,""));',
|
335
|
+
'\nbuffer += "'
|
336
|
+
);
|
337
|
+
};
|
338
|
+
|
339
|
+
var line = 1, c, callback;
|
340
|
+
for (var i = 0, len = template.length; i < len; ++i) {
|
341
|
+
if (template.slice(i, i + openTag.length) === openTag) {
|
342
|
+
i += openTag.length;
|
343
|
+
c = template.substr(i, 1);
|
344
|
+
updateLine = '\nline = ' + line + ';';
|
345
|
+
nextOpenTag = openTag;
|
346
|
+
nextCloseTag = closeTag;
|
347
|
+
hasTag = true;
|
348
|
+
|
349
|
+
switch (c) {
|
350
|
+
case "!": // comment
|
351
|
+
i++;
|
352
|
+
callback = null;
|
353
|
+
break;
|
354
|
+
case "=": // change open/close tags, e.g. {{=<% %>=}}
|
355
|
+
i++;
|
356
|
+
closeTag = "=" + closeTag;
|
357
|
+
callback = setTags;
|
358
|
+
break;
|
359
|
+
case ">": // include partial
|
360
|
+
i++;
|
361
|
+
callback = includePartial;
|
362
|
+
break;
|
363
|
+
case "#": // start section
|
364
|
+
i++;
|
365
|
+
callback = openSection;
|
366
|
+
break;
|
367
|
+
case "^": // start inverted section
|
368
|
+
i++;
|
369
|
+
callback = openInvertedSection;
|
370
|
+
break;
|
371
|
+
case "/": // end section
|
372
|
+
i++;
|
373
|
+
callback = closeSection;
|
374
|
+
break;
|
375
|
+
case "{": // plain variable
|
376
|
+
closeTag = "}" + closeTag;
|
377
|
+
// fall through
|
378
|
+
case "&": // plain variable
|
379
|
+
i++;
|
380
|
+
nonSpace = true;
|
381
|
+
callback = sendPlain;
|
382
|
+
break;
|
383
|
+
default: // escaped variable
|
384
|
+
nonSpace = true;
|
385
|
+
callback = sendEscaped;
|
386
|
+
}
|
387
|
+
|
388
|
+
var end = template.indexOf(closeTag, i);
|
389
|
+
|
390
|
+
if (end === -1) {
|
391
|
+
throw debug(new Error('Tag "' + openTag + '" was not closed properly'), template, line, options.file);
|
392
|
+
}
|
393
|
+
|
394
|
+
var source = template.substring(i, end);
|
395
|
+
|
396
|
+
if (callback) {
|
397
|
+
callback(source);
|
398
|
+
}
|
399
|
+
|
400
|
+
// Maintain line count for \n in source.
|
401
|
+
var n = 0;
|
402
|
+
while (~(n = source.indexOf("\n", n))) {
|
403
|
+
line++;
|
404
|
+
n++;
|
405
|
+
}
|
406
|
+
|
407
|
+
i = end + closeTag.length - 1;
|
408
|
+
openTag = nextOpenTag;
|
409
|
+
closeTag = nextCloseTag;
|
410
|
+
} else {
|
411
|
+
c = template.substr(i, 1);
|
412
|
+
|
413
|
+
switch (c) {
|
414
|
+
case '"':
|
415
|
+
case "\\":
|
416
|
+
nonSpace = true;
|
417
|
+
code.push("\\" + c);
|
418
|
+
break;
|
419
|
+
case "\r":
|
420
|
+
// Ignore carriage returns.
|
421
|
+
break;
|
422
|
+
case "\n":
|
423
|
+
spaces.push(code.length);
|
424
|
+
code.push("\\n");
|
425
|
+
stripSpace(); // Check for whitespace on the current line.
|
426
|
+
line++;
|
427
|
+
break;
|
428
|
+
default:
|
429
|
+
if (isWhitespace(c)) {
|
430
|
+
spaces.push(code.length);
|
431
|
+
} else {
|
432
|
+
nonSpace = true;
|
433
|
+
}
|
434
|
+
|
435
|
+
code.push(c);
|
436
|
+
}
|
437
|
+
}
|
438
|
+
}
|
439
|
+
|
440
|
+
if (sectionStack.length != 0) {
|
441
|
+
throw debug(new Error('Section "' + sectionStack[sectionStack.length - 1].name + '" was not closed properly'), template, line, options.file);
|
442
|
+
}
|
443
|
+
|
444
|
+
// Clean up any whitespace from a closing {{tag}} that was at the end
|
445
|
+
// of the template without a trailing \n.
|
446
|
+
stripSpace();
|
447
|
+
|
448
|
+
code.push(
|
449
|
+
'";',
|
450
|
+
"\nreturn buffer;",
|
451
|
+
"\n} catch (e) { throw {error: e, line: line}; }"
|
452
|
+
);
|
453
|
+
|
454
|
+
// Ignore `buffer += "";` statements.
|
455
|
+
var body = code.join("").replace(/buffer \+= "";\n/g, "");
|
456
|
+
|
457
|
+
if (options.debug) {
|
458
|
+
if (typeof console != "undefined" && console.log) {
|
459
|
+
console.log(body);
|
460
|
+
} else if (typeof print === "function") {
|
461
|
+
print(body);
|
462
|
+
}
|
463
|
+
}
|
464
|
+
|
465
|
+
return body;
|
466
|
+
}
|
467
|
+
|
468
|
+
/**
|
469
|
+
* Used by `compile` to generate a reusable function for the given `template`.
|
470
|
+
*/
|
471
|
+
function _compile(template, options) {
|
472
|
+
var args = "view,partials,stack,lookup,escapeHTML,renderSection,render";
|
473
|
+
var body = parse(template, options);
|
474
|
+
var fn = new Function(args, body);
|
475
|
+
|
476
|
+
// This anonymous function wraps the generated function so we can do
|
477
|
+
// argument coercion, setup some variables, and handle any errors
|
478
|
+
// encountered while executing it.
|
479
|
+
return function (view, partials) {
|
480
|
+
partials = partials || {};
|
481
|
+
|
482
|
+
var stack = [view]; // context stack
|
483
|
+
|
484
|
+
try {
|
485
|
+
return fn(view, partials, stack, lookup, escapeHTML, renderSection, render);
|
486
|
+
} catch (e) {
|
487
|
+
throw debug(e.error, template, e.line, options.file);
|
488
|
+
}
|
489
|
+
};
|
490
|
+
}
|
491
|
+
|
492
|
+
// Cache of pre-compiled templates.
|
493
|
+
var _cache = {};
|
494
|
+
|
495
|
+
/**
|
496
|
+
* Clear the cache of compiled templates.
|
497
|
+
*/
|
498
|
+
function clearCache() {
|
499
|
+
_cache = {};
|
500
|
+
}
|
501
|
+
|
502
|
+
/**
|
503
|
+
* Compiles the given `template` into a reusable function using the given
|
504
|
+
* `options`. In addition to the options accepted by Mustache.parse,
|
505
|
+
* recognized options include the following:
|
506
|
+
*
|
507
|
+
* - cache Set `false` to bypass any pre-compiled version of the given
|
508
|
+
* template. Otherwise, a given `template` string will be cached
|
509
|
+
* the first time it is parsed
|
510
|
+
*/
|
511
|
+
function compile(template, options) {
|
512
|
+
options = options || {};
|
513
|
+
|
514
|
+
// Use a pre-compiled version from the cache if we have one.
|
515
|
+
if (options.cache !== false) {
|
516
|
+
if (!_cache[template]) {
|
517
|
+
_cache[template] = _compile(template, options);
|
518
|
+
}
|
519
|
+
|
520
|
+
return _cache[template];
|
521
|
+
}
|
522
|
+
|
523
|
+
return _compile(template, options);
|
524
|
+
}
|
525
|
+
|
526
|
+
/**
|
527
|
+
* High-level function that renders the given `template` using the given
|
528
|
+
* `view` and `partials`. If you need to use any of the template options (see
|
529
|
+
* `compile` above), you must compile in a separate step, and then call that
|
530
|
+
* compiled function.
|
531
|
+
*/
|
532
|
+
function render(template, view, partials) {
|
533
|
+
return compile(template)(view, partials);
|
534
|
+
}
|
535
|
+
|
536
|
+
})(Mustache);
|