MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/4nckzl/jquery_30_released/d43d4zu
r/programming • u/[deleted] • Jun 09 '16
354 comments sorted by
View all comments
Show parent comments
95
It's this one
40 u/El_Impresionante Jun 10 '16 Guys, I wrote this function to jQuery to do just that. How do I get the jQuery devs to include it in the main library?function $_add(n1, n2) { result = null; $.ajax({ url : "https://www.google.com/search?q=" + n1.toString() + "%2B" + n2.toString(), context: document.body }) .done(function() { result = parseInt($(this).find("#cwcot").text()); }); return result; } 5 u/kirbyfan64sos Jun 10 '16 +1 Did not see this coming. At all. 5 u/tasty_cupcakes Jun 10 '16 Can you create a npm package for it? Thx, it's the last thing i need to finish my webscale pacemaker. 3 u/thrilldigger Jun 10 '16 /r/shittyprogramming would love this 22 u/sgraf812 Jun 10 '16 It's this one-1 not enough jQuery 14 u/sarmatron Jun 10 '16 StackOverflow does shitposts now? 30 u/[deleted] Jun 10 '16 It's not a real post, just a joke. 21 u/Arancaytar Jun 10 '16 Asked a while agoViewed some times 11 u/gliph Jun 10 '16 You can tell it's fake because it's not closed topic. 1 u/Fiennes Jun 10 '16 Nah - judging by the layout of the site, it looks pretty ancient. 1 u/[deleted] Jun 10 '16 thanks fellow peasant!! I didn't have to toil bcoz of you. 1 u/gerrywastaken Jun 10 '16 Haha, thank you, that's pretty great. 0 u/twiggy99999 Jun 10 '16 dying laughing at this
40
Guys, I wrote this function to jQuery to do just that. How do I get the jQuery devs to include it in the main library?
function $_add(n1, n2) { result = null; $.ajax({ url : "https://www.google.com/search?q=" + n1.toString() + "%2B" + n2.toString(), context: document.body }) .done(function() { result = parseInt($(this).find("#cwcot").text()); }); return result; }
5 u/kirbyfan64sos Jun 10 '16 +1 Did not see this coming. At all. 5 u/tasty_cupcakes Jun 10 '16 Can you create a npm package for it? Thx, it's the last thing i need to finish my webscale pacemaker. 3 u/thrilldigger Jun 10 '16 /r/shittyprogramming would love this
5
+1 Did not see this coming. At all.
Can you create a npm package for it? Thx, it's the last thing i need to finish my webscale pacemaker.
3
/r/shittyprogramming would love this
22
-1 not enough jQuery
14
StackOverflow does shitposts now?
30 u/[deleted] Jun 10 '16 It's not a real post, just a joke. 21 u/Arancaytar Jun 10 '16 Asked a while agoViewed some times 11 u/gliph Jun 10 '16 You can tell it's fake because it's not closed topic. 1 u/Fiennes Jun 10 '16 Nah - judging by the layout of the site, it looks pretty ancient.
30
It's not a real post, just a joke.
21 u/Arancaytar Jun 10 '16 Asked a while agoViewed some times
21
Asked a while ago
Viewed some times
11
You can tell it's fake because it's not closed topic.
1
Nah - judging by the layout of the site, it looks pretty ancient.
thanks fellow peasant!! I didn't have to toil bcoz of you.
Haha, thank you, that's pretty great.
0
dying laughing at this
95
u/[deleted] Jun 10 '16
It's this one