Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 11
Línea 48... Línea 48...
48
         * @param {string} value The value to set.
48
         * @param {string} value The value to set.
49
         * @return {boolean} False if the value can't be saved in the cache, or some other error - true otherwise.
49
         * @return {boolean} False if the value can't be saved in the cache, or some other error - true otherwise.
50
         */
50
         */
51
        set: function(key, value) {
51
        set: function(key, value) {
52
            return storage.set(key, value);
52
            return storage.set(key, value);
-
 
53
        },
-
 
54
 
-
 
55
        /**
-
 
56
         * Clean local storage
-
 
57
         *
-
 
58
         * @method clean
-
 
59
         */
-
 
60
        clean: function() {
-
 
61
            return storage.clean();
53
        }
62
        }
Línea 54... Línea 63...
54
 
63
 
55
    };
64
    };