From 879e4d6b8348d28ddaf2dee66f3658e6db7dac48 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Sat, 17 May 2014 13:13:20 +0200 Subject: Scale down slides instead of cropping --- js/slides.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'js/slides.js') diff --git a/js/slides.js b/js/slides.js index 3482287..e57faa2 100644 --- a/js/slides.js +++ b/js/slides.js @@ -3,6 +3,7 @@ require.config({ 'slide_config' : '../slide_config', 'slide-controller' : 'slide-controller', 'slide-deck' : 'slide-deck', + 'slide-elastic' : 'slide-elastic', 'modernizr' : 'modernizr.custom.56571', 'prettify' : 'prettify/prettify', @@ -18,7 +19,10 @@ require.config({ 'slide-deck' : { deps : ['slide_config', 'slide-controller', 'modernizr'], }, + 'slide-elastic' : { + deps : ['slide-deck'], + }, }, }); -require(['slide-deck']); +require(['slide-elastic']); -- cgit v1.2.3