« first day (748 days earlier)      last day (4199 days later) » 

user1125394
hmm that fragbuilder, but I'm not gonna include another script just for one operation ;)
 
@Zirak IE9 supports textContent
 
2kb unminified - not the worst thing you could do.
 
Details
 
@Zirak and textContent doesn't have the same behavior as innerText :p
 
2:02 PM
but you are right, it was meant for large scale client side templates
 
13 secs ago, by Zirak
Details
 
user1125394
@FlorianMargaine and Firefox doesn't support innerText
 
@cyril his function deals with that already
but his function is not cross browser because innertext and textcontent don't have the same behavior
just my $0.02.
but nice link.
 
I'm still quite proud of the 300+ lines hello world
 
@Zirak is that Java? xD
 
2:07 PM
Not because it's 300+ lines, but because it worked perfectly on the first run
 
I was expecting some error, since I pretty much winged it, but it just fucking worked!
 
@Zirak oh nice
that's the feeling!
in 300 lines, 280 are comments though
 
It was part of a payment-for-LoC argument
 
2:09 PM
Aug 16 at 18:40, by atomSmasher
How do we feel about charging per line of code for a website?
 
Hahahahaha
I love the comments in your code
in this case, it's the code, though
 
	turnIntoAMoose : function ()
	{
		throw new Error( 'You are not ready for the moose' );
	},
 
:D
 
//management called and said DRY is for pussies
 	/*QA called and told us to be prepared for these kinds of customers*/
	za : "̸̶̧̩̼̫̭͖̒̽̌ͦ̚Z͈͉̼͔͚̮͖͛ͪ͛ͩ̆ͤͅA̸̩̜̬͚ͤ̉́͞L̯̙̭͈̃͟G̷̤̟̙̹̗͆̍͛͒͂ͥ͠O̳̞̜͑ͣͤͦ͜"
woot?
 
The apostles of Zalgo are devoted customers
 
user1125394
2:20 PM
@FlorianMargaine any IDE for javascript autocompletion please?
 
your mom
 
user1125394
might work on eclipse, but the project is set as php
 
Management called and said autocompletion is for pussies
 
Microsoft Visual Web Developer has great js autocomplete. I highly recommend it.
Also you can grab the express version if you need something free.
 
2:28 PM
@AmaanCheval hey in IE i get the following error which screws up the design:
SCRIPT438: Object doesn't support property or method 'getElementsByClassName'
bindings.js, line 41 character 5
It's in that method for scrolling we made yday :-/
 
HAHAHA
IE8 doesn't have gEBCN
use QSA instead
 
QSA? :)
 
@AndersMetnik you got the code somewhere?
querySelectorAll
put some css selectors in it
 
for the method, sure i can paste that
 
N.B. though, querySelectorAll won't work in IE7, if you care.
 
2:30 PM
@user973810 I don't but thanks :)
 
@AndersMetnik there is IE8 incompatible code there
forEach for instance
or addEventListener
 
Amaan who made it for me :'-(
 
1
Q: what would be a good way to implement/render a 2d tiled map for a browser game?

jj_I've made this little rpg ruby game I did while learning and now I'd like to make it into a browser game. I've already set up Sinatra framework to serve it, so what I am looking for, before everything else, is a way to represent the game map in browser (location attributes are stored in db). A n...

 
@FlorianMargaine which methods can I replace them with? :)
 
Hello guys. I need help with something in jquery. I would like to trigger an event when radio button is checked (id selector). My solution is .change, but radio buttons change by themselves when you click another one. Will both changes trigger?
 
2:34 PM
@AndersMetnik rewriting, I'm not sure about scrollTo offsetTop and scrollX though
 
Hello everyone
 
Anyone know how to re-initialize requirejs in runtime? Esentially I'm using their i18n plugin, which sets locale in require.config({}) block. But I'd like to make language selection runtime.
 
Thanks mate :)
 
@nirth good question
 
2:38 PM
jesus fiddle is immensely slow @ my computer, do you have any idea why that might be? :)
 
at mine too
 
They have a Jesus fiddle now too?
 
Yeah it's located between my legs
 
@FlorianMargaine Another way would be to go "into" actual plug-in, but it doesn't seem to be exposed.
 
@FlorianMargaine uhmm is it one for IE and one for the rest, or is the one you wrote crosscompatible ? :)
 
2:40 PM
@AndersMetnik didn't delete the first function, only use the second
 
@FlorianMargaine That's why I asked. Thanks mate, you still rule my sucky world ;)
 
look at the last answer
 
@FlorianMargaine Yeah I found that earlier. it's not really runtime. Our app is single-page html application
and reloading isn't really nice good experience.
 
No, not currently. The i18n.js plugin sets its export value based on
the locale setting, so dynamically resetting it would mean undefining
and unloading all those exports. location reload is the best option
for that case.
 
Could someone explain this phenomenon? jsfiddle.net/fE8qk
jsfiddle is being slow
var increments = 0
for (i = 0; i <= 1000; i += 0.1){
    increments ++;
}
 
2:44 PM
Yep timm unbearable slow
 
yeah :? ugh
I remember when it was always slow like this
seems like they are going back to that route
 
@FlorianMargaine SCRIPT438: Object doesn't support property or method 'querySelectorAll'
bindings.js, line 41 character 5
:'(
 
@AndersMetnik IE7?
 
ok here's my problem: jsbin.com/ugosiy/1/edit
 
2:46 PM
@AndersMetnik which browser do you have to support?
 
Thanks Florian.
 
@AndersMetnik and it looks like document was overridden by something
 
Nevermind!!
I SUCK
8
 
use window.document just in case
 
doesnt scroll though :)
 
2:47 PM
what was wrong?
 
But ill fix that another day.. freaking stupid quirks mode
Usually i only change browser mode (ie f12) but aparently i had pressed wrong and changed document mode
so didn't realize it
 
Guys, I'll be off for one month. I need someone to note everything interesting for me.
:(
 
Danm thats a long time, what ya up 2?
 
@AndersMetnik Are you trying to steal my place of "The Queer of the gang"?
 
2:50 PM
Thanks Florian
 
@dievardump Maybe I am, Maybe I already have? ;-P
 
collaborative gist for you :p
 
53
Q: What really allows airplanes to fly?

David ZaslavskyWhat aerodynamic effects actually contribute to producing the lift on an airplane? I know there's a common belief that lift comes from the Bernoulli effect, where air moving over the wings is at reduced pressure because it's forced to travel further than air flowing under the wings. But I also k...

 
You didn't But you're trying.
LOL @rlemon nice one.
 
Stupid name didn't update in the chat
Feeds, Ontario
6.1k 1 11 33
 
2:52 PM
héhé
 
joke fail
 
facepalm
 
Haha rlemon you have taken Rss feed as avatar <3 for thinking out of the box
 
oooh
@rlemon I totally thought it was feeds
 
laters guys
c ya monday
 
2:57 PM
So, should there be single-player games (like tic-tac-toe) on the chat-bot?
 
Do you think it'll be lame, or something worthwhile?
 
lame
@dievardump when are you leaving?
 
lame just because it would be spammy
 
really lame
unless its chess ;)
 
2:58 PM
Single player games like tic-tac-toe? Make sure you program in an awesome language like PHP.
 
STOP
 
HAMMERTIME!
 
@FlorianMargaine On sunday night
 
HAMMERTIME!
 
@Zirak ninja'd
@dievardump kk
 
2:59 PM
I must clean my room today
 
right, it's friday
I thought we were monday
yesterday was public holiday
 

« first day (748 days earlier)      last day (4199 days later) »