From 6729ee22e103cd68ec5826e63b6c02befb553b11 Mon Sep 17 00:00:00 2001 From: Pacien TRAN-GIRARD Date: Tue, 13 May 2014 00:09:28 +0200 Subject: Load prettify and hammer only on demand --- js/slides.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/slides.js') diff --git a/js/slides.js b/js/slides.js index c09d220..c2d0b5c 100644 --- a/js/slides.js +++ b/js/slides.js @@ -11,11 +11,11 @@ require.config({ shim : { 'slide-deck' : { - deps : ['slide_config', 'slide-controller', 'modernizr', 'hammer'] + deps : ['slide_config', 'slide-controller', 'modernizr'] } } }); -require(['slide-deck', 'prettify'], function(someModule) { +require(['slide-deck'], function(someModule) { }); -- cgit v1.2.3