« first day (1289 days earlier)      last day (3660 days later) » 
00:00 - 13:0013:00 - 00:00

12:05 AM
What The Fu..
471
A: How can I make a redirect page in jQuery/JavaScript?

Boris GuéryWARNING: This answer has been provided as a possible solution. Although, obviously, the pure JavaScript approach is the best one, as this requires jQuery. var url = "http://stackoverflow.com"; $(location).attr('href',url);

var url = "http://stackoverflow.com"; $(location).attr('href',url);
 
As you can see, vanilla is better.
 
Yum.
 
12:38 AM
Who the hell thinks that isn't close worthy :\
 
1:04 AM
2
Q: JavaScript .map on an array and removing items if condition satisifed

KoushaI have an array queue that I push objects to it when they are modified. If the user presses save, then I will loop through the queue and apply the appropriate API call for them. If the API call goes through successfully, I want to remove the item from the queue, otherwise keep it inside and not...

 
1:38 AM
Sigh… every day:
It may be, but abuse of javascript is never a good thing. — bjb568 4 mins ago
 
@bjb568 I assume not working with IE8 is fine for you?
 
Of course. And if it wasn't fine, I'd just include a polyfill. No jQ req'd.
 
how does a polyfill for CSS animations work?
 
Oh, for the animations? It doesn't. IE people don't deserve good things.
 
so... say, my boss wants full IE support. Should I go for javascript animations, or is it still abuse in your eyes?
 
1:46 AM
No, you should make a vanilla transition in 10 lines of code.
 
even if I'm already using jQuery???
 
I never use jQuery. Ever.
 
that doesn't mean you should call solutions involving jQuery bad.
 
Unless IE8 support is required, jQuery is already being used, and there is no CSS+polyfill solution, I am going to say it's bad.
 
speed isn't the only concern you should have.
jQuery is reasonably bugfree. Your own animation loop will take a while to debug.
 
1:51 AM
Speed isn't the only concern? Of course it isn't.
Why would my 10 lines of code "take a while to debug"? It isn't like it's a complicated task…
 
there are ways to get it wrong
you could stop too soon (and leave ghosts)
you could stop too late (opacity: 100.001%)
your animation loop could be delayed by lag or framerate-dependent
 
You can do all kinds of bad things, but it isn't that hard to do it right. For example, this complicated answer works in 14 lines, and it took about 10 minutes to make.
 
It took you 10 minutes. What about an average developer?
 
Average developers use jQuery. They think JS is a different language.
 
also, yours isn't exactly readable. I can't tell at first glance what it does
$(".error").hide(600) is 13 lines shorter and it's clear what it does.
 
1:58 AM
@JanDvorak Have you not heard of comments?
 
Your animation loop is framerate-dependent.
Your comments don't tell me what it is for
 
@JanDvorak No, it's 244,391 bytes of jQ.
@JanDvorak //This makes it scroll
 
@bjb568 but only one line of code that you have to debug
 
@JanDvorak Waste your user's time over your's? How selfish.
@JanDvorak I was assuming a non-ancient browser that could put up with it, and a nice framerate to not overload it.
 
@bjb568 developer time is not free
 
2:01 AM
@JanDvorak User time is to be respected.
 
@bjb568 Use CDN. The user won't notice any delay.
on the other hand, your animation loop is in no CDN whatsoever.
 
jQuery takes, lets say, 1 extra millisecond. 10 million users, 100 million transitions/day. Over one year of time wasted.
 
How much time per day is used up by flushing toilets?
 
A lot. That's why self-flushing toilettes are so popular in major stores. Because people value user's time. Besides, some people don't flush. Just like how some people (including me) can feel a sites lagginess and leave.
 
Let's say... 5 billion users, it takes several seconds to flush... you flush several times a day...
@bjb568 yet you still have to wait for the flushing cycle to complete
all that just to make the water inside a little less yellow.
 
2:10 AM
A wasted 1s in having to flush manually is 500 years of total wasted time per day.
 
see? How negligible compared to that is one year spent waiting for jQuery
 
@PaoloBernasconi 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.
 
