[Proto-Scripty] Re: [Scriptaculous Autocomplete] Why cant I Override oncomplete

2011-09-01 Thread Victor
You can highlight matched characters while creating response on the server side like in this sample: optionspan class=\informal\This will not pass into answer/spanbHighlighted part/bNot highlighted part/option -- You received this message because you are subscribed to the Google Groups

[Proto-Scripty] Re: Prototype's evolution

2011-09-01 Thread Andrew Dupont
On Aug 25, 3:50 am, Victor vkhomyac...@gmail.com wrote: Hello Andrew! Great to see that someone from developers still reading this list. You didn't cleared the situation about lighthouse bug tracker and code patches. Will someone somehow react to the bug messages, questions about code,

[Proto-Scripty] Re: [Scriptaculous Autocomplete] Why cant I Override oncomplete

2011-09-01 Thread Victor
Also why you cannot override some method? It is simple like Ajax.MyAutocompleter = Class.create(Ajax.Autocompleter, { onComplete: function($super, request) { $super(request); } }); or you want to replace existing method in existing class? -- You received this message because you are

[Proto-Scripty] Re: Possible bug with arrays and classes

2011-09-01 Thread Victor
I think it should look like var base = Class.create({ iterations: 0, initialize: function(item) { this.iterations++; //this.collection = []; this.collection.push(item); console.log('Iterations: %s, Number items in Collection: %s', this.iterations,

[Proto-Scripty] Re: Prototype's evolution

2011-09-01 Thread Victor
Fine. Here is a list of my Prototype tickets (not counting tickets for Prototype documentation): 1269https://prototype.lighthouseapp.com/projects/8886/tickets/1269-eventjs-bug-in-issimulatedmouseenterleaveeventnew event.js - bug in

[Proto-Scripty] Re: Possible bug with arrays and classes

2011-09-01 Thread kstubs
Hmm, ok I'll try that. How do you avoid base.prototype similar issues to what I've just experienced? I about panicked, I am developing a fairly large chart stock application and when things started to go south, I found this issue. Karl.. -- You received this message because you are

[Proto-Scripty] Re: Possible bug with arrays and classes

2011-09-01 Thread Victor
It's kinda feature, not issue ;) You expect that method references in base.prototype will be visible in child classes, and array reference behaves similarly. -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To view this discussion

[Proto-Scripty] Re: Possible bug with arrays and classes

2011-09-01 Thread T.J. Crowder
Hi, My Test Code: var base = Class.create({     collection: [],     itterations:0,     initialize: function() {         this.itterations++;         this.collection.push(this.itterations);         console.log('Itterations: %s, Number items in Collection: %s', this.itterations,

[Proto-Scripty] Re: Possible bug with arrays and classes

2011-09-01 Thread kstubs
OK, I'm thinking this all makes sense! No I get it.. and I do recall reading something like this a long time ago, it just didn't register then Thank you Victor, thank you T.J. for code examples and excellent explanations. Karl.. -- You received this message because you are subscribed to the

[Proto-Scripty] Re: Prototype's evolution

2011-09-01 Thread Andrew Dupont
I'm sorry, Victor. I'll make sure these get addressed before the next release. Cheers, Andrew On Sep 1, 2:10 am, Victor vkhomyac...@gmail.com wrote: Fine. Here is a list of my Prototype tickets (not counting tickets for Prototype documentation):