« first day (130 days earlier)      last day (4818 days later) » 
00:00 - 19:0019:00 - 00:00

12:36 AM
Man I have no idea what I'm doing... this 'github' thing is whack
 
RT @annevk: Well look at that, Stig rewrote his old code: http://my.opera.com/core/blog/show.dml/26453141 Teehee! #newhtmlparser
RT @paul_irish: Use requestAnimationFrame() for smart animating http://paulirish.com/requestanimationframe
Henry Haverinen: Update on the jumping Norwegian guy and the Qt Web Runtime project http://goo.gl/di8BP Qt Creator HTML5 Application Wizard
Benjamin Poulain: "HTML5: Beyond the Buzz" http://goo.gl/QaDx0 video presentation on HTML5 technologies in Qt WebKit
 
 
2 hours later…
2:34 AM
interesting
 
 
3 hours later…
5:31 AM
RT @fpbrooks: Software systems are perhaps the most intricate and complex of man's handiworks.
 
5:43 AM
RT @jarrednicholls: Alpha Release of Qt on Android: http://goo.gl/upZba
 
 
2 hours later…
7:32 AM
@david read the guides
 
 
2 hours later…
9:12 AM
mornin' all
anyone seen this weird stuff before in JSLint?
`Problem at line 11 character 32: Expected ']' to match '[' from line 11 and instead saw ','.

var years = new Array[1897-1901,1902,1903,1904,1905,1906];

`
 
9:27 AM
@MylesGray The - - you can't have it there, at least according to jslint
Putting a bracket around it should keep it happy
 
@YiJiang I have tried wrapping in quotes as well and I ge the same error, am I simply not allowed to do that?
oh okay just put parenthisis around it?
 
Oh, and new Array isn't necessary - just declare it as an array literal
var years = [1897-1901,1902,1903,1904,1905,1906];
 
that sorted it!
no new Array :)
trying to clean up the lecturers code >.>
 
I'm not sure why I didn't saw that at first, but new Array [] is definitely wrong - the 1897-1901 part actually shouldn't trigger any errors
There's no such thing as using square brackets to denote function arguments. If that really is your lecturer's code... well I have nothing to say
 
@YiJiang It really is, you think this is bad? you should see the css >.>
no semi-colons on the last line of ANY declaration
and no semi-colons at all in JS
 
9:37 AM
@MylesGray Uh... how can he even teach that? None of the CSS will work, and neither will that js snippet you just pasted in! Just run it in the browser and the result should be clear immediately. He's, uh, worse than W3Schools, which really is saying something
 
That's what I was wondering but the CSS barely works, IE makes up for the shit coding i guess, It seems to just cling to life enough to work
the JS is rediculous though like everything is WRONG
and thats coming from me :P
Ahhh now they're telling us to use inlineJS to call functions!
 
quick call 500-crockford before it's too late
 
@IvoWetzel I have tried but aparrently he is busy beating non-conformer's asses already
 
@MylesGray This one is a major case, definitely life threatening if not done immediately
 
well there's still 500-resig, but only if you want to be teached jQuery instead
 
9:51 AM
@IvoWetzel I think I have kangax's number around here somewhere... ;)
 
I'll see what the Crockster can do but even resig would see the injustice that is being done here
 
holas
dohh.. I created a pull-request in the jQuery repo. Can I modify or update the commit somehow ? anybody knows ?
 
@jAndy saloh
 
Here is the code we were given that we have to "add to":
var infoString = "<h4>Background of the Survey.</h4>"
infoString = infoString + "<p>Sir john Murray was an oceanographer whom had become interested "
infoString = infoString + "in the different physical and biological conditions presented by sea "
infoString = infoString + "and fresh water lochs.</p>"
infoString = infoString + "<p>He understood that a survey of fresh water lochs "
infoString = infoString + "would contribute much to scientific knowledge and brought the subject "
infoString = infoString + "before the Royal Societies of Edinburgh and London.</p>"
 
9:55 AM
@jAndy I believe if you update your repo the pull request will update to reflect it automatically
 
its just horrific
 
@MylesGray screams
 
@YiJiang: so I should just change my local rep and push the commit ?
 
@MylesGray Say what? Oh my god... that's what you're been tought?
 
they dont even use +=
 
9:55 AM
@jAndy Yeah, I believe that'll work
 
@YiJiang No, the request is just a a request to merge a specific commit. Most of the times you close it and file a new one
 
