build/tincan.js
function (key, cfg) {
            this.log("dropActivityProfile");
            var requestParams,
                requestCfg,
                requestHeaders;

            requestHeaders = cfg.requestHeaders || {};

            requestParams = {
                profileId: key,
                activityId: cfg.activity.id
            };

            requestCfg = {
                url: "activities/profile",
                method: "DELETE",
                params: requestParams,
                headers: requestHeaders
            };

            if (typeof cfg.callback !== "undefined") {
                requestCfg.callback = cfg.callback;
            }

            return this.sendRequest(requestCfg);
        }
function (key, cfg) {
            this.log("dropActivityProfile");
            var requestParams,
                requestCfg,
                requestHeaders;

            requestHeaders = cfg.requestHeaders || {};

            requestParams = {
                profileId: key,
                activityId: cfg.activity.id
            };

            requestCfg = {
                url: "activities/profile",
                method: "DELETE",
                params: requestParams,
                headers: requestHeaders
            };

            if (typeof cfg.callback !== "undefined") {
                requestCfg.callback = cfg.callback;
            }

            return this.sendRequest(requestCfg);
        }
function ( key , cfg ) { this . log ( "dropActivityProfile" ) ; var requestParams , requestCfg , requestHeaders ; requestHeaders = cfg . requestHeaders || { } ; requestParams = { profileId : key , activityId : cfg . activity . id } ; requestCfg = { url : "activities/profile" , method : "DELETE" , params : requestParams , headers : requestHeaders } ; if ( typeof cfg . callback !== "undefined" ) { requestCfg . callback = cfg . callback ; } return this . sendRequest ( requestCfg ) ; }
Drop an activity profile value, when used from a browser sends to the endpoint using the RESTful interface. Full activity profile
delete is not supported by the spec.

@method dropActivityProfile
@param {String|null} key Key of activity profile to delete
@param {Object} cfg Configuration options
@param {TinCan.Activity} cfg.activity Activity in document identifier
@param {Function} [cfg.callback] Callback to execute on completion
@param {Object} [cfg.requestHeaders] Optional object containing additional headers to add to request
Drop an activity profile value when used from a browser sends to the endpoint using the RESTful interface . Full activity profile delete is not supported by the spec .