src/common/js/winjs/js/base.js
function setState(state) {
        return function (job, arg0, arg1) {
            job._setState(state, arg0, arg1);
        };
    }
function setState(state) {
        return function (job, arg0, arg1) {
            job._setState(state, arg0, arg1);
        };
    }
function setState ( state ) { return function ( job , arg0 , arg1 ) { job . _setState ( state , arg0 , arg1 ) ; } ; }
Helper which yields a function that transitions to the specified state
Helper which yields a function that transitions to the specified state