yep thats what they are TEACHING us is right
 
@IvoWetzel: so I can't modify the pull-request directly ?
 
@MylesGray Actually, the best way is to split out the HTML into, uh, you know, a HTML file
 
how can I move stuff to the bin?
?!
The "code" above is more than dangerous
 
9:56 AM
@IvoWetzel Ask @Raynos to give you permission to talk in the bin room
 
@jAndy Dunno, never did any pull request with the new system
 
@IvoWetzel Was there a new system?
 
@YiJiang pff
 
@MylesGray Ah, the array had those years in quotes—that makes a little more sense. Not much, but a little .
 
... its pretty bad tbh :/
 
9:57 AM
@YiJiang Yes, they changed it, in the past they had a built in merge thingy on the website, which wasn't that great
 
well I just try.. what is the worst thing that can happen... only destroying the whole jQuery repository, nothing to worry right
 
@YiJiang not they are telling us to: "Here you will write the function getTable(). It will look up information from two arrays and produce a table as follows. The XHTML code for the table should be written into a string and then the string assigned to the innerHTML property of the second div element you created, i.e. ‘box2’."
 
@jAndy :) We'll know who to blame when the world collapses
 
@jAndy Make sure to rm -f -r in the repo before your next commit
will also reduce the code size by a lot
 
these people have never heard of createElement
 
9:59 AM
@IvoWetzel: ay
 
we should keep a list of places where you learn bad JS
then we sell that list to employers as a "never hire from these places" list
 
@IvoWetzel Did you forget to close those three issues when you fixed them in the repo?
 
was waiting for feedback, but it seems to be fine, was about to close the last one
 
@IvoWetzel what about me i'm from a bad place but attempting to learn GOOD JS :)
Okay cleaned the file im working on this now: jsfiddle.net/RWypD
I hate how they make us use Visual Studio
 
@IvoWetzel: "git rm -f -r" ?
 
10:04 AM
@jAndy Yeah something like that :)
(I hope he gets the joke)
 
looks like it doesnt like that statement
 
onclick="javascript:getList()" o_o
 
fail...
 
no I'm just diving into git :p
 
@jAndy You know what rm does?
 
10:05 AM
obviously
 
@YiJiang I'm just doiung what I'm told, I'd likely get marked down for using event handlers
 
@jAndy You uh, know what the -rf flag do?
 
but you explained it believable, but I get it on second reading :p
 
re move -recursive -forced :P
 
anyway, won't work with that statement
:)
 
10:06 AM
@MylesGray You uh... what? God, it's even worse than SO!
 
yeah, the git command is different if I remember correctly
 
@YiJiang seriously, If it isnt how they want you get marked down#
and what they want is inline JS
:/
 
@MylesGray Sometimes I wonder if there are teachers out there still using the 3rd or 4th edition of my JavaScript book—if so, I really want to apologize to their students.
 
that's... gross
 
just pushed some changes to my fork.. but I don't think the pull request updates automatically
hrm
 
10:08 AM
@Dori What? You're saying that people might still use books?
 
OTOH, every JavaScript book over a decade old is crap, so I shouldn't just say that about my own.
 
Is it possible to append a looping var (i.e. "i") to a var name?
something like this: var tr[i] = document.createElement("tr");
 
