js/myaction.js
/* Updates sum to current sum of all useractions' points. */
Updates sum to current sum of all useractions' points.
Updates sum to current sum of all useractions ' points .
function calculatePoint() {
    for(var i = 0; i < list.length; i++) {
        if(myAction[list[i]] == 2) {
            sum = sum + parseInt(pointRecord[list[i]]);
        }
    }
}
function calculatePoint ( ) { for ( var i = 0 ; i < list . length ; i ++ ) { if ( myAction [ list [ i ] ] == 2 ) { sum = sum + parseInt ( pointRecord [ list [ i ] ] ) ; } } }
Updates sum to current sum of all useractions' points.
Updates sum to current sum of all useractions ' points .