edhedges

Olathe, KS

edhedges.github.io

Age: 24

I like to code.

Aug
27
comment Responsive dropdown navbar with angular-ui bootstrap (done in the correct angular kind of way)
I didn't edit in time, but I changed <div class="collapse navbar-collapse" ng-class="{'in':!navCollapsed}"> to <div collapse="navCollapsed"> and the transition worked!
Aug
27
comment Responsive dropdown navbar with angular-ui bootstrap (done in the correct angular kind of way)
Can anyone get this to animate/transition like the normal dropdown?
Aug
26
revised Angular.JS: why can't the inputs be edited?
just a little formatting cleanup as well as making it valid markup.
Aug
26
comment How do I remove a list phrases from a string?
I'm not following what you are trying to accomplish. Could you post a little more information about what the desired inputs/outputs would look like?
Aug
26
revised Left navigation that's position fixed loses hover state on page scroll
small spelling corrections
Aug
22
comment Remove single class from element
What class are you trying to remove? It works like this: .removeClass('classToBeRemoved');
Aug
22
comment AngularJs -- Setting 'this' object within $http call in a controller?
@Ian Last comment for me, as I don't want this thread to get too lengthy, but thank you for that link. Since they are different I suggest that you modify your code vicjugador, but definitely understand what's going on because this will most likely pop up again as you write more JavaScript.
Aug
22
comment AngularJs -- Setting 'this' object within $http call in a controller?
@Ian I understand how it works, but I come from knockout and personally enjoy using this as well as enjoy the way the controllerAs syntax looks in the view. That being said if the difference is purely preference based I feel the answer to this particular question would be to explain what was actually happening.
Aug
22
comment AngularJs -- Setting 'this' object within $http call in a controller?
@Ian You are correct I've edited my answer.
Aug
22
revised AngularJs -- Setting 'this' object within $http call in a controller?
deleted 94 characters in body
Aug
22
comment AngularJs -- Setting 'this' object within $http call in a controller?
@Ian Is there a technical problem with using the controllerAs syntax? If not I don't see a problem with capturing the value of the controllers this value in a variable. Especially seeing as that is the real problem with the question.
Aug
22
answered AngularJs -- Setting 'this' object within $http call in a controller?
Aug
21
comment JavaScript function working in IE but not Firefox
Wrap all that in a simple if (records) { ... } so you actually have a value.
Aug
21
revised Simple pagination in javascript
added code to question in case pastebin goes down
Aug
16
comment Storing info, if Number is Float or Integer
possible duplicate of How to check if a number is float or integer?
Aug
2
revised How to implement pocketsphinx with windows 7 and eclipse ?Or how to use java sphinx speech recognition to android?
Cleaned up the command example without specific directories and wrapped it in a ticks
Jul
30
awarded Supporter
Jul
30
awarded Autobiographer
Jul
30
comment Tripadvisor widget is doing mess in my code and I cannot edit it
This isn't really a robust way of styling IMO. I do agree this should be done via styling or in the worst case scripting that modifies style, but there are better ways to implement it.
Jul
30
answered Tripadvisor widget is doing mess in my code and I cannot edit it
1 2 3 4 5