« first day (1609 days earlier)      last day (3353 days later) » 

3:02 PM
Shame on you Steve
 
lol
he's having a bad day or something, those fake stars are really pissing him off, more than they should
 
if anyone else is in Seattle, come check out SeattleJS seattlejs.com :D
 
dat surface tension
 
hey guys I'm facing a wired issue on firefox with my js file. I've tried several approach as per present in stack overflow but none are working
only in firefox
can someone plz take a look and gv me some hint about what I'm doing wrong
i'm keep getting error
TypeError: $ is not a function


if ($(".element").length > 0){
 
posted on March 13, 2015 by admin

New comic! Today's News:  If you're still having RSS issues, please use this: http://www.smbc-comics.com/rss.php

 
3:06 PM
while I've mentioned every single function properly and even dreanweaver not showing any error
 
in HTML / CSS / WebDesign, 2 hours ago, by rlemon
@iSaumya I've looked through the code. Took me most of last weekend... I am happy and sad to report this (funny how that works out eh? you can be both happy and sad at the same time. You wouldn't think it is possible but here I am! smiling and crying, smiling because I have a solution. but crying because of the pain and suffering involved to get there) anyway, the issues is down around line 472. FantasyException: Lack of Unicorns
 
dreamweaver is the error
 
@iSaumya have you imported jQuery?
 
yah man
 
also if this is in wordpress jQuery runs in noConflict mode by default
 
3:07 PM
lol
yes this is wordpress
here is the js file
 
this is sparta!
 
I've doen a lot of changes in the way I'm calling these functions
but it seems all throwing the same error
 
are you sure jQuery is defined?
 
jquery always added by wordpress by default
its under wp-include so it gets included. And I have rechecked many times its included
 
(function($) {
	init();
})(jQuery);

function init(){
	le_type();
	le_slider();
	le_tooltip();
	le_skill_bar();
	le_tabs();
	le_toggel();
	le_scroll_to_top();
	le_adblock();
   //other init stuff
}

