Download:
child 156:35a33599667b
parent 154:79704a09a39d
155:89f02b4d8280
Anton Shestakov <av6@dwimlabs.net>, Fri, 15 Apr 2016 23:10:28 +0800
register: rename vCard-related things to use the more general "profile"

4 файлов изменено, 22 вставок(+), 24 удалений(-) [+]
coffee/register.coffee file | annotate | diff | comparison | revisions
js/register.js file | annotate | diff | comparison | revisions
js/register.js.map file | annotate | diff | comparison | revisions
register.html file | annotate | diff | comparison | revisions
--- a/coffee/register.coffee Fri Apr 15 21:57:27 2016 +0800
+++ b/coffee/register.coffee Fri Apr 15 23:10:28 2016 +0800
@@ -31,7 +31,7 @@
window.regData = new RegistrationData()
-window.vcData = new ProfileData()
+window.profileData = new ProfileData()
registerfn = ->
@@ -42,18 +42,17 @@
savefn = ->
data =
- fullname: vcData.get('fullname').trim()
- nickname: vcData.get('nickname').trim()
+ fullname: profileData.get('fullname').trim()
+ nickname: profileData.get('nickname').trim()
okcb = ->
clientState.set('progress', 100)
- console.debug('vcard is set!', arguments)
- $('[data-step="vcard"]').addClass('uk-hidden')
+ $('[data-step="profile"]').addClass('uk-hidden')
location.href = '/'
failcb = ->
clientState.unset('progress')
- console.warn('vcard is NOT set!', arguments)
+ console.warn('profile is NOT set!', arguments)
$('[data-msg="save-failed"]').removeClass('uk-hidden')
file = $('#avatar').get(0).files[0]
@@ -74,7 +73,7 @@
window.regRivet = rivets.bind($('[data-form="registration"]'), data: regData, register: registerfn)
-window.vcRivet = rivets.bind($('[data-form="vcard"]'), data: vcData, save: savefn, cancel: cancelfn)
+window.profileRivet = rivets.bind($('[data-form="profile"]'), data: profileData, save: savefn, cancel: cancelfn)
window.X = new Tram.XMPPInterface()
@@ -102,8 +101,8 @@
X.on 'connected', ->
- vcData.set('nickname', regData.get('username').trim())
- $('[data-step="vcard"]').removeClass('uk-hidden')
+ profileData.set('nickname', regData.get('username').trim())
+ $('[data-step="profile"]').removeClass('uk-hidden')
$('#fullname').focus()
@@ -124,7 +123,7 @@
X.startRegistration()
-$('[data-form="registration"], [data-form="vcard"]').each ->
+$('[data-form="registration"], [data-form="profile"]').each ->
$form = $(@)
$form.find('input').on 'keydown', (e) ->
if (not @required or @value isnt '') and e.keyCode is 13
--- a/js/register.js Fri Apr 15 21:57:27 2016 +0800
+++ b/js/register.js Fri Apr 15 23:10:28 2016 +0800
@@ -66,7 +66,7 @@
window.regData = new RegistrationData();
- window.vcData = new ProfileData();
+ window.profileData = new ProfileData();
registerfn = function() {
if (regData.isValid()) {
@@ -78,18 +78,17 @@
savefn = function() {
var data, failcb, file, okcb, reader;
data = {
- fullname: vcData.get('fullname').trim(),
- nickname: vcData.get('nickname').trim()
+ fullname: profileData.get('fullname').trim(),
+ nickname: profileData.get('nickname').trim()
};
okcb = function() {
clientState.set('progress', 100);
- console.debug('vcard is set!', arguments);
- $('[data-step="vcard"]').addClass('uk-hidden');
+ $('[data-step="profile"]').addClass('uk-hidden');
return location.href = '/';
};
failcb = function() {
clientState.unset('progress');
- console.warn('vcard is NOT set!', arguments);
+ console.warn('profile is NOT set!', arguments);
return $('[data-msg="save-failed"]').removeClass('uk-hidden');
};
file = $('#avatar').get(0).files[0];
@@ -118,8 +117,8 @@
register: registerfn
});
- window.vcRivet = rivets.bind($('[data-form="vcard"]'), {
- data: vcData,
+ window.profileRivet = rivets.bind($('[data-form="profile"]'), {
+ data: profileData,
save: savefn,
cancel: cancelfn
});
@@ -148,8 +147,8 @@
});
X.on('connected', function() {
- vcData.set('nickname', regData.get('username').trim());
- $('[data-step="vcard"]').removeClass('uk-hidden');
+ profileData.set('nickname', regData.get('username').trim());
+ $('[data-step="profile"]').removeClass('uk-hidden');
return $('#fullname').focus();
});
@@ -170,7 +169,7 @@
X.startRegistration();
- $('[data-form="registration"], [data-form="vcard"]').each(function() {
+ $('[data-form="registration"], [data-form="profile"]').each(function() {
var $form;
$form = $(this);
return $form.find('input').on('keydown', function(e) {
--- a/js/register.js.map Fri Apr 15 21:57:27 2016 +0800
+++ b/js/register.js.map Fri Apr 15 23:10:28 2016 +0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>
- <div class="uk-form uk-form-horizontal uk-hidden" data-step="vcard" data-form="vcard">
+ <div class="uk-form uk-form-horizontal uk-hidden" data-step="profile" data-form="profile">
<div class="uk-form-row">
<label for="fullname" class="uk-form-label">Full Name</label>
<div class="uk-form-controls">
@@ -102,7 +102,7 @@
</div>
</div>
- <div class="uk-alert uk-alert-danger uk-hidden" data-msg="save-failed">Couldn't save the vCard.</div>
+ <div class="uk-alert uk-alert-danger uk-hidden" data-msg="save-failed">Couldn't save profile.</div>
</div>
<script src='/js/tram.js'></script>