@IvoWetzel Fewer all the time, according to my royalty statements. :-(
 
@MylesGray Sure, just use eval
 
@MylesGray Uh... why not make tr an array then?
 
10:10 AM
I've heard about eval and its demons
 
@MylesGray that's not appending; it's an array element.
 
@YiJiang cool will do
@Dori I know it was just a rough example
 
We're teaching programming 101 here...
 
woooooohh github.. nice one
auto-updates pull-requests on new commits
 
\o/
 
10:11 AM
I'm not sure @MylesGray's professor even qualifies for 101.
 
@IvoWetzel You should come teach here :D
 
@MylesGray Haha, that would be cool... for me
 
I think he (who isn't here at the practical anyway) doesnt know what the interwebz is
 
But to be honest I wouldn't even dare to teach JS as a first language
 
well.. It lookes like the jQuery core members don't like explicit checks like `if( 'foo' in obj && typeof obj.foo === 'function')
 
10:12 AM
@IvoWetzel How can your German be worse than your English? Or are you not native to Germany
 
they just trust in that whatever is there is right
 
@YiJiang I'm native, but trust me German is a hard to write language
And since 90% of what I do every day is in English...
 
@YiJiang I really need to create an individual var name based on loop iteration
 
My German writing sucks, it really sucks
@MylesGray ...
 
@IvoWetzel dnt haxxor me >.<
 
10:15 AM
I should really teach there... first week would be an introduction to the language, it's history etc. of course, 2 hours, every, freaking, day
+homework
a TON of homework :P
 
Good :D
I get 4 hours of USEFUL class a week
and about 20hours worth of homework a semester
 
one missing space around your operators and you're out ;D
 
I'd actually like to get work to further myself :P
 
of course it wouldn't be done with JS... CSS, HTML, cross browser issues etc...
in the end I even would teach GIT, if you get through this, you'd be ready to contribute to jQuery core dreams
and there would be an optional VIM class :P
 
so... when are you starting :D
If the thing with zynga doesn't work out... ;)
 
10:19 AM
I want to have a guest appearance.. "implementations of ECMAscript, host objects & lexical Scope"
 
@jAndy Sure, right after resig's <del>mess</del> talk on jQuery
 
@IvoWetzel Yeah, but who grades the homework? That's been the drawback when I've taught.
If n students have a ton of homework each, that means you have n tons to review.
 
@Dori We'll just pass all of them through jslint :P That should eliminate 90% of the work
 
@YiJiang Nah, tell 'em to run it through before turning it in.
 
10:23 AM
automated, they all get git repos to commit their work to
a test suite runs
and some crazy AI that detects duplicated code across the repos :P
 
@IvoWetzel I like that idea :D
If you get it to work at all you pass ;)
 
@IvoWetzel Some crazy AI = Kitteh ;)
 
@YiJiang !!!
@YiJiang I'm sure you'll get the nobelprize for that
 
@IvoWetzel For Science!
 
@YiJiang Or for "Kitten Stuffs"
 
10:24 AM
You monster.
(Portal 2 reference, hmmm...)
 
got told i was doing it wrong...
told to do it this way:
 
Do they hate indentation too?
 
@MylesGray createElement! Oh for the good grace of God, createElement!
 
var box1 = document.getElementById('box1');
box1.innerHTML = infoString;
why two lines?
 
.same
{
    width:200px;
Feels compelled to punch someone
 
10:27 AM
@YiJiang Not allowed
 
The real question.
Why not use a FREAKING TEMPLATE SYSTEM?!?!
 
@MylesGray I know, but I need to rage a bit, it's good for us to not have this sort of things get pent up inside
 
create element is too hard and we should just use strings to append html content - not my words... his
 
too hard? that's what...
 
she said?
 
10:29 AM
Ivo is right, a template will really heal that piece of code
even ['foo', 'bar', 'base', 'ball'].join('') looks better than this
 
hey, another 1.2k garden views yesterday
 
@IvoWetzel There was the feature on the twitter feed
 
oh
need to write about hoisting so we get the content done
(of course we can add more sections later... like on NaN etc madness)
 
It's also spreading through Tumblr blogs
@IvoWetzel The html5-shiv need to be included for some of the tags to be styleable on IE I believe. Either that or it's something else that's causing the IE problems I saw today
 
10:50 AM
Oh yeah, we'll need the shiv for IE < 9
 
@YiJiang Possible cause: it's IE
 
Of course given that more people are viewing the site on Opera and iPhone, I won't do too much to add IE support ;)
 
shiv should fix it
an ideas for the languages selection thingies?
 
@IvoWetzel Not really, I've got some ideas for mobile navigation
Seriously, designing unobtrusive mobile UI is hard
 
especially without a ton of devices to test on
 
11:00 AM
/o/
 
\o\
 
|o|
 
\o/
 
/o\
 
_o_
 
11:02 AM
That's how I want to be welcomed each time I come here.
 
@Shikiryu Sure thing :P
 
;)
How are you all anyway ?
 

ASCII Man Gymnastics

5 mins ago, 2 minutes total – 8 messages, 3 users, 0 stars

Bookmarked 4 secs ago by Yi Jiang

 
ugly language selection thing is half way done, but still ugly
 
@IvoWetzel Will poke it with a sharp stick till it behaves ;)
Anyway, what I really want you to implement would be auto unfolding, the priority order idea wasn't that good, so I propose you just crawl up and downwards unfolding each section until you run out of space
 
