[Sugar-devel] [Karma] changed jquery.karma.js to use 'name' property instead of ID

2009-09-12 Thread Bryan Berry
Felipe, I changed id property for images, sounds, and surfaces to name instead. Did this to avoid confusion with an html element's ID attribute. I have changed adding_up to reflect this change -- Bryan W. Berry Technology Director OLE Nepal, http://www.olenepal.org

Re: [Sugar-devel] [Karma] changed jquery.karma.js to use 'name' property instead of ID

2009-09-12 Thread Lucian Branescu
Be careful, name is the historical precursor of id and it's valid in XHTML Transitional for the same purpose. 2009/9/12 Bryan Berry br...@olenepal.org: Felipe, I changed id property for images, sounds, and surfaces to name instead. Did this to avoid confusion with an html element's ID

Re: [Sugar-devel] [Karma] changed jquery.karma.js to use 'name' property instead of ID

2009-09-12 Thread Bryan Berry
sure, but we don't use 'name' in the html, only in the API for referencing particular resources for example k.surfaces[scorebox] references the scorebox canvas k.surfaces[timer] references the timer canvas k.library.images[ball] references a ball image preloaded in the following code k.init({

Re: [Sugar-devel] [Karma] changed jquery.karma.js to use 'name' property instead of ID

2009-09-12 Thread Bryan Berry
that said, i am tempted to use 'kid' as in 'karma id' to avoid just this confusion On Sat, 2009-09-12 at 08:43 +0100, Lucian Branescu wrote: Be careful, name is the historical precursor of id and it's valid in XHTML Transitional for the same purpose. 2009/9/12 Bryan Berry br...@olenepal.org:

Re: [Sugar-devel] [Karma] changed jquery.karma.js to use 'name' property instead of ID

2009-09-12 Thread Felipe López Toledo
I think things like this will continue happening. I suppose that other libraries have had similar problems and I have not seen a jQuery-id or dojo-id, although that I have not seen them so far does not mean that they don't exist. In this case I would like to continue using id, of course making it

Re: [Sugar-devel] [Karma] changed jquery.karma.js to use 'name' property instead of ID

2009-09-12 Thread Bryan Berry
ok, then do u want me to change it back to just 'id'? On Sat, 2009-09-12 at 13:19 -0500, Felipe López Toledo wrote: I think things like this will continue happening. I suppose that other libraries have had similar problems and I have not seen a jQuery-id or dojo-id, although that I have not