Ignore:
Timestamp:
Dec 8, 2010, 8:43:12 PM (13 years ago)
Author:
rvelices
Message:

rv_gmaps - got rid of prototype

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/rv_gmaps/trunk/template/data_loader.js

    r6651 r8039  
    22{
    33        this._map = map;
    4         this.options = Object.extend(
     4        this.options = jQuery.fn.extend(
    55                {
    66                        reload_data_timeout: 1800,
     
    6262{
    6363        this.clearTimerReloadData();
    64         this._timerReloadData = setTimeout(  this._onTimeoutLoadData.bind(this), this.options.reload_data_timeout );
     64        this._timerReloadData = setTimeout(  pwgBind(this, this._onTimeoutLoadData), this.options.reload_data_timeout );
    6565},
    6666
     
    146146        try {
    147147                google.maps.Event.trigger( this, "dataloading" );
    148                 GDownloadUrl(url, this._onDataReceived.bind(this) );
     148                GDownloadUrl(url, pwgBind(this, this._onDataReceived) );
    149149        }
    150150        catch (e) {
Note: See TracChangeset for help on using the changeset viewer.