Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as JavaScript by Anurag ( 12 years ago )
native5.core.Service = function(service_name, config) {
        var that = this;
        this.name = service_name;
        this.method = config.method;
           this.c

        var successHandler = function(response) {
            if (response.redirect) {
                if (app.loader) app.loader.hideLoadingMessage();
                [removed].href = response.redirect;
                return;
            }
            if (that.successCallback) that.successCallback(response);
        };
};

 

Revise this Paste

Parent: 70068
Your Name: Code Language: