<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/prototype-core</id>
  <title type="text">Prototype: Core Google Group</title>
  <subtitle type="text">
  Discussion list for Prototype core development. Usage questions should be asked in the Prototype &amp; script.aculo.us mailing list: http://groups.google.com/group/prototype-scriptaculous/
  </subtitle>
  <link href="/group/prototype-core/feed/atom_v1_0_msgs.xml" rel="self" title="Prototype: Core feed"/>
  <updated>2009-11-08T00:40:44Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Ilya Furman</name>
  <email>smashl...@gmail.com</email>
  </author>
  <updated>2009-11-08T00:40:44Z</updated>
  <id>http://groups.google.com/group/prototype-core/browse_thread/thread/9692a37e92409b43/ea381050732251ca?show_docid=ea381050732251ca</id>
  <link href="http://groups.google.com/group/prototype-core/browse_thread/thread/9692a37e92409b43/ea381050732251ca?show_docid=ea381050732251ca"/>
  <title type="text">Re: [Prototype-core] Re: Class#create and throw new Error()</title>
  <summary type="html" xml:space="preserve">
  Oops, my bad. &lt;br&gt; &lt;p&gt;Ilya Furman
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mike Rumble</name>
  <email>mike.rum...@gmail.com</email>
  </author>
  <updated>2009-11-07T23:22:22Z</updated>
  <id>http://groups.google.com/group/prototype-core/browse_thread/thread/baf412676ac96ed1/bdd791d356fa3aef?show_docid=bdd791d356fa3aef</id>
  <link href="http://groups.google.com/group/prototype-core/browse_thread/thread/baf412676ac96ed1/bdd791d356fa3aef?show_docid=bdd791d356fa3aef"/>
  <title type="text">Re: Element#insert taking multiple contents</title>
  <summary type="html" xml:space="preserve">
  Agreed. Have often thought that this would be a useful addition. &lt;br&gt; &lt;p&gt;Element.insert(part1, part2, part3) &lt;br&gt; &lt;p&gt;and &lt;br&gt; &lt;p&gt;Element.insert({ &lt;br&gt; top : [part1, part2, part3] &lt;br&gt; ); &lt;br&gt; &lt;p&gt;should both be able to be implemented without too much hassle and &lt;br&gt; would provide some really valuable functionality - let&#39;s make it
  </summary>
  </entry>
  <entry>
  <author>
  <name>T.J. Crowder</name>
  <email>t...@crowdersoftware.com</email>
  </author>
  <updated>2009-11-07T14:44:23Z</updated>
  <id>http://groups.google.com/group/prototype-core/browse_thread/thread/9692a37e92409b43/c93ba3be953fbc89?show_docid=c93ba3be953fbc89</id>
  <link href="http://groups.google.com/group/prototype-core/browse_thread/thread/9692a37e92409b43/c93ba3be953fbc89?show_docid=c93ba3be953fbc89"/>
  <title type="text">Re: Class#create and throw new Error()</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; &lt;p&gt;The initializer is called &amp;quot;initialize&amp;quot;, not &amp;quot;initialization&amp;quot; (see the &lt;br&gt; docs[1]). Your code throwing the exception isn&#39;t being called, hence &lt;br&gt; the exception not being thrown. If you use the correct name, the &lt;br&gt; exception is thrown and correctly propagates out to the code creating &lt;br&gt; the object.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ilya Furman</name>
  <email>smashl...@gmail.com</email>
  </author>
  <updated>2009-11-06T16:23:05Z</updated>
  <id>http://groups.google.com/group/prototype-core/browse_thread/thread/9692a37e92409b43/1479ef3cbed02632?show_docid=1479ef3cbed02632</id>
  <link href="http://groups.google.com/group/prototype-core/browse_thread/thread/9692a37e92409b43/1479ef3cbed02632?show_docid=1479ef3cbed02632"/>
  <title type="text">Class#create and throw new Error()</title>
  <summary type="html" xml:space="preserve">
  Hello! &lt;br&gt; &lt;p&gt;I&#39;m wondering, why class instance is being created while &lt;br&gt; initialization method throws an error? &lt;br&gt; &lt;p&gt;var C = Class.create({ &lt;br&gt; initialization : function() { &lt;br&gt; throw new Error(&#39;Hey, you can\&#39;t have any instances of this &lt;br&gt; class!&#39;) &lt;br&gt; }, &lt;br&gt; foo : &#39;foofoo&#39; , &lt;br&gt; bar : function() { &lt;br&gt; alert(this.foo)
  </summary>
  </entry>
  <entry>
  <author>
  <name>Deadelus</name>
  <email>johanm...@gmail.com</email>
  </author>
  <updated>2009-11-06T07:54:07Z</updated>
  <id>http://groups.google.com/group/prototype-core/browse_thread/thread/baf412676ac96ed1/3ef4dea51121fd62?show_docid=3ef4dea51121fd62</id>
  <link href="http://groups.google.com/group/prototype-core/browse_thread/thread/baf412676ac96ed1/3ef4dea51121fd62?show_docid=3ef4dea51121fd62"/>
  <title type="text">Re: Element#insert taking multiple contents</title>
  <summary type="html" xml:space="preserve">
  Probably easier to implement using an Array: &lt;br&gt; &lt;p&gt;container.insert({ &lt;br&gt; top: [part1, part2, part3], &lt;br&gt; bottom: [part4, part5], &lt;br&gt; after: &amp;quot;&amp;lt;p&amp;gt;Hello World&amp;lt;/p&amp;gt;&amp;quot;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Deadelus</name>
  <email>johanm...@gmail.com</email>
  </author>
  <updated>2009-11-04T09:10:55Z</updated>
  <id>http://groups.google.com/group/prototype-core/browse_thread/thread/d70d4c77191094e8/cad7c55e4f84ab63?show_docid=cad7c55e4f84ab63</id>
  <link href="http://groups.google.com/group/prototype-core/browse_thread/thread/d70d4c77191094e8/cad7c55e4f84ab63?show_docid=cad7c55e4f84ab63"/>
  <title type="text">Re: Multiple eventName&#39;s for Event observe?</title>
  <summary type="html" xml:space="preserve">
  I have to agree with Allen on this one. The mentioned usage would work &lt;br&gt; perfectly for me.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Радослав Станков</name>
  <email>rstan...@gmail.com</email>
  </author>
  <updated>2009-11-06T13:05:53Z</updated>
  <id>http://groups.google.com/group/prototype-core/browse_thread/thread/baf412676ac96ed1/5d5bb65bb05f423d?show_docid=5d5bb65bb05f423d</id>
  <link href="http://groups.google.com/group/prototype-core/browse_thread/thread/baf412676ac96ed1/5d5bb65bb05f423d?show_docid=5d5bb65bb05f423d"/>
  <title type="text">Re: Element#insert taking multiple contents</title>
  <summary type="html" xml:space="preserve">
  I had made a list of useful Element#insert goodies here - &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://gist.github.com/164751&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; There was a ticket for this &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://prototype.lighthouseapp.com/projects/8886/tickets/752-elementinsert-to-accept-array-as-insertions-option#ticket-752-4&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; but as far I understand major changes to Element.insert are planed for
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ngan Pham</name>
  <email>nganp...@gmail.com</email>
  </author>
  <updated>2009-11-05T20:53:30Z</updated>
  <id>http://groups.google.com/group/prototype-core/browse_thread/thread/baf412676ac96ed1/9103bec89e6b86e2?show_docid=9103bec89e6b86e2</id>
  <link href="http://groups.google.com/group/prototype-core/browse_thread/thread/baf412676ac96ed1/9103bec89e6b86e2?show_docid=9103bec89e6b86e2"/>
  <title type="text">Element#insert taking multiple contents</title>
  <summary type="html" xml:space="preserve">
  Would it be reasonable to implement it so that Element.insert takes as many &lt;br&gt; content as you pass it? This will exclude insertion points of course... &lt;br&gt; container.insert(part1); &lt;br&gt; container.insert(part2); &lt;br&gt; container.insert(part3); &lt;br&gt; would be: &lt;br&gt; container.insert(part1, part2, part3); &lt;br&gt; Thanks.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Richard Quadling</name>
  <email>rquadl...@googlemail.com</email>
  </author>
  <updated>2009-11-03T22:04:26Z</updated>
  <id>http://groups.google.com/group/prototype-core/browse_thread/thread/28b9ea0b6c392ce6/3dea6483fa9093d1?show_docid=3dea6483fa9093d1</id>
  <link href="http://groups.google.com/group/prototype-core/browse_thread/thread/28b9ea0b6c392ce6/3dea6483fa9093d1?show_docid=3dea6483fa9093d1"/>
  <title type="text">Re: [Prototype-core] Re: Element.classNames()</title>
  <summary type="html" xml:space="preserve">
  2009/11/3 Andrew Dupont &amp;lt;goo...@andrewdupont.net&amp;gt;: &lt;br&gt; OMG! My excuse is I&#39;m 42 years old and going bald. Enough to give &lt;br&gt; anyone brain farts!
  </summary>
  </entry>
  <entry>
  <author>
  <name>Andrew Dupont</name>
  <email>goo...@andrewdupont.net</email>
  </author>
  <updated>2009-11-03T18:07:23Z</updated>
  <id>http://groups.google.com/group/prototype-core/browse_thread/thread/28b9ea0b6c392ce6/8a58c9c9a1cb6a23?show_docid=8a58c9c9a1cb6a23</id>
  <link href="http://groups.google.com/group/prototype-core/browse_thread/thread/28b9ea0b6c392ce6/8a58c9c9a1cb6a23?show_docid=8a58c9c9a1cb6a23"/>
  <title type="text">Re: [Prototype-core] Re: Element.classNames()</title>
  <summary type="html" xml:space="preserve">
  Nope — that&#39;s the notation for returning an array of strings. &lt;br&gt; I second this request. &lt;br&gt; Cheers, &lt;br&gt; Andrew
  </summary>
  </entry>
  <entry>
  <author>
  <name>Richard Quadling</name>
  <email>rquadl...@googlemail.com</email>
  </author>
  <updated>2009-11-03T09:54:48Z</updated>
  <id>http://groups.google.com/group/prototype-core/browse_thread/thread/28b9ea0b6c392ce6/89f5f73085e0d555?show_docid=89f5f73085e0d555</id>
  <link href="http://groups.google.com/group/prototype-core/browse_thread/thread/28b9ea0b6c392ce6/89f5f73085e0d555?show_docid=89f5f73085e0d555"/>
  <title type="text">Re: [Prototype-core] Element.classNames()</title>
  <summary type="html" xml:space="preserve">
  2009/11/2 Sedul &amp;lt;sedul...@gmail.com&amp;gt;: &lt;br&gt; &lt;p&gt;According to [1], you will get a string back, not an array of strings. &lt;br&gt; &lt;p&gt;Can you supply an example page? &lt;br&gt; &lt;p&gt;Richard. &lt;br&gt; &lt;p&gt;[1] &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://api.prototypejs.org/dom/element.html#classnames-class_method&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;-- &lt;br&gt; ----- &lt;br&gt; Richard Quadling &lt;br&gt; &amp;quot;Standing on the shoulders of some very clever giants!&amp;quot;
  </summary>
  </entry>
  <entry>
  <author>
  <name>Andrew Dupont</name>
  <email>goo...@andrewdupont.net</email>
  </author>
  <updated>2009-11-03T06:12:05Z</updated>
  <id>http://groups.google.com/group/prototype-core/browse_thread/thread/f2de6e21dfc9257a/3c433e75ea39b6bb?show_docid=3c433e75ea39b6bb</id>
  <link href="http://groups.google.com/group/prototype-core/browse_thread/thread/f2de6e21dfc9257a/3c433e75ea39b6bb?show_docid=3c433e75ea39b6bb"/>
  <title type="text">Element.Layout class coming in 1.7. Need feedback!</title>
  <summary type="html" xml:space="preserve">
  Yes, the Element.Layout class is imminent. In fact, it&#39;s already here. &lt;br&gt; Take a look: &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://github.com/sstephenson/prototype/blob/layout/src/dom/layout.js&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;I&#39;ve posted layout code before; this is the same code with a couple &lt;br&gt; more refinement passes. You can read the included PDoc comments to get
  </summary>
  </entry>
  <entry>
  <author>
  <name>Sedul</name>
  <email>sedul...@gmail.com</email>
  </author>
  <updated>2009-11-02T18:38:55Z</updated>
  <id>http://groups.google.com/group/prototype-core/browse_thread/thread/28b9ea0b6c392ce6/62c7106dbad1e9b7?show_docid=62c7106dbad1e9b7</id>
  <link href="http://groups.google.com/group/prototype-core/browse_thread/thread/28b9ea0b6c392ce6/62c7106dbad1e9b7?show_docid=62c7106dbad1e9b7"/>
  <title type="text">Element.classNames()</title>
  <summary type="html" xml:space="preserve">
  I am using Prototype 1.60 and when I call classNames() on an element, &lt;br&gt; it returns me the element and not an array of Strings?
  </summary>
  </entry>
  <entry>
  <author>
  <name>kangax</name>
  <email>kan...@gmail.com</email>
  </author>
  <updated>2009-10-23T23:14:14Z</updated>
  <id>http://groups.google.com/group/prototype-core/browse_thread/thread/8ef26e7cedb43afc/47033b4bc8dc4c74?show_docid=47033b4bc8dc4c74</id>
  <link href="http://groups.google.com/group/prototype-core/browse_thread/thread/8ef26e7cedb43afc/47033b4bc8dc4c74?show_docid=47033b4bc8dc4c74"/>
  <title type="text">Re: innerText vs textContent</title>
  <summary type="html" xml:space="preserve">
  That&#39;s actually one big can of worms. Here&#39;s a full explanation, if &lt;br&gt; you&#39;re interested — &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://stackoverflow.com/questions/1359469/innertext-works-in-ie-but-not-in-firefox/1359822#1359822&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;Most robust solution is actually not `textContent` and not &lt;br&gt; `innerText`, but recursive iteration of children (text) nodes. However
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ngan Pham</name>
  <email>nganp...@gmail.com</email>
  </author>
  <updated>2009-10-23T21:15:58Z</updated>
  <id>http://groups.google.com/group/prototype-core/browse_thread/thread/8ef26e7cedb43afc/c2465e1af283e490?show_docid=c2465e1af283e490</id>
  <link href="http://groups.google.com/group/prototype-core/browse_thread/thread/8ef26e7cedb43afc/c2465e1af283e490?show_docid=c2465e1af283e490"/>
  <title type="text">innerText vs textContent</title>
  <summary type="html" xml:space="preserve">
  Hey guys, &lt;br&gt; Unless I&#39;m mistaken, there seems to be cross browser incompatibility issue &lt;br&gt; with innerText and textContent. innerText is IE (and everyone else I &lt;br&gt; believe), and textContent is Firefox (only, i believe). In anycase, &lt;br&gt; wouldn&#39;t it make sense for Prototype to smooth this out? &lt;br&gt; Element.getText() perhaps?
  </summary>
  </entry>
</feed>
