swatkins

Norman, OK

mesonet.org

Age: 40

Interactive Web Developer at Oklahoma Mesonet

12h
awarded Autobiographer
12h
awarded Supporter
1d
awarded Enlightened
2d
awarded Nice Answer
Jun
30
awarded Autobiographer
Jun
16
comment PHP - possible to predefine a variable (not property of class) for use within a method?
I agree with TarranJones and deceze - the problem with using a third party framework is you are not the architect. If you want to make it easier on yourself, fork their copy of the framework and make the changes you need in order to use $this->data.
Jun
13
awarded javascript
Jun
12
comment Retrieve data with $http from authenticated server
Well, not a great way. Do you own the resource or is it third party?
Jun
12
comment nprogress pre-loader , dissableing my other plugin code
gave up on pace.js huh?
Jun
12
answered Unable to figure out jQuery deferred done
Jun
12
answered How to to run ajax request in loop only on success?
Jun
12
comment how to control the load speed of pace.js ?
Thanks and I hope it works for you. As far as the initialization - some scripts don't need manual initialization - you just include it and it does its thing. modernizr is like that - you just add the file and it handles the feature detection. A preloader makes sense this way as it should start before anything else. However, you do have the capability to control the preloader with Pace.track.
Jun
12
comment how to control the load speed of pace.js ?
Also, if you want your content to be invisible, then show up after it has been loaded, then add display:none or visibility: hidden to your css, then change that in the done callback for pace: Pace.on("done", myHandler);
Jun
12
comment how to control the load speed of pace.js ?
updated the fiddle with the configuration options, seems to work fine. jsfiddle.net/qw6rL75z/1
Jun
12
answered how to control the load speed of pace.js ?
Jun
12
comment how to control the load speed of pace.js ?
I'll move this to an answer. Maybe that will help
Jun
12
comment Angular Controller called twice
i'm at a loss. I would dig through the stack trace. You know about console.trace() right?
Jun
12
comment how to control the load speed of pace.js ?
did you see this page? seems pretty thorough to me... github.hubspot.com/pace
Jun
12
comment Angular Controller called twice
What is the purpose of class="app" in <div ui-view="" autoscroll="false" ng-class="app.views.animation" class="app"></div>? Could this be firing the controller twice? I don't know your entire architecture, but it seems the issue is created elsewhere. I'm basically shooting in the dark!
Jun
12
comment Angular Controller called twice
Is feed.html injected into app.html? can we see the contents of app.html?
1 2 3 4 5