also, I thought you were concerned about loading time, not execution time?
 
Both are important, but mostly the latter.
 
2:14 AM
@JanDvorak What does flushing toilets have to do with jQ? I have no control over 5 billion toilets.
 
@bjb568 then grab a different library. There are plenty of them.
 
@Jan Why? Why does a library make it any easier to write 14 lines of code?
 
@bjb568 Actually, I'm happy you don't.
@bjb568 because then you only have to write one line of code instead of 14
that's 13 lines of code saved, or 93% of lines
 
@JanDvorak That's good since I can't. But I can still help by not using jQ.
@JanDvorak No. That's thousands of lines of code that I have to understand, most of which are terribly obfuscated and very bad practice.
 
@bjb568 solution: learn the library from documentation, not from its source code.
and if you do want to read the source code, download the dev version. Don't try to even read the minified version.
Also, minification !== obfuscation
 
2:19 AM
@JanDvorak I'm a developer. I work with code. Of course I'll read and learn fro the docs, but I will still need to understand the inner working of it. Even if it's only to be sane (which it won't help, and is not the only reason in most cases(
 
What's your favorite food? Do you know how it's made?
 
accept the magic black box. it won't hurt you.
 
@JanDvorak Obfuscation = new (this.that.something.call(null,arguments[1337]))
 
@bjb568 this is not what those libraries are using, is it?
 
2:21 AM
@JanDvorak No, and I don't care. I don't know anything about food and don't want to.
 
@bjb568 yet you want to know everything about how libraries are made
 
No, I don't. I don't care, and will never use one.
map: function( callback ) {
return this.pushStack( jQuery.map(this, function( elem, i ) {
return callback.call( elem, i, elem );
}));
},
for ( ; i < length; i++ ) {
// Only deal with non-null/undefined values
if ( (options = arguments[ i ]) != null ) {
// Extend the base object
for ( name in options ) {
src = target[ name ];
copy = options[ name ];

// Prevent never-ending loop
if ( target === copy ) {
continue;
}

// Recurse if we're merging plain objects or arrays
if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) {
if ( copyIsArray ) {
copyIsArray = false;
clone = src && jQuery.isArray(src) ? src : [];
 
in a perfect world, all code would be written as efficiently as possible with elegant solutions for everything. the real world isn't like that. there's code written by shitty developers that you have to maintain, there's time constraints, there's shortcuts that have to be taken, compromises, to ultimately put out something that works. if the tool works for the job, why not use it?
 
@nderscore So I will do my best.
 
Unless you're running a really intensive web app where every last efficiency counts, then don't use jQuery. But for the wide majority of purposes it's used, it doesn't cause a significant enough drop in performance to matter. Sure, it's overkill in some cases, but it works. And at the end of the day that's all that matters.
 
2:24 AM
@bjb568 you don't want to use libraries because...
I assume that you write desktop applications in assembly, too?
 
@JanDvorak Because I can and will do a better job.
@JanDvorak No. If I had time, of course I would.
 
@bjb568 have you looked into asm.js?
Hmm... you don't have time to reimplement strcpy yet you have plenty of time to roll your own animation loop?
 
@JanDvorak That looks interesting.
I'm leaving. Please see vanilla-js.com
 
@bjb568 I'm telling you in advance: I don't want to read any of your code.
@bjb568 I know that. Don't use a pick-axe to pick your teeth, but don't use a toothpick to mine for diamonds
@bjb568 also, the code comparisons are really contrived to make jQuery look bad.
> (function fade(){(s.opacity-=.1)<0?s.display="none":setTimeout(fade,40)})();
WAT?
It's unreadable, and it's framerate-dependent.
 
Actually, I'm back. And that code looks perfectly readable to me, aside from the lack of whitespace.
@JanDvorak So is it legit to make a house out of toothpicks and marshmallows?
 
2:36 AM
"make an ajax call" - at this point, I'd like to bash the design decision that onReadyStateChange doesn't get any useful arguments whatsoever. Nor does onLoad.
@bjb568 I never said it was
 
@JanDvorak *starts crying about how the marshmallow and toothpick kinds will react to this abrupt news* And about my non-legit house. I love my house…
 
requestAnimationFrame or gtfo
 
You can still use toothpicks to build model houses
@nderscore yeah, because f* IE
@bjb568 I never technically said it wasn't ;-)
!!tell bjb format
 
@bjb Format your code - hit Ctrl+K before sending and see the faq
 
2:40 AM
I can't. It would make the reply thing not work.
@JanDvorak Oh, yeah. *stops crying*
@nderscore test
test
 
I got the ping. woo.
 
@Himal 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.
 
3:26 AM
hey guys
quick miserable adolescent question: what was the thing that for you (for what you can recall) ended your adolescential crisis?
 
...
I can't comment.
 
ok, at least the age or school time?
 
@t1wc: look at my profile.
 
is there some reasonable way to do an xhr request without jq or zepto that doesn't suck?
 
@Jehan: depends what you mean by "suck"
what do you need
 
3:29 AM
@OneKitten don't get it
 
just a simple api, no worrying about all the stuff in the xhr docs
callbacks would be nice
 
wait... it's the first moment I realize you're not someKittens
 
lol
 
wrong kittens
 
@OneKitten so, programming ended your crisis?
 
3:32 AM
@t1wc: no, the point was it never ended
 
don't care about all the old ie compatibility stuff
 
@OneKitten oh :P
guess I'll talk to the elders
noone seems to be around tho
 
@Jehan: I don't bother with the libs but I'll take a look for one, I remember a simple one that wasn't jquery
 
@zoukiny611 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.
 
maybe even just some decent docs on it
 
i find the mozilla ones a bit.. dense
oh nice i'll check that
 
some alternatives are listed there
 
thanks! this is a great site
i don't care about the headers in my server, do they matter in any other way?
like content-type tc
*etc
 
you mean the headers you send to the server?
 
yea
setRequestHeader('Content-type', 'application/x-www-form-urlencoded') and the like
 
3:37 AM
If you're posting something the default is already that afaik
 
will bad things happen if i try to put JSON in there?
i'll figure it out. thanks for your help!
 
@Jehan: yeah, you'd probably to have to set application/json on that though
 
@JanDvorak danke
I was getting around to that
 
3:57 AM
@BharatSoni 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.
@the_ 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.
@TechAgent 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.
 
Hi @CapricaSix, how to join the group... I don't see any join button here
 
4:20 AM
@ColeBusby 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.
 
4:33 AM
hi
how can I select all the values of this result?
$('#members_container > .member input[name]');
[
<input type=​"hidden" name=​"id" value=​"93">​
,
<input type=​"hidden" name=​"id" value=​"85">​
,
<input type=​"hidden" name=​"id" value=​"87">​
,
<input type=​"hidden" name=​"id" value=​"92">​
,
<input type=​"hidden" name=​"id" value=​"86">​
]
tried with jquery each but got 'undefined' everytime
 
5:28 AM
@KissKoppány try with $.map
 
 
1 hour later…
6:35 AM
0
Q: Chain promises/A+ in node.js

imslavkoTrying to understand the promises libraries in node.js and JavaScript in general I struggle to accomplish this example: make an http request to url1 if the result of that request is as expected, make an http request to url2 if successful, print the result of second request if any of those faile...

 
6:56 AM
hm, same with map
but solved my problem in other way, anyway thanks @JanDvorak
 
7:38 AM
@Olli 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.
 
Xsi
7:49 AM
What is the bleeding edge in web these days?
 
Ale
8:19 AM
Hai!
 
Good Morning
 
Good Morning @Connor though it is noon at my side
 
Ale
Wow, it's noon for me too, but never mind, I forgot it
 
but o_O
 
@Ale what's your timezone?
GMT+3?
 
@Ale thanks for info
 
Ale
UTC+4
So, okay, I'm here because of youmightneedjquery.com
Any ideas?
 
yours?
 
Ale
Nope
Just came across
 
8:33 AM
@Zirak That's awesome!
 
@Ale What ideas do you want?
 
Ale
@Connor Just wondering if jQuery is that bad
Apart from size etc
 
@Ale It's not bad, The way people treat it is bad
And the people it attracts are usually bad because they think they can jump straight in without learning js and flood Stackoverflow with "my jQuery not work, please fix" questions
It really depends what you're doing
 
@Zirak Damn, looks amazing. Might have to get this one
 
@Ale What browsers do you need to support?
 
Ale
8:40 AM
@Connor It depends. Basically I can break as many IEs as I want :P (And yes, I've heard of zepto.js)
 
@Ale I wouldn't suggest Zepto
Just make you're own dom utility
It's simple to start, then you add what you need
 
Ale
@Connor Yeah, that works too. In fact, querySelector is enough in 90% of cases for me. I were looking for some AJAX lib recently.
There is github.com/ded/Reqwest, but I dunno.
 
hello
 
@Ale here's a base-system like mine, jsbin.com/yezedaho/2/edit
now you've got the base it's so easy
you can now do this $('body > *').remove();
 
@MyoungHoonKim 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.
 
8:53 AM
@CapricaSix Not sure.
 
@Ale and this is how you would do a val();
proto.val = function(value){
  var setting = arguments.length isnt 0
  return this.execute({send: !setting}, function(node){
    return setting ? node.value = value : node.value;
  });
};
 
Ale
Hmm, looks interesting
 
$('#name, #age').val(); // example: ['john', '20'];
$('#name, #age').val('empty'); // $ Object chainable
$('#name').val(); // 'john'
Coffeescript rubbing off on me
proto.val = function(value){
  var setting = arguments.length !== 0
  return this.execute({send: !setting}, function(node){
    return setting ? node.value = value : node.value;
  });
};
That's correct
If you want me to explain execute() let me know
 
@Zirak Whoa. So cool!
 
@Connor $('#name, #age').val(); // example: ['john', '20']; -> nope
 
9:09 AM
good morning. Can anyone please help me to get on track with this one?
0
Q: Payload doesn't contain JSON

sandersI am trying to post my formdata via Ajax. But for some reason my payload is shown as a string and not as ajax: shopName=asfd&street=afs&houseNo=asf&zipcode=&city=&country=&phoneNumber=&fax=&email=&website= But it shouls appear as JSON. I have got no idea what could be wrong. The code I ha...

 
@gdoron I didn't put it in the fiddle
 
@Zirak That was really good
 
9:24 AM
 
9:36 AM
guys
 
@Kingisback where?
 
to stackoverflow :P
@JanDvorak can u pls look at this http://stackoverflow.com/questions/23319923/how-to-fetch-data-from-different-object-ids-for-the-single-account-user?noredirect=1#comment35704658_23319923
m stuck here
 
why me?
 
i guess u know abt nodejs n mongodb
 
err... no
 
9:42 AM
ok thnx
 
@Kingisback two ways I think
1/ You must insert the post in a postlist in james user
2/ you store james id in the post, to be able to make a link between james and the post
 
yes i did 2 option
 
But the seconds looks probably too SQL for me.
 
@dievardump so what wud b d best ?
 
9:49 AM
@Kingisback I'd start by starting to use words for communication
5
 
It is not the same thing, but the principle is exactly the same. (Aren't comments a sort of post?)
 
@Kingisback he wl hlp betr if u spk proply
 
I would use what the mongodb docs use.
 
@dievardump now i have added the _id of the james object in the every post .Can u pls tell how I'm gonna show all the post of james when he logins. I know i have to use find query but how?
 
@Kingisback Oh man RTFM! I just gave you a link that tells you how to do that.
 
9:53 AM
@JanDvorak thanks
yep Thanks a lot ! @dievardump
 
This question appears to be off-topic because it's answered by any tutorial or by having a look at the similar questions listed when writing the question. — dystroy 13 secs ago
cv-pls ^^
 
cc @dystroy
This question appears to be off-topic because it is a "plz send me the full codes" style question. — ThiefMaster ♦ 3 mins ago
 
Yes, I noticed that a mod thinks it's valid to close those questions now :)
 
10:13 AM
can anyone see a fault in this benchmark? Its results are surprising to me: stackoverflow.com/a/23321856/499214
 
I don't see any fault but I don't trust at all jsperfs. I only benchmark where it matters, that is in node, now.
This being said, there is a cost relative to looking in the external scope rather than in the local one. That's why I use prototype in my cache. And I did benchmark that seriously.
 
in Lounge<C++>, 9 hours ago, by rightfold
I abandon the project before performance becomes an issue.
 
can you reproduce the results?
 
^ wise words from lounge
also hi
 
hello
 
10:17 AM
@BartekBanachewicz Hu ? Just like "I never profile." ? ^^
@JanDvorak no, because I'll go prepare the déjeuner, now
 
@dystroy "... and let others find out that my code is abysmally slow, when I'm long gone", yeah.
anyway back to my DOM problem
 
Somebody who writes in C/C++ and doesn't care about perfs misses all the fun
 
@BenjaminGruenbaum said that DOM objects don't have reasonable guarantees, but what about jQuery objects?
 
What ?
 
what?
 
10:19 AM
@dystroy Most of the people in lounge write Haskell or C#, and the C++ is just for funsies so not in perf-critical situations either.
 
!!afk
 
\me joins the lounge
 
@JanDvorak he said that one of the reasons why DOM objects shouldn't be used for logic is the fact that they are not "objects" from JS standpoint
 
@BartekBanachewicz Use $('body').guarantee();
It's still in beta though
 
@BartekBanachewicz jQuery objects are true objects, but you still shouldn't use them to store data
 
10:21 AM
I was thinking about it, you know.
 
except there is $().data
 
I've came to a conclusion that the logic I would store in them is only present if the display layer is used.
 
what?
 
for example
 
yeah... dependency on specific DOM is a bad approach
 
10:22 AM
@JanDvorak I have a list of things, which might be expanded or not. I'd store the fact of expansion in the DOM, because it's part of the presenting it to the user, unrelated to data.
In a similar way, my blocks are stripped out of everything when they are to be compiled to working logic code.
 
no harm keeping it in memory, though
 
0
Q: how to time out a session and perform an action before timing out by acessing the session info?

Sylvia GeraldI am storing the items of shopping cart into a session array, but since the product ids and quantity is being stored on the client side , I can't perform a check on the quantity of items when a customer wants to add an item whose available quantity is already added to other customers carts. So I...

 
@RomanticElectron and what's that supposed to mean?
@JanDvorak Again, from a slightly different standpoint; if I changed my DOM, I'd lose only the pieces of "logic" that were specific to it anyway.
 
@BartekBanachewicz have you gone through the question?
 
@BartekBanachewicz that's true
 
10:26 AM
@RomanticElectron I confirmed it was indeed about PHP and hence completely aside of my interests.
 
@BartekBanachewicz most of js programmers here program php as well, so I thought may be they are of help
 
@RomanticElectron ... no
 
@RomanticElectron If I were a serious JS developer I'd feel insulted for throwing me in the PHP bucket.
 
@BartekBanachewicz ok i m mistaken ... can someone delete that question from here
 
you can, for one.
 
10:29 AM
@BartekBanachewicz jQuery sets have more reasonable guarantees and are more predictable (for example, they're never "live"), but storing data on them is just as bad.
 
@BenjaminGruenbaum what about $.data?
 
@JanDvorak what about it?
 
@BartekBanachewicz how do i delete it?
 
Storing data in the presentation layer is only ok if that data is presentation?
 
@BenjaminGruenbaum is it bad to use the setter signature?
 
10:30 AM
@RomanticElectron what OS are you using?
 
@RomanticElectron click on the arrow on the left
 
@JanDvorak .data has use cases, but they are a lot fewer than people use it for.
 
it doesnt give me an option to delete rather it says flag
 
@BenjaminGruenbaum which is the same that can be said about eval and document.write? :-)
 
@RomanticElectron ah too late
 
10:32 AM
@BartekBanachewicz hmm i guess
 
nevermind
 
@JanDvorak sure
 
thanks.
 
welp, let's try if that works
 
10:43 AM
grawfhas
if I use an object as a hashmap, I lose map
where's that weakmap again
oh wait WeakMap doesn't have that either
you gotta be kidding me
 
@BartekBanachewicz: what's the issue?
 
@OneKitten I wanted an associative container
that supplies basic operations, like insert, remove and map
and some form of retrieving single element
 
@BartekBanachewicz: so basically like Map?
 
@OneKitten yeah, but that's not in "standard library", I guess.
var objects = {};
objects.map = function (fn) {
    for (var object in objects) {
        yield return fn(object);
    }
};
At least I can dream that would work :F
@OneKitten might as well uncomment Traceur again
 
yield? You using node or what
 
10:51 AM
48 secs ago, by Bartek Banachewicz
At least I can dream that would work :F
I've learned how C# does that and liked it quite a lot.
but apparently generators from ES6 require some weird shenanigans to work
var gen = idMaker();

console.log(gen.next().value); // 0
 
bleugh
 
IKR
apparently someone overlooked the fact that some people might want non-infinite generators
 
11:04 AM
@BartekBanachewicz what would mapping on an object do? Map its keys?
 
@BenjaminGruenbaum map :: (a -> b) -> [a] -> [b]
 
@BenjaminGruenbaum map its key-value pairs
 
anyway my map lists itself
lays down and cries
 
@BartekBanachewicz I know what a map does... I'm asking what you'd expect it to map? The values?
 
@BenjaminGruenbaum pairs, obviously
 
11:06 AM
Ah, you want to apply fn to (K,V) ?
 
So, something like:
 
objects.map = function (fn) {
    var result = [];
    for (var objectName in objects) {
        var object = objects[objectName];
        result.push(fn(object));
    }
    return result;
};
that's my amazing borked implementation that doesn't work
 
function map(o, fn){
    return Object.keys(o).map(function(k){ return {k:fn(k),v:fn(o[k])}});
}
Or do you want an object back?
 
where is the key ?
 
11:09 AM
Or, do you want to just map on the values? Because that's not what you earlier
!!> Object.prototype.map = (f) => Object.keys(this).map(f); ({x:3,y:5}).map(x => x+1);
 
@BenjaminGruenbaum isn't a map more like an array? like result[fn(k)] = fn(o[k]); ?
 
@BenjaminGruenbaum ["global1","whitey1","exec1","console1"]
 
lol haha
@dievardump not sure how you'd map an object, you can map its values, or whatever.
 
@BenjaminGruenbaum what
 
Yeah, that doesn't make sense, can you show me example in and out?
 
11:11 AM
@BenjaminGruenbaum so it does what mine, but is just a free function?
 
Kind of, yeah. If you use a Map you can stick it on Map.prototype , but that requires the shim or a new browser.
 
@BenjaminGruenbaum I can use Traceur, if that helps.
but ICBA to write shims
 
!!urban ICBA
 
@FlorianMargaine [ICBA](http://icba.urbanup.com/3127481) An acronym for International Cock Blocking Association

It can be used to describe all the people in the world, who really cock block, or just random people out of nowhere who unexpectedly cock block with you and you significant other. It's an association as well because they all do the same thing: cock block.

Also, since calling someone out to be a cock blocker is too forward or you just don't want to say it out aloud, it can be used in code.
 
@BartekBanachewicz I'm not sure that's what you meant ^
 
11:17 AM
Nice one.
 
@praveen 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.
 
cockblocker, what a lovely word. My new favorite word. Procrastinate is now second.
 
@FlorianMargaine lol
 
@bme 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.
 
 
2 hours later…
12:59 PM
0
Q: how to use geocoding for googlemaps?

user603007I am trying to get geocoding with googlemaps working. The problem I have is that the Geocoder in my code has not returned before centering the map again: GeoCoder.getLocations($scope.address).then(function(results) { var latLng = results[0].geometry.location; $scope.center = { lat...

 
00:00 - 13:0013:00 - 00:00

« first day (1289 days earlier)      last day (3660 days later) »