Re: [JSMentors] Loading .js files dynamically

2011-03-06 Thread Mark McDonnell
I use LABjs to dynamically insert a set of 3 scripts I use a lot (which includes my main library). On the page itself I then call an init() function and pass through an object literal of components that the current page needs. Within my library, in my init function I do some if statements

Re: [JSMentors] Loading .js files dynamically

2011-03-06 Thread Rob Griffiths
If you're having problems with labjs you should speak to @getify (Kyle Simpson). Most open source developers, myself included, like Feedback on our work and bug reports help us find issues we don't foresee. We're not infallible. Rob On 6 Mar 2011, at 10:07, Jarek Foksa ja...@kiwi-themes.com

Re: [JSMentors] Loading .js files dynamically

2011-03-06 Thread Mark McDonnell
Kyle is very active on his support of LABjs and welcomes any genuine bugs filed via Github (although I find it easier to just ask him a question directly via twitter) Sent from my iPhone On 6 Mar 2011, at 10:28, Rob Griffiths r...@bytespider.eu wrote: If you're having problems with labjs you

Re: [JSMentors] Loading .js files dynamically

2011-03-06 Thread Claus Reinke
After having investigated several script loaders I decided to go back to linking all script files manually in HTML as it's the most reliable and straightforward solution. There are many script loaders out there to choose from, most of which are not only in development, but used by their authors

[JSMentors] Re: client-side development environment

2011-03-06 Thread Peter Michaux
On Mar 6, 9:24 am, James Morrin treas...@gmail.com wrote: I've work with a GWT project and one of the features that I really like about the project is the way they handle sprites. You can reference an image asset object through out your application and at compile time it will create a sprite

[JSMentors] adding a sound clip

2011-03-06 Thread Bryce
Hello, I'm looking for some help on how to add a sound effect to my current javascript. I'm using a simple array of quotes to generate a new quote each time a button is clicked. I'd like to also have an audio clip of the quote to play in accordance with the text of the quote being displayed. I'm

[JSMentors] Re: client-side development environment

2011-03-06 Thread James Morrin
The data urls have turned up in the latest releases of GWT also. I am not advocating GWT, honestly I dont enjoy developing with it. But it does have a lot of great ideas. -- To view archived discussions from the original JSMentors Mailman list:

Re: [JSMentors] adding a sound clip

2011-03-06 Thread Nathan Sweet
If you want it to work on all browsers you'll have to use flash I'd start by looking here: http://kolber.github.com/audiojs/ although it seems to not allow for complete custom control I'm sure you could find the native methods in the script that allow you to play a file or what have you. I'm sure

Re: [JSMentors] Here Documents - has there ever been a standardization discussion?

2011-03-06 Thread Peter van der Zee
On Sun, Mar 6, 2011 at 7:39 PM, edvakf taka.atsu...@googlemail.com wrote: Hi, I'm wondering whether Here Document was ever discussed to be a standard JavaScript feature? If there was, could someone point me to the thread? I know that ES4 draft had triple-quote string literal, but was that

[JSMentors] Re: Here Documents - has there ever been a standardization discussion?

2011-03-06 Thread Peter Michaux
On Mar 6, 10:39 am, edvakf taka.atsu...@googlemail.com wrote: I'm wondering whether Here Document was ever discussed to be a standard JavaScript feature? If there was, could someone point me to the thread? I know that ES4 draft had triple-quote string literal, but was that notation abandoned

[JSMentors] Re: Here Documents - has there ever been a standardization discussion?

2011-03-06 Thread Julian Turner
On Mar 6, 6:39 pm, edvakf taka.atsu...@googlemail.com wrote: Hi, I'm wondering whether Here Document was ever discussed to be a standard JavaScript feature? If there was, could someone point me to the thread? I know that ES4 draft had triple-quote string literal, but was that notation