argon/storage/json_rest.js
function remove(requestObj, callback) {

            var i, storage;

            storage = this;

            callback = callback || function(){};

            if ((typeof requestObj) === 'undefined' || requestObj === null) {
                callback(null);
                return this;
            }

            requestObj.config = {};
            requestObj.config.url = requestObj.config.url || this.url.remove;
            requestObj.config.type = requestObj.config.type || this.constructor.REQUEST_TYPE_GET;

            if (requestObj.data) {
                for (i = 0; i < storage.preprocessors.length; i++) {
                    requestObj.data = storage.preprocessors[i](requestObj.data, requestObj);
                }
            }

            this.constructor._sendRequest(requestObj, function(data){
                callback(null);
            });

            return this;
        }
function remove(requestObj, callback) {

            var i, storage;

            storage = this;

            callback = callback || function(){};

            if ((typeof requestObj) === 'undefined' || requestObj === null) {
                callback(null);
                return this;
            }

            requestObj.config = {};
            requestObj.config.url = requestObj.config.url || this.url.remove;
            requestObj.config.type = requestObj.config.type || this.constructor.REQUEST_TYPE_GET;

            if (requestObj.data) {
                for (i = 0; i < storage.preprocessors.length; i++) {
                    requestObj.data = storage.preprocessors[i](requestObj.data, requestObj);
                }
            }

            this.constructor._sendRequest(requestObj, function(data){
                callback(null);
            });

            return this;
        }
function remove ( requestObj , callback ) { var i , storage ; storage = this ; callback = callback || function ( ) { } ; if ( ( typeof requestObj ) === 'undefined' || requestObj === null ) { callback ( null ) ; return this ; } requestObj . config = { } ; requestObj . config . url = requestObj . config . url || this . url . remove ; requestObj . config . type = requestObj . config . type || this . constructor . REQUEST_TYPE_GET ; if ( requestObj . data ) { for ( i = 0 ; i < storage . preprocessors . length ; i ++ ) { requestObj . data = storage . preprocessors [ i ] ( requestObj . data , requestObj ) ; } } this . constructor . _sendRequest ( requestObj , function ( data ) { callback ( null ) ; } ) ; return this ; }
Removes this from the resource

Delete cannot be used because its a reserved word on JavaScript and for now is safer to use a synonim
later this could be aliased by the correct method

@method remove <public>
@argument params <optional> [Object]
@argument callback <optional> [Function]
Removes this from the resource