11:15 AM
hm
btw: for everyone interested in the WIP: dl.dropbox.com/u/2332843/garden/index.html
why is "http://bonsaiden.github.com/javascript-garden/" a keyword?!
I thought only non-tech people use google as their url bar
 
12:03 PM
oh there's a new chat silver badgy
kitten got it!
 
@IvoWetzel Hahahahaha
 
hm
what's that new "flag weight" score?
 
15
Q: What is flag weight?

CoolBeansFlag weight can be viewed in user profiles. What is flag weight? Who can view my flag weight? When can I view my own flag weight? What are the possible values of flag weight? What are the benefits of a high flag weight? Return to FAQ index

Mine's 295 on SO by the way ;) What's yours?
 
250 on SO
but I really should make more use of the mod tools
but hey, too busy being nervous about that job opportunity
-3
Q: public static hashtable

user410446i defined a hashtable as public static .it stores data in a few seconds data in hashtable is disappear.also hashtable is become null.how can i solve that problem

why does this one have +4 reopen? Oo
 
This comment?
> Not sure why this got closed and not just waiting for more clarification as BFree suggested? After all, the question itself is simple: A public static Hashtable in an ASP.net MVC application becomes NULL all the time. From that clear description we can explain that in ASP.net, static is shared across ALL requests for the entire lifetime of the application and ask for some code: How is the Hashtable declared? is there any code that creates it or sets it to NULL? [...]
 
12:17 PM
ah (stupid auto hiding)
people. stop changing the code of in the OP...
 
'allo all :D
 
12:37 PM
@IvoWetzel bin permission granted
@IvoWetzel job yet?
 
12:51 PM
Hi! :)
 
@Raynos No, nothing new to tell ya
 
1:30 PM
ah, committing a ton of fixes always feels good
0
Q: js function not working on IE8

