ref: master
plugins/driven_signup/public/javascripts/driven_signup.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
driven_signup = { admin: { append: function(auth) { return $('#auth-new').before(auth) }, find: function(token) { return $('#driven-signup-tokens [data-token='+token+']') }, update: function(token, auth){ return this.find(token).replaceWith(auth) }, remove: function(token) { return this.find(token).remove() }, }, } |