Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Group info
Language: English
Group categories: Not categorized
More group info »
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 765  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: Discussion list for Prototype core development. Usage questions should be asked in the Prototype & script.aculo.us mailing list: http://groups.google.com/group/prototype -scriptaculous/
 

On Class#create 
  I was wondering for the longest time why doesn't Class#create have arguments? I mean it's obviously to allow inheritance from multiple objects, but honestly, how often does this happen? Soooo.. If arguments are provided, Class#create could look like function create(parent, properties) { if (typeof parent !== "function") {... more »
By joneff  - 7:26pm - 1 new of 1 message    

Class#create and throw new Error() 
  Hello! I'm wondering, why class instance is being created while initialization method throws an error? var C = Class.create({ initialization : function() { throw new Error('Hey, you can\'t have any instances of this class!') }, foo : 'foofoo' , bar : function() { alert(this.foo)... more »
By Ilya Furman  - Nov 6 - 3 new of 3 messages    

Element#insert taking multiple contents 
  Would it be reasonable to implement it so that Element.insert takes as many content as you pass it? This will exclude insertion points of course... container.insert(part1); container.insert(part2); container.insert(part3); would be: container.insert(part1, part2, part3); Thanks.
By Ngan Pham  - Nov 5 - 4 new of 4 messages    

Element.Layout class coming in 1.7. Need feedback! 
  Yes, the Element.Layout class is imminent. In fact, it's already here. Take a look: [link] I've posted layout code before; this is the same code with a couple more refinement passes. You can read the included PDoc comments to get... more »
By Andrew Dupont  - Nov 3 - 1 new of 1 message    

Element.classNames() 
  I am using Prototype 1.60 and when I call classNames() on an element, it returns me the element and not an array of Strings?
By Sedul  - Nov 2 - 4 new of 4 messages    

innerText vs textContent 
  Hey guys, Unless I'm mistaken, there seems to be cross browser incompatibility issue with innerText and textContent. innerText is IE (and everyone else I believe), and textContent is Firefox (only, i believe). In anycase, wouldn't it make sense for Prototype to smooth this out? Element.getText() perhaps?... more »
By Ngan Pham  - Oct 23 - 2 new of 2 messages    

Multiple eventName's for Event observe? 
  It would be nice if Event#observe's eventName argument was able to take an array, or perhaps a comma delimited string so that it can attach to multiple events in one call: Event.observe(something, 'keyup,mouseup', this.blah.bind(this)); or Event.observe(something, ['keyup', 'mouseup'], this.blah.bind(this));... more »
By Ngan Pham  - Oct 22 - 3 new of 3 messages    

documentation correction 
  On page [link] at the bottom when describing how JSON is handled it says that the JSON is evaluated and returned in the headerJSON property. It should say responseJSON. The same is true of the sample code.
By drewB  - Oct 13 - 2 new of 2 messages    

Suggestion: "Prototype.Compatibility" (was "Units of Measurement...") 
  I'd like to get everyone's opinion on an idea for simplifying the backward compatibility issues in Prototype. This comes in reaction to Joran Greef's suggestion that the Prototype API should standardize on milliseconds as the unit of time passed to methods like Function#delay () (which currently take seconds):... more »
By Robert Kieffer  - Oct 10 - 8 new of 8 messages    

Units Of Measurement Options Stated Using Lowest Common Denominator Unit Practical 
  I've been using some Number extensions of my own for some time: Number.seconds, Number.minutes, Number.hours etc. where (2).minutes() would return the 2 minutes expressed as milliseconds e.g. 120000, (2).seconds() would return 2000 etc. It's been great for defining config files e.g.: Config.Database.recentThreshol d = (2).minutes();... more »
By Joran Greef  - Oct 9 - 6 new of 6 messages    

1 - 10 of 765   « Newer | Older »

XML       Send email to this group: prototype-core@googlegroups.com
Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google