public/build/static/application.js
function(method, sId) {
            sId = sId || method;
            sId = this.options.prefix+"."+sId;
            return this.addMethod(method, {
                fallback: function(args, options, method) {
                    return Storage.get(sId+"."+method);
                },
                after: function(args, results, options, method) {
                    Storage.set(sId+"."+method, results);
                }
            });
        }
function(method, sId) {
            sId = sId || method;
            sId = this.options.prefix+"."+sId;
            return this.addMethod(method, {
                fallback: function(args, options, method) {
                    return Storage.get(sId+"."+method);
                },
                after: function(args, results, options, method) {
                    Storage.set(sId+"."+method, results);
                }
            });
        }
function ( method , sId ) { sId = sId || method ; sId = this . options . prefix + "." + sId ; return this . addMethod ( method , { fallback : function ( args , options , method ) { return Storage . get ( sId + "." + method ) ; } , after : function ( args , results , options , method ) { Storage . set ( sId + "." + method , results ) ; } } ) ; }
Add a cached method for offline mode only

@method addCachedMethod
@param {string} method name for this method
@param {string} [sId] id used for caching
Add a cached method for offline mode only