function resetSprint() {
        $('.js-resetSprint').click(function(){
            $('.js-resetSprint').addClass('hidden');
            $('.js-exportSprint').addClass('hidden');
            $('.resetConfirmation').removeClass('hidden');
            setTimeout(function(){
                resetFooter(false);
            }, 3000);
        })

        $('.js-resetConfirmation').click(function(){
            var tasks = {
                current: {
                    anyCurrent: false
                },
                oldTasks: [],
                lastTaskId: 0
            }
            chrome.storage.local.set({ 'tasks': tasks }, function () {
                checkTasks();
                resetFooter(true);
            });
        })

        $('.js-cancelReset').click(function() {
            resetFooter(false);
        })
    }
/**
     * move old task to current
     * @function resetSprint
     * @memberof popupjs
     */
move old task to current
@function resetSprint
@memberof popupjs
move old task to current @function resetSprint @memberof popupjs
function resetSprint() {
        $('.js-resetSprint').click(function(){
            $('.js-resetSprint').addClass('hidden');
            $('.js-exportSprint').addClass('hidden');
            $('.resetConfirmation').removeClass('hidden');
            setTimeout(function(){
                resetFooter(false);
            }, 3000);
        })
        $('.js-resetConfirmation').click(function(){
            var tasks = {
                current: {
                    anyCurrent: false
                },
                oldTasks: [],
                lastTaskId: 0
            }
            chrome.storage.local.set({ 'tasks': tasks }, function () {
                checkTasks();
                resetFooter(true);
            });
        })
        $('.js-cancelReset').click(function() {
            resetFooter(false);
        })
    }
function resetSprint ( ) { $ ( '.js-resetSprint' ) . click ( function ( ) { $ ( '.js-resetSprint' ) . addClass ( 'hidden' ) ; $ ( '.js-exportSprint' ) . addClass ( 'hidden' ) ; $ ( '.resetConfirmation' ) . removeClass ( 'hidden' ) ; setTimeout ( function ( ) { resetFooter ( false ) ; } , 3000 ) ; } ) $ ( '.js-resetConfirmation' ) . click ( function ( ) { var tasks = { current : { anyCurrent : false } , oldTasks : [ ] , lastTaskId : 0 } chrome . storage . local . set ( { 'tasks' : tasks } , function ( ) { checkTasks ( ) ; resetFooter ( true ) ; } ) ; } ) $ ( '.js-cancelReset' ) . click ( function ( ) { resetFooter ( false ) ; } ) }
move old task to current
 @function resetSprint
 @memberof popupjs
move old task to current @function resetSprint @memberof popupjs