Cristian BoariuHi guys, I have a div and on mouseover I show an ice:menuPop with this function: function fireContextMenu(element, event) { if (element.getAttribute('oncontextmenu')) { element.oncontextmenu = new Function ('event', element.getAttribute('oncontextmenu')); element.oncontextmenu(event); }...

...
 
hmm
3
Q: js works inside the page but not in code behind

Cristian BoariuHi guys, I have this function put in a MasterPage, which shows up an mp3 player: <script type="text/javascript"> $(document).ready(function() { var stageW = 500; var stageH = 216; var cacheBuster = Date.parse(new Date()); var flashvars = {}; va...

That's another eval thingy…
 
icefaces alone is horrible
 
"Oh, we guess a server round-trip for every interaction with the UI is a good thing"
 
> Well...you are my hero of today:) Thanks, it workss! Cristian Boariu Apr 17 '10 at 16:31
It isn't accepted… but sure that he knows how to accept an answer (68% accept rate).
 
1:40 PM
@YiJiang Nice one :)
 
@IvoWetzel And now I'm closing it as a dupe. Hrump...
 
dun dun
 
Original:
is google reading thru jquerry .load()

so, if i have a `test1.html` file containing some info and a `test2.html` where i usethe
    .load("test1.html")
    function, the source code will be the exact content of test2.html

    will SE

read the content from test1.html ?10x!

[jquery] [google] [seo] [load]
New:
Does Google crawl content loaded through jQuery's load function?

If I have a `test1.html` file containing some info and `test2.html`, when I use

    .load("test1.html")

Will search engines read the content loaded from `test1.html`?

[jquery] [seo]
Much nicer @YiJiang! (:
 
0
Q: google API map not working ??even i gave the new new key?? i dont know y?

shanmugavel-phpit showing error in the line if (GBrowserIsCompatible()) { whats th problem here??

I love such descriptive question
 
anyone here using/used the 64bit Google Chrome browser?
 
1:52 PM
So, who wins?
@Greg Only have 32bit systems here
 
@Greg Is there a 64-bit Chrome?
 
Yes,l I downloaded it in Linux and couldn't get the 64 bit Adobe flash player to add as a plugin.
 
@IvoWetzel 'Google Maps API Error' isn't exactly the most descriptive of titles
 
well
 
> I like the idea of seeing an error message "Your password was right, but your username was wrong" – Gareth Feb 18 at 13:08
3
LOL!
 
1:56 PM
I have to admit
I have no idea what his actual problem is
In case you do, feel free to change the title
 
@IvoWetzel I guess that function is not defined but I'm not sure
 
@IvoWetzel shakes head Typical
 
Added in the name of the error causing function to the title
 
2:00 PM
@Nyuszika7H You should post that
 
@IvoWetzel done
 
upped it, it's just that I can't be bothered to answer when the questioner doesn't show a minimum amount of effort
 
@Nyuszika7H do you use chrome on a 64bit machine?
 
@Greg Yep, Win7 x64.
 
oh I thought you were running Linux
 
2:05 PM
@Greg Actually, I'm going to install Ubuntu next to my Win7 (dual-boot) this week. But I've heard that IE has the same issue (no support for many plugins), this is why there are two versions on x64 systems: x64 and x32.
 
I was going to do that, but then just decided to get rid of Win7 for good.
I guess there isn't a problem in just installing 32bit chrome/chromium on 64 bit ... then I can use 32 bit flash like usual
 
I want my ubuntu... but my macbook air won't let me install it
 
I'll install Ubuntu, install neccessary software, and use it for some time. Then I'll decide whether I keep Win7 or not.
 
@Nyuszika7H what do you use Windows for that you think may not be possible in Linux?
 
2:09 PM
@Greg games… i.e. iFluid, Kenny's Adventure
 
That video is amazing
 
@Nyuszika7H I haven't tried yet, but could they run OK in Wine?
 
@Greg Is it free?
 
@Nyuszika7H some games work in Wine, which is free, but... be prepared for a lot of pain. It's not easy ironing out some bugs, or building custom Wine with patches
 
is going to install Win7 SP1
 
2:39 PM
I'm using jquery to animate multiple boxes in the same direction and distance, but each .animate() call is a few milliseconds apart, and sometimes I notice that some boxes are slightly out of sync with the others ...
is there a way to store jquery animations and call them all at once?
 
@Greg Not really, it takes that amount of time for the JavaScript engine to process the jQuery functions
If you find jQuery to be too slow the obvious solution is to implement the animation yourself, without the weight which jQuery adds
 
@YiJiang sorry, I meant to say that it is my own javascript that is causing the delay
the animate() is called at the end of a loop after things have been calculated
but there are 10 loops, and some iterations take a few ms
so not all the animations start/end at the exact same time...
 
If the delay is significant, check against the current timestamp and coordinate, nothing native to jQuery of course
 
@MylesGray lol finally hit 1.5k..
 
(Push the results into an array, then call all 10 animate at the same time at the end or something)
 
2:44 PM
man your pushing close to 2k now
nice
 
@Loktar nice one man :D
Yeah in the next few days i think ill go for a big push :)
 
Did @IvoWetzel get his job?
hopes I didnt hit a soft spot
 
@Loktar No feedback so far
I did mail my "maybe future boss" yesterday, he meant that he expects a reply in 1-2 days
 
awesome
 
Awesome!
 
2:47 PM
did I miss something?!
 
???
0
Q: Phishing And CSS position:absolute

ArthaHow CSS position:absolute rule actually helps phishing? Can someone help me out, I'm confused :(

 
@ircmaxell +1 for the badge thing
 
nice
Let's see if it gets implemented
 
3:19 PM
does anyone know if there's a way to do something like if (dom:loaded) {doX}?
I have a page that i both loaded directly and via a partial, so I'd like to use an if statement detecting if the dom is already loaded to determine how to add an observer
 
@WilliamJones set a bool on the load event.
 
oh yeah, that's a good idea, thanks
 
3:38 PM
Oh no, it's Flash Man! http://t.co/HkbLYSM
 
@Feeds Weird, that doesn't render at all in Firefox 3.6, and overflows magnificently in Chrome
 
@YiJiang I was just about to day that chrome is f**ked
 
Works like a Charme in FX 4 :)
 
4:31 PM
@IvoWetzel 280K in replace
 
Chromes's really speedy (as always...)
 
Could be the hardware though
 
no, seeing quite a big difference here between FX / Chrome / etc
 
Ill run FF hang on
god damn opera is SLOW
 
did firefox just disappear in the list?
 
4:39 PM
IE you're so awesome
first I get: This website uses Java! For more info visiti microsoft.com (wtf?)
click "more info"
"This website wants to open a program: firefox.exe, are you sure you want to open this program?"
 
Hi again! :)
 
Firefox4 is EVRY fast, faster than Chrome beta here
 
Basic replace
146,269
±3.78%
fastest

Object replace
96,134
±3.60%
37% slower

