Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion Scaffold/Generator for new JavaScript Projects (newjs)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Mark  
View profile  
 More options Feb 17 2008, 4:00 am
Newsgroups: comp.lang.javascript
From: David Mark <dmark.cins...@gmail.com>
Date: Sun, 17 Feb 2008 01:00:52 -0800 (PST)
Local: Sun, Feb 17 2008 4:00 am
Subject: Re: Scaffold/Generator for new JavaScript Projects (newjs)
On Feb 17, 3:07 am, Dr Nic <drnicwilli...@gmail.com> wrote:

> > > Generates a scaffold for a new JavaScript project, with in-built test
> > > suite (using prototypejs's wonderful unittest.js).

> > Prototype wonderful?  That would seem a gross contradiction in terms.

> unittest.js is wonderful.

Does it use Prototype?  If so, it is worthless for unit testing
anything but Prototype-based code.

> > > See above url or blog post for the where's and why-for's.

> > > Hope its helpful to people. Feedback welcome on project's Google
> > > Group.

> > How about feedback right here?  It stinks.

> I find it handy to have project-related threads in their own space.
> Especially if discussing it irritates ppl etc.

Nothing wrong with that, but you posted your intro here and I am not
sufficiently interested to seek out and join your project's group.

> > "Console is not defined" right off the bat in IE7.  Back to the
> > drawing board, doc.

> Sorry about that - yet I can't find 'console' in any source file.
> Can your IE debugger tell me where its spotting this?

Jeez doc.  You can't debug your own utility?  That doesn't bode well
for people who use it.

DrNic.PostReply = new function() {
  function requestContent( url, callback ) {
    // inserting via DOM fails in Safari 2.0, so brute force approach
                onLoadStr = (typeof callback == "undefined") ? "" : 'onload="' +
callback + '()"';
                console.log(onLoadStr);
                       ^^^^^^^

    document.write('<script ' + onLoadStr + 'type="text/javascript"
src="'+url+'"></script>');
  }

I recognize that code and comment.  It's the wonderful Prototype
loader.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.