WinJS internals: WinJS.Namespace._lazy

In previous blog post I wrote about WinJS._Signal. Today, it’s going to be about another WinJS internal class WinJS.Namespace._lazy.   Problem statement  It’s very common for WWA projects to load many Javascript files (I’m worried to write almost all files) in the main application startup page, default.html. Problem with this approach is that it can…

1

WinJS internals: WinJS._Signal

WinJS contains several useful classes which are unfortunately hidden (starts with ‘_’). In this post we will look at one of them, WinJS._Signal.   A common usage of this class is to manage (completes, cancels, fails) the promise. The promise itself is simple concept. But sometimes it’s awkward to complete it.    Let’s see the…

0