Results 65 comments of Garito

Try this: ``` javascript var path = $scope.data.host + "/" + $scope.data.currentIndex + (($scope.data.currentType) ? "/" + $scope.data.currentType : "") + "/_search"; ```

Yeah Can you show an example? I thought this library's main point is to avoid the callback hell...

Hi! Thanks for your response but my issue is when I put this code in a function (the function's signature I guess?)

So how you plan to fill, for instance, the scanned available wifis so the user can choose?

That seems promising (an example of the usage and its almost a documentation. I suggest to follow up the wifi case) Now we only need to figure out the function...

A question before closing this issue: I would like the menu definition code inside a function Could you tell what return type should such function have? How to declare nav...

To ADD your custom code to the service-worker just import it with ```javascript importScripts ``` from the sw-precache-webpack-plugin

There are two things I don't like about how it's done right now: 1.- I want the same service worker for every configuration I have (dev & prod for start...