locked
Binding global scope (not window) RRS feed

  • Question

  • Is there a way to bind to the global scope instead of "window"?

    I would like to have access to all variables declared in JS not only the ones defined in window scope.

    WinJS.Binding.processAll(element, globalScope); something like that.

    Right now, there is no way to bind to members of libraries like underscore (_.VERSION), moment (moment.version) that I would like to display in the about page

    Thursday, November 29, 2012 3:12 PM