Re: [Moo] Re: "empty" function on new HtmlTable fails

2012-03-12 Thread Rolf Langenhuijzen
yeah, pull the finger hehe On Tuesday, March 13, 2012 7:00:24 AM UTC+1, Nutron wrote: > > I'll pull. > > On Mon, Mar 12, 2012 at 10:28 PM, Michael Russell > wrote: > >> Looks like there's a fix for this >> https://github.com/mootools/mootools-more/issues/1081 >> >> >> On Monday, March 12, 2012 8

Re: [Moo] Re: "empty" function on new HtmlTable fails

2012-03-12 Thread Aaron Newton
I'll pull. On Mon, Mar 12, 2012 at 10:28 PM, Michael Russell wrote: > Looks like there's a fix for this > https://github.com/mootools/mootools-more/issues/1081 > > > On Monday, March 12, 2012 8:15:34 PM UTC-4, Nutron wrote: >> >> This alone seems a bug to me. >> >> new HtmlTable().empty(); >>> Un

Re: [Moo] Re: "empty" function on new HtmlTable fails

2012-03-12 Thread Michael Russell
Looks like there's a fix for this https://github.com/mootools/mootools-more/issues/1081 On Monday, March 12, 2012 8:15:34 PM UTC-4, Nutron wrote: > > This alone seems a bug to me. > > new HtmlTable().empty(); >> Uncaught TypeError: Cannot call method 'isDisplayed' of undefined >> > > File it in

[Moo] How does the forge pick the current version?

2012-03-12 Thread TheIvIaxx
http://mootools.net/forge/p/milkchart Right now, latest is 1.5, but the forge seems to only see as far a 1.4. I had this problem before and I think i had to make a new tag just to have the forge pick it up. Am I missing something?

Re: [Moo] Re: "empty" function on new HtmlTable fails

2012-03-12 Thread Aaron Newton
This alone seems a bug to me. new HtmlTable().empty(); > Uncaught TypeError: Cannot call method 'isDisplayed' of undefined > File it in github.

Re: [Moo] Re: "empty" function on new HtmlTable fails

2012-03-12 Thread Matthew Hazlett
I think the point of the post here is that it errors out. [].empty(); does not produce an error new HtmlTable().empty(); Uncaught TypeError: Cannot call method 'isDisplayed' of undefined

RE: [Moo] Re: "empty" function on new HtmlTable fails

2012-03-12 Thread Steve Onnis
I agree with Neilime. You could create it and attempt to fill it but it not get filled and then call empty() on it. Regardless of the situation, it the framework shouldn’t error like that. If it was your own code and you were writing it, would you let it error? Or would you check to make s

[Moo] Re: "empty" function on new HtmlTable fails

2012-03-12 Thread Rolf Langenhuijzen
I understand you might want some other behavior, for example that nothing happens. But why would you instantiate a new HtmlTable with no data (= creating a new empty table) and then call empty() on it? That doesn't make much sense or what am I missing? On Monday, March 12, 2012 7:04:43 PM UTC+

Re: [Moo] "empty" function on new HtmlTable fails

2012-03-12 Thread Philip Thompson
Fiddle me please. jsfiddle.net On Mon, Mar 12, 2012 at 1:04 PM, Neilime wrote: > I try to run empty function on a new HtmlTable but it fails... > Just try : new HtmlTable().empty(); // => "rows[i] is undefined" > > I guess that's not a good behavior. > -- http://lonestarlightandsound.com/

[Moo] "empty" function on new HtmlTable fails

2012-03-12 Thread Neilime
I try to run empty function on a new HtmlTable but it fails... Just try : new HtmlTable().empty(); // => "rows[i] is undefined" I guess that's not a good behavior.