Question1 question

Posts 14 of 4 · Page 1 of 1
1 question
Code:
App.library(function(e, t) {
    var n = {
        $points: t("#user-points")
    };
    n.updatePoints = function(t) {
        t = parseInt(t) || 0,
        e.user.points += t,
        e.user.points_formatted = e.formatCurrency(e.user.points),
        n.$points.html(e.user.points_formatted)
    }
    ,
    n.updatePoints(0),
    e.ui.user = n
})
Can someone explain this to me how this works?
that's not even java lol
oops probs javascript nvm :v
Quote Originally Posted by DreemCakes420 View Post
that's not even java lol
oops probs javascript nvm :v
.-. **10 chars
Looks like Angular JS, it will do nothing else then display a number Value in a Field with classname user-points
Posts 14 of 4 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?