diff -r 9927cbd5ec65 -r be87091be54e front_idill/src/mosaic/js/search.js --- a/front_idill/src/mosaic/js/search.js Sun Sep 09 15:20:11 2012 +0200 +++ b/front_idill/src/mosaic/js/search.js Tue Sep 18 23:45:16 2012 +0200 @@ -100,10 +100,28 @@ _this.notificationStrings = data.notificationStrings; _this.helpText = data.helpText; _this.creditsMetadata = data.credits_lang; + _this.helpDetailsGesturesMetadata = data.gestures_help_metadata; + _this.helpDetailsGestures = data.gestures_help; }); } /* + * Récupère le nom de code de chaque gesture ainsi que son nom de fichier de pictogramme pour l'aide. +*/ +/*Mosaic.prototype.getGestures = function() +{ + //Chemion du fichier où sont stockées les noms de codes et noms d'images d'aide des gestures. + var path = 'gestures.json'; + + var _this = this; + + $.getJSON(path, function(data) + { + _this.gesturesImg = data.gesture_list.img; + }); +}*/ + +/* * Ecoute la position des pointeurs si les deux sont détectés afin de tracer des courbes de recherche. */ Mosaic.prototype.listenToPointers = function()