From 70ba2651c36cfe22501ba94663587b95142f2b13 Mon Sep 17 00:00:00 2001 From: wubwubwubcr3w Date: Thu, 19 Apr 2012 20:37:42 +0200 Subject: [PATCH] second attempt on readding modernizr-custom.js --- app/views/layouts/application.mobile.haml | 2 +- vendor/assets/javascripts/mbp-modernizr-custom.js | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 vendor/assets/javascripts/mbp-modernizr-custom.js diff --git a/app/views/layouts/application.mobile.haml b/app/views/layouts/application.mobile.haml index 11b15173d..fb0e1c8f9 100644 --- a/app/views/layouts/application.mobile.haml +++ b/app/views/layouts/application.mobile.haml @@ -33,7 +33,7 @@ = stylesheet_link_tag :mobile, :format => 'all' = yield(:custom_css) - %script{:src => "/javascripts/vendor/mbp-modernizr-custom.js"} + %script{:src => "/assets/mbp-modernizr-custom.js"} / Media Queries Polyfill https://github.com/shichuan/mobile-html5-boilerplate/wiki/Media-Queries-Polyfill :javascript Modernizr.mq('(min-width:0)') || document.write('