function le_type(){
	if ($(".element").length > 0){
 
3:11 PM
Ah, jquery and wordpress. Ignorance is bliss, amirite?
 
did you think that this would pass $ to all of the functions in init>?
also, why am I only getting this file on FF and not chrome?
 
no
I tried this at first
 
imgur.com/gallery/lYidO how many of these are true?
 
that is what I'm getting on FF when I visit the page
 
 $(function(){
    init();
 });
 
3:12 PM
wat
 
I like to think Bill Murray did indeed crash a party, drink vodka, wash the dishes and leave
 
and it throwed me the error that it cant identify the $
so I change it back to
(function($) {
	init();
})(jQuery);
 
because you are running in no conflict mode and not wrapping it
that doesn't do what you think it does
 
so what should I do?
 
$ is not passed to init
 
3:13 PM
plz help
ok
 
wow
 
how to pass it?
 
plz how to jquery plz
 
how do you pass any variables
also, you can solve this simply by not using the $ alias
 
@iSaumya You need to go back to the basics.
 
3:14 PM
init ($)
?
 
then you have to pass it to every function you have in there
which is more overhead than it is work
$ is a large object
don't use the alias
 
I keep getting an error on this... {{#if status == 'pending'}}. That is valid, no?
 
@rlemon then what do you suggest?
 
inside of init, you can just do var $ = jQuery, or as lemony robert said, don't use the $ alias, but still, you need to go back to the basics.
 
@iSaumya... not using the alias.
 
3:16 PM
but robert, what's an alias? I just want to use jquery, not alias.js
 
(function($) {
	init();
})(jQuery);

function init(){
	$ = jQuery;
	le_type();
	le_slider();
	le_tooltip();
	le_skill_bar();
	le_tabs();
	le_toggel();
	le_scroll_to_top();
	le_adblock();
   //other init stuff
}
is this ok now?
 
@NickDugger you have just assumed all of the nut shots @KendallFrey has stacked up
@KendallFrey you are now free.
 
Is staging environment the stage when the application is put on a test domain (for example www2.stackoverflow.com)
 
@iSaumya not at all
 
3:18 PM
@rlemon \o/
 
nut shots? no pls
 
please go to google and figure out what 'alias' is in regards to jQuery
 
and also, use the var keyword
 
or take jQuery out of noConflict mode
 
or don't use jquery
 
3:19 PM
yea, Zepto is probably good enough
 
I had a coworker who ranted and raved about zepto
 
if they were recommending zepto, it was mostly raving
 
I think now it is fine as per api.jquery.com/jquery.noconflict
jQuery.noConflict();

(function($) {
	$(function() {
		init();
	});
})(jQuery);

function init(){
	le_type();
	le_slider();
	le_tooltip();
	le_skill_bar();
	le_tabs();
	le_toggel();
	le_scroll_to_top();
	le_adblock();
   //other init stuff
}
 
just... j... ugh
 
user1596138
NOW you tell me you want retardedly comprehensive analytics on this app? Now that I'm done?
 
user1596138
3:23 PM
> Couldn't figure it out
 
@iSaumya Your init() function should be inside of the self invoking function at the beginning.
 
@iSaumya no conflict is already enabled..
 
I expect you to read my mind, mister Hawins.
 
user4433485
Hi was wondering if someone could help me with something,
http://stackoverflow.com/questions/29033954/javascript-remove-array-value-when-picked?noredirect=1#comment46309267_29033954

I know I have to use .splice but, ehm.. I dont really know how
 
user4433485
var cars = ["2", "3", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "4"];
var rand = cars[Math.floor(Math.random()*cars.length)];





$(".cards img").each(function(index) {
$(this).wrap('<div class="front"></div>')
.parent().wrap('<div class="flipper"></div>')
.parent().wrap('<div class="flip-container"></div>')
.append('<div class="back"><img src="./kaart/'+cars[Math.floor(Math.random()*cars.length)]+'.png"</img> </div>');
 
user1596138
3:24 PM
@NickDugger everyone else does
 
@iSaumya ok I'm going to give you a freee one. $ is jQuery how you want to use it.
so just replace all of the $ with jQuery
 
user1596138
(function($) {
	$(function() {
		init();
	});
})(jQuery);
 
then I highly suggest you take a codeacademy course.
 
@HaltlolXD What do you want to do?
 
user1596138
This makes too much sense
 
3:25 PM
@rlemon @KendallFrey imgur.com/gallery/wLRzLF8
 
user4433485
Ehm, I want the user to pick 3 random values from the array
 
@Jhawins The beautiful thing is that you can call jQuery however you want inside of that <3
 
user4433485
but it can not take the same vlaue twice,
 
user4433485
so I want to remove the value the user puts, so it avoids the user to pick up twice the same
 
user1596138
@SecondRikudo Wait wut
 
3:25 PM
@SterlingArcher but.. it isn't even Canada day
not even close
 
(function(boris) {
    boris(init);
})(jQuery);
 
user4433485
 
window.window.window.window.window.window.jQuery
 
such Friday @rlemon
 
user1596138
Oh lol. What a massive improvement....
 
3:26 PM
ok trying
 
@Jhawins Since it's a passed parameter, you can call it however you want inside of the function.
 
what dingbat unpinned my friday message?
I supsect @SecondRikudo
he doesn't like any jokes he doesn't make
 
user1596138
I did
 
you are not a RO
 
@SecondRikudo doesn't like anything good
 
3:26 PM
@rlemon I can neither confirm nor deny.
 
@SecondRikudo has no humor
 
@NickDugger That's true.
@SterlingArcher That's also true.
 
@SecondRikudo <3
 
</3
 
^ harsh bro
 
3:27 PM
well whoever it was, get a sense of humor
but I still suspect @SecondRikudo
 
It's one thing to bang his mom, but to give him a </3? That's just rude
 
@rlemon Let's say it was, hypothetically speaking, me. I'd say "get better jokes".
 
how about you just don't click the link? and stop being a stick in the mud. stop threatening to kick people if they don't do what you say, and maybe chill out?
2
 
user4433485
Hmm that -1 lol
 
shit got REEAAL
 
3:29 PM
Yes, that.
 
so I repinned it
 
SO REAL
 
Get bent, bro
 
now its giving
TypeError: jQuery(...).flexslider is not a function
 
I used to be a stick in the mud but then I became an arrow that took somebody in the knee.
 
3:29 PM
@NickDugger instructions unclear... can taste my knees.
 
eh, valiant effort
 
@rlemon Are we about this again?
 
whoaaaaa
 
it all comes back to being a stick in the mud, so yes.
 
We each have our approach to dealing with crappy users. You like to kick without warning, I like to warn. Is that really so wrong?
 
user1596138
3:31 PM
@rlemon Who threatened to kick people..
 
@SterlingArcher this is why you never print out code
 
you are not warning, you pin messages saying "BEHAVE OR ILL BAN YOU!!!"
 
@SterlingArcher obviously fake, there are no female programmers
 
that is just flexing your muscles.
 
:flex:
 
user1596138
3:31 PM
I don't see where the escalation is coming from other than @rlemon?
 
@SterlingArcher first run: missing semicolon at line 3
 
I have a solution; just make me an RO
 
user1596138
RO fight
 
@rlemon First off, I'm fabulous, I can flex my muscles if I want.
 
@Jhawins no escalation. just letting him know I don't appreciate him removing pins because he doesn't like the song.
and recently him and I discussed a pinning of a threatening message in the html room
 
3:33 PM
!!s/^(?=R)/B/
 
my e-penis is bigger than yours anyway...
 
@KendallFrey BRO fight (source)
 
user1596138
 
Second, like I said back then, it wasn't "flexing muscles" as you defined it, it's a friendly warning. And like I said last time, if it bothered you so much, I'd leave it off, which I did.
 
@KendallFrey The first programmer was female, Ada Lovelace. One of the best computer scientists was female, Grace Hopper.
 
3:34 PM
As for pinning the song
The way I see it, pins are meant for important stuff.
 
@AaditMShah I know :P
 
@AaditMShah that's just propaganda.
 
Good day gents
 
Regardless of the fact that I don't find this particular joke funny, I don't think jokes should be pinned. Star it, sure. Don't pin.
 
3:35 PM
and ladies
 
Everyone knows females don't actually exist, in any species.
 
how's it going
 
@NickDugger lol
 
@SecondRikudo jokes get pinned all the time. they remain for a day or two or until they are no longer relevant.
 
Can someone pin this message, just to be spiteful?
 
3:35 PM
What are our pinning rules, out of curiosity?
 
we have none
 
@ssube We have none.
 
^
 
There shouldn't be any. That would be silly.
 
well shit
 
3:36 PM
If you think something is cool pin it.
 
^
 
meeting topic?
 
When it gets old, unpin
 
I always feel weird updating a library or some code and pinning it
 
oh, shit, that reminds me
 
3:36 PM
@KendallFrey +1
 
user1596138
shockmansion.com/wp-content/myimages/2012/12/… @SterlingArcher this needs to be a wasted gif
 
@ssube Actually, as it turns out every human being is female when conceived. Later on during development a male's ovaries drop down as testes, the fallopian tubes become vas deferens and the vagina turns inside out as the penis.
 
@rlemon There's a system for that, it's called the star system.
 
@AaditMShah nope, females aren't real. Never seen one, therefore they don't exist.
 
If you made a funny, and people find it as funny as you did, they'll star it.
 
3:37 PM
I find your lack of pins disturbing.
 
Pinning is for what you want to make sure everyone should see.
 
@ssube One of my programmer friends is a female: twitter.com/lenadroid
 
And I don't think Rebecca Black qualifies.
 
ok I'll keep that in mind, very spitefully, for the next time you wanna share something I don't care about. or you can concede and not remove others pins and we can just drop it.
 
@AaditMShah programmers don't have friends, only fellow mountain dew drinkers they stop hating to mutter at for a few minutes
 
3:38 PM
hey everyone
 
Friends are over rated
 
@rlemon Please do.
 
@SecondRikudo Every time somebody mentions Rebecca Black I think of Zoe Belkin.
 
@MincăDanielAndrei Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
I just have imaginary people online to talk to
 
3:38 PM
I've always seen it as a grave mark against my nerd-cred that I hate Mtn. Dew.
 
@Loktar yeah, and they believe I have a wife hahaha
 
@Retsam I also dislike it
@FlorianMargaine haha
 
@Retsam I liked it as a kid.
 
Dr. Pepper, one true soft drink.
 
hell yes dude!
 
3:39 PM
@rlemon To be perfectly fair, and it might sound a bit childish but you just reminded me, you kinda removed my (serious) pin without speaking to me first as well.
 
@Retsam I once knew a Real Developer (like, actually a good one, worked for IBM back in the day), and her opinion was that Real Developers drink Coca Cola and leave Mountain Dew to the Java Developers
 
Dr. Pepper
 
I don't like Dr. Pepper :(
 
Ha, that ,009
 
PHP Developers obviously drink something even worse, like Miller Lite
 
3:39 PM
I love Mocha lattes actually
 
@SecondRikudo I will always remove threats and insults from the pins. I think that is acceptable and I think every RO should as well. but sure, we can bring that up ( I also remove them from the stars when I see it. )
 
PHP developers are the designated drivers, but they still crash the car.
 
American ones ofc, never had a real one as @FlorianMargaine will say
 
I'm sorry I didn't ping you first.
 
Hey, does anybody know whether JavaScript is male or female?
 
3:39 PM
@Loktar yeah it's pretty good as a test runner
 
@FlorianMargaine haha
 
@FlorianMargaine it's real good, cause it's all cinnamony
 
@rlemon I don't mind "dropping" it, as you said. But I feel it's a good thing to work out our conflicts and reach a good understanding.
 
user4433485
Loktarogar
 
@Jhawins classic lol
 
3:40 PM
@AaditMShah why not neutral
 
Any food can be made better with cinnamon, garlic, or green chilis.
 
Rather than having it brought up next time something like this happens.
 
@ziGi Because binary.
 
user1596138
@ssube Sounds like this person has some fucked up priorities
 
@SecondRikudo sure. we'll bring it up in the next meeting. I'm not angry at you or anything, we just really don't agree here.
 
3:41 PM
@HaltlolXD zug zug
 
@rlemon Sure thing.
Who's holding the next meeting?
 
oh god... hes here
 
user1596138
> Shit! I was supposed to be debugging Java today but I forgot the Mountain Dew!
 
Sparticus
 
3:41 PM
@Jhawins nope, she just understood that modern languages make for little bitch developers
if you can't jmp, it ain't worth writin
 
@KendallFrey is I believe right?
Holding the next meeting
 
crl
JS is hermaphroditic
 
user1596138
@ssube That has nothing to do with the type of soda you drink lol but thank you
 
:( I'm sad and happy with all of you right now
 
I know for a fact that Haskell is a girl: xent.com/pipermail/fork/Week-of-Mon-20070219/044101.html
 
3:42 PM
Some people don't drink sodas
cause too much sugar you know
 
rlemon meant to say: no one has said "JavaScript"
 
@Jhawins it does, because mountain dew is for neckbeards, and neckbeards are little bitches, and little bitches write java, and so on
 
According to the article so is Python.
 
user1596138
@ssube This message is excessive.
 
@Loktar I think so. What do I need to do again?
 
3:43 PM
where as coke can take blood off of chrome, which will be very important once you start writing C
 
setup a gist
 
does anyone here knows the .blur.js plugin?
 
@BenjaminGruenbaum is this true?
 
because, while writing C, you will get blood everywhere
 
3:43 PM
iºm using it to blur my body
 
@Loktar mmk ty
 
that was mine, I based it off of @SecondRikudo s
 
user1596138
> neckbeards are little bitches, and little bitches write java
 
and it blurs my background image expect the buttons
 
and you set the date/time I believe as well
 
user1596138
3:43 PM
Come on now lets not be assholes.
 
@SterlingArcher wow
 
@rlemon SterlingArcher is afk.
 
.. where did you afk?
 
@Japa does that make you look like a sim?
 
@SterlingArcher I wish
 
3:44 PM
@Jhawins Not all bitches write java, and not all java developers are bitches, but I'm sure some are.
 
@Loktar a sim?
 
it's Friday, everything is excessive. Fuck the police. Anarchy in the UK.
 
I feel like @ssube is about to be suspended :P
 
3:45 PM
did no one see the sarcasm in @ssube's message?
 
invalidate all the things!
 
I voted invalid. :shurgs:
 
@Loktar lololol yes....
 
@rlemon Same
 
@Japa I've never used that plugin
 
user1596138
3:46 PM
@rlemon We all do but two "little bitches" in one message is always going to be too much lol
 
do you recomend other?
 
apparently not everyone interprets absolutes as usually sarcastic
 
Id just use CSS personally
 
typically people who consider absolutes sometimes valid
 
user1596138
I got suspended for saying fuck off. So. I can totally see it haha
 
3:46 PM
it´s a strange beahavior...because inside my body i have everything
 
Room Meeting: Sat. March 21, 6 PM UTC Does this work for you?
7
 
so the buttosn should be blured too
 
user1596138
Fuckin Saturdays
 
works for me 1pm central, 2pm eastern
 
@KendallFrey what is that in you&me time?
 
3:47 PM
@Jhawins that's not why you got suspended
 
I don't think that message should be pinned; it offends me
 
kk
 
@Loktar i want to blur everything except the login modal
any tutorial you recomend?
 
3:47 PM
@Japa put the login on top, blur the background with an overlay
 
i´ve searching a lot
 
@Jhawins is there a better time?
 
user1596138
@ssube Kinda is.
 
user1596138
@KendallFrey Idk everyone always complains about weekdays so I can see the reasoning but there's way more of us here on weekdays IMO
 
3:48 PM
@Japa No you haven't
 
Id probably use something like that
 
#myBlurOverlay  {
    -webkit-filter: blur(20px);
    -moz-filter: blur(20px);
    -o-filter: blur(20px);
    -ms-filter: blur(20px);
    filter: blur(20px);
    opacity: 0.4;
}
 
@Jhawins I don't think the language, in and of itself, was what bothered anyone (at least, nobody mentioned it, that I remember).
 
"javascript blur background"
click on the first link
dur
 
@NickDugger he is using blurjs currently and having an issue with it
DUR
 
user1596138
3:48 PM
@ssube Why are you explaining it to me. I know it was a joke..
 
DURR!??
 
@Loktar he was asking earlier without blurjs
 
DUR DUR Duuuuuur
 
I assume this is his newest attempt at it
 
RUD
 
user1596138
3:48 PM
@Loktar Misping?
 
oh hah yeah @Jhawins
 
lol
 
@NickDugger looks like a shop.
 
@SterlingArcher WOAH i was almost amused
 
3:49 PM
did.. did we just see a seal fart?
 
@rlemon ooh I only saw his most recent question
@Japa look at what @rlemon posted its basically that
 
crl
seal hiccup rather
 
Seriously guys?
 
@crl my cats jump like that when they fart
 
It's the shock of almost giving a fuck.
Like c'mon.
 
3:50 PM
!!afk lunch...
 
or the shock of not realizing one is about to squeeze out
 
I remember back in 'nam, when I first saw a seal fart. We damn near burned down the entire jungle after that.
 
and then it does.
@ssube those were the good ol days
 
We need a designer to help fix a rendering bug in #Miaou. If you do have an iPad come help at http://dystroy.org/miaou/8 If you don't please RT
lol :D
 
thanks everyone for helping me
 
3:52 PM
@Loktar right? I had a great time in nam
 
@SterlingArcher lol wtf
I didnt realize Halo had those kind of bullet physics
 
@SterlingArcher what do you think?
Do you think it's true?
 

« first day (1609 days earlier)      last day (3353 days later) »