Message Board


Message Board > Manly Pandas (Probably NSFW) > lyrics

August 30, 2012, 10:12
Dennis
どこかにいる
2092 posts

LOOP
nyan nyan nyanyan ninininyanyan nyan nyan nininininininininininininini nyan nyan nininininininininininini nyan nininininininininyanyanyan
nyan nyan nyanyan ninininyanyan nyan nyan nininininininininininininini nyan nyan nininininininininininini nyan nininininininininyanyanyan
nyan nini nyan nininininininininini nyan nininininininininininini nyan nini nyan nininininininininini nyan nininininininininininini nyanyan nyan nini nyan nininininininininini nyan nininininininininininini nyan nini nyan nininininininininini nyan nininininininininininini nyanyan END LOOP;
____________
Kwakkel
#
September 5, 2012, 10:14
Zomg
None
641 posts
foreach (Hour hour : day) {
say('nyan');
}

[Edited on September 5, 2012 by Zomg]
____________
#
September 5, 2012, 22:41
PB
Defender of the faith
630 posts

(function njan(){if(confirm('njan'))arguments.callee();})()

[Edited on September 5, 2012 by PB]
____________
#
September 6, 2012, 09:40
Zomg
None
641 posts
Was that JavaScript? Sure looked like it. With some confirm popup box.
____________
#
September 6, 2012, 20:38
PB
Defender of the faith
630 posts

It's javascript.

It's handy to know you can also test javascript using the tools in your browser:

Chrome:
Press F12, then go to the console tab.

IE:
Press F12, then go to the script tab and select the console tab in the right half of the toolbar.

Firefox:
Press Ctrl+Shift+J

[Edited on September 6, 2012 by PB]
____________
#
September 6, 2012, 20:42
Zomg
None
641 posts
Hm I use Log4JS. :o
That's neat too though.
____________
#
September 6, 2012, 21:01
PB
Defender of the faith
630 posts

I didn't know about Log4JS, is that something build on jQuery?

Also you should know that I added the function name for readabillity only. I could as well have written:
Code:
(function(){if(confirm('njan'))arguments.callee();})()


Or if I wanted to hide the njan:
Code:
(function _(){if(confirm((x=String.fromCharCode(110))+'\u006A\x61'+x))_();})()


[Edited on September 6, 2012 by PB]
____________
#
September 6, 2012, 21:05
Zomg
None
641 posts
I don't know if it's built in jQuery but I know I used it in my exams for debugging runtime values. :o

I hate inline. :P
____________
#
September 6, 2012, 21:23
PB
Defender of the faith
630 posts

is it better than visual studio? Visual Studio, combined with IE, has fine javascript debugging as well.
____________
#
September 6, 2012, 21:43
Zomg
None
641 posts
Well, you can use whatever debugger with Visual Studio. It comes down to the same thing. :o Visual Studio just has its own debuggers. I don't think it has a default one for JS. Just plug one in and voila.
____________
#
September 7, 2012, 00:01
PB
Defender of the faith
630 posts

Visual Studio used to have a default javascript debugger, but I have not tried it since Visual Studio 2003. But that JavaScript debugger was really good and far ahead compared to what was available for Chrome and Firefox. So if they just threw that feature out, would be a shame.

The thing is that to enable it, you needed to have visual studio installed and do some internet settings, while the toolbar is just available. Hence now I prefer the toolbar for smaller javascripts to try to solve the problem in first...
____________
#
September 7, 2012, 07:31
Zomg
None
641 posts
If I could debug JS I would be happy. I think I'm going to research on how to do it later. I have worked with VS2005, 2008 and 2010. All Ultimate and Pro versions. :)
____________
#
September 19, 2012, 08:23
Dennis
どこかにいる
2092 posts

funny how every shit comment in this thread is on topic and every decent comment is not.


Btw, I use the Element Inspector a lot. For instance, you can see your JQuery change your (x)HTML dynamically.
____________
Kwakkel
#

Message Board > Manly Pandas (Probably NSFW) > lyrics

Quick reply


You must log in or register to post.
Copyright © 2005 Booleansoup.com
Questions? Comments? Bug reports? Contact us!