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
 
Dr Nic  
View profile  
 More options Feb 17 2008, 5:15 am
Newsgroups: comp.lang.javascript
From: Dr Nic <drnicwilli...@gmail.com>
Date: Sun, 17 Feb 2008 02:15:08 -0800 (PST)
Local: Sun, Feb 17 2008 5:15 am
Subject: Re: Scaffold/Generator for new JavaScript Projects (newjs)
On Feb 17, 7:58 pm, David Mark <dmark.cins...@gmail.com> wrote:

> On Feb 17, 4:42 am, Dr Nic <drnicwilli...@gmail.com> wrote:

> > > 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.

> > This code is from my blog - not code generated by newjs. Sorry, I
> > didn't know what
> > code you were looking at.

> I wasn't looking at any code.  I just clicked your supplied link and
> got the error.

> > But yep, its currently broken (plus has unnecessary firefox
> > console.log references
> > in it). I'm  currently rewriting it under tests. The new version also
> > has no
> > dependency on another library. When I threw the original version
> > together, it did use prototypejs
> > but the console.log reference is for firefox debugging. Before I had
> > tests I had
> > to use debugging. The console.log shouldn't be there in production of
> > course :)

> You might have waited to post the link until the site was ready for
> production.

My poor blog template has been suffering under various JavaScript
lipstick I've written over the years. This is one of the reasons I
wrote
newjs - so all the projects looked the same and were easier to
maintain.
Currently all my blog extensions are being rewritten so they are
easier to live with over time.

I agree it would have been good to have done this before posting about
a project that supposedly makes the lifecycle of JS projects easier.
I was excited to share, I guess.

> > Re: git - its a source control system -http://git.or.cz/originally
> > written by Linus Torvalds.

> Okay.  The name (acronym?) seems unfortunate.

Agreed.

> Sounds like a Ruby group would be a better place to announce this
> product.

The ideas come from working with Ruby dev; the project is for
JavaScript
development. It would be a 1000x more work to create all the support
infrastructure in JavaScript, and then require ppl run Rhino etc in
order to run the app.

I'm very sure its useful to other readers of comp.lang.js. Even ppl
not using prototypejs :)

Cheers
Nic


 
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.