Newsgroups: comp.lang.javascript
From: Dr Nic <drnicwilli...@gmail.com>
Date: Sun, 17 Feb 2008 01:42:53 -0800 (PST)
Local: Sun, Feb 17 2008 4:42 am
Subject: Re: Scaffold/Generator for new JavaScript Projects (newjs)
> DrNic.PostReply = new function() { This code is from my blog - not code generated by newjs. Sorry, I > 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" > I recognize that code and comment. It's the wonderful Prototype didn't know what code you were looking at. But yep, its currently broken (plus has unnecessary firefox Re: git - its a source control system - http://git.or.cz/ originally Re: newjs - sorry I've not explained very well what its purpose is. In Cheers 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.
| ||||||||||||||