Sha256: 129982cdfa0dbff284e5e9b1f63d43aff951b487be750aa302cbff1185ecd6b8

Contents?: true

Size: 1.03 KB

Versions: 3

Compression:

Stored size: 1.03 KB

Contents

{
  onCountOneTime: function(){
    this.count({how_many: 1});
  },

  initComponent: function () {
    this.callParent();
    Ext.Ajax.on('beforerequest',function (conn, options ) {
      Netzke.connectionCount = Netzke.connectionCount || 0;
      Netzke.connectionCount++;
      Netzke.lastOptions=options;
    });
  },

  onCountSevenTimes: function(){
    for(var i=0; i<7; i++) {
      this.count({how_many: 1});
    }
  },

  onCountEightTimesSpecial: function(){
    for(var i=0;i<8;i++) {
      this.count({how_many: 1, special: true});
    }
  },

  onFailInTheMiddle: function() {
    this.successingEndpoint();
    this.failingEndpoint();
    this.successingEndpoint();
  },

  onDoOrdered: function () {
    this.firstEp();
    this.secondEp();
  },

  updateContent: function(html){
    this.update(html);
  },

  appendToTitle: function(html){
    this.titl += " " + html;
    this.setTitle(this.titl)
  },

  onFailTwoOutOfFive: function(){
    this.titl = "0";
    for(var i=1; i<=5; i++) {
      this.failTwoOutOfFive(i);
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
netzke-core-0.8.4 test/core_test_app/app/components/server_counter/javascripts/server_counter.js
netzke-core-0.8.3 test/core_test_app/app/components/server_counter/javascripts/server_counter.js
netzke-core-0.8.2 test/core_test_app/app/components/server_counter/javascripts/server_counter.js