Indexed replace
153,084
±3.89%
fastest

Accessor replace
83,948
±2.54%
45% slower

Formatting
36,663
±4.69%
76% slower

Key replace
143,869
±1.89%
6% slower
 
IE9 RC is surprisingly fast :)
 
Testing in Chrome 11.0.672.2 on Windows Server 2008 R2 / 7
 
4:45 PM
let's test IE6!
 
0
Q: Google Maps API JavaScript error when GBrowserIsCompatible() is called

shanmugavel-phpI get an error on the following line: if (GBrowserIsCompatible()) { this is my code still not working " type="text/javascript"> var map = null; var geocoder = null; function initialize(address) { if (GBrowserIsCompatible()) { map = new GMap2(document.get...

Someone wants to fix the horrible indentation?
 
@IvoWetzel IN WINE!
 
@MylesGray In Spoon!
 
Still thousands of operations :)
 
IE6 in Spoon crashes for me if I try to open that jsPerf test…
@Nyuszika7H jsBeautifier and some manual correction… now approve my edit, someone!
 
4:57 PM
Question about securing JSON in a mobile webpage, would I just need to send all requests over HTTPS? or is there still a chance for man in the middle attack?
 
man, this wait starts to really suck...
 
5:12 PM
WEdnesday and still no word?
 
nope
 
if (document.all) //Test for IE
{
//create a new ActiveXObject in var request
var request = new ActiveXObject("Msxml2.XMLHTTP");
//Request Get specific file using syncronus method
request.open("GET", "googlemapsxmlV2.xml", false);
// Send the request to the webserver
request.send(null);
// Store the returned DOM object
var gmapsxml = request.responseXML;

//store the lat and long attributes into a variable called info
var info = gmapsxml.getElementsByTagName("gps");
}
NOOOO (Source)
 
5:27 PM
Yes this wait sucks
Hmm. Is object.create and object.defineProperty more efficient?
 
do some tests :P
 
    var Z = 'constructor';
    // another eval clone!
    Z[Z][Z]('alert("test")')();

    // let's see what's behind the scenes!

    // same as Z['constructor'], since Z is 'constructor'
    > Z[Z]
    function String() { [native code] }
    // Z['constuctor']['constructor']. String's constructor is Function.
    > Z[Z][Z]
    function Function() { [native code] }
 
@evilpie yeah I've seen that :)
wtfjs.com/2010/06/08/void-is-a-black-hole I get SyntaxError: Unexcepted token void
 
5:44 PM
i like "9999999999999999"
 
@evilpie yeah :P
 
5:58 PM
4 messages moved to Sandbox
 
6:23 PM
too bad no word, @IvoWetzel
 
@IvoWetzel Its ok it'll happen eventually
 
6:37 PM
It's around nearly 4 weeks now since I originally sent in my application
 
@IvoWetzel remember that hiring managers have different priorities than you do.
To them hiring "someone" is just one of many things that need doing, and many other urgent things keep getting in its way.
To you, everything is waiting on getting (or not getting) this particular job.
There are also bureaucratic steps that hinder progress, like getting the approval of person X who's on vacation or whatever.
 
Yeah, you're right + the two different timezones won't speed things up either
 
Wikipedia now uses the HTML5 doctype http://t.co/1EvfGbr
 
@IvoWetzel i am hoping the best for you, my computer has been approved after about 3 weeks too
 
6:52 PM
@IvoWetzel Why is var o = new function() { } bad
 
o will only be defined after the assignment has been executed, could cause some weird bugs
 
really?
that's different from var o = { ... } ?
 
@Raynos var o = { … } is an object, not a function
 
no, but its different from function o () {}
 
function a() {
    console.log('this is function a');
}
var b = function() {
    console.log('this is function b');
};
var c = new function() {
    console.log('this is function c');
}
> a();
"this is function a"
> b();
"this is function b"
> c
"this is function c"
> c();
"this is function c"
TypeError: object is not a function
> c();
TypeError: object is not a function
 
6:57 PM
i don't think c does what you want it to do
 
@Nyuszika7H you fail :P There both objects
 
yeah, c is executed immediately, and if I call it later I get the TypeError.
 
I know that :)
I'm just questioning whether var o = {...} vs var o = new function() {...} is the latter worse?
 
00:00 - 19:0019:00 - 00:00

« first day (130 days earlier)      last day (4818 days later) »