Download:
child 170:584e37c0b89c
parent 168:dbf343181ca1
169:4cebef28d40b
Anton Shestakov <av6@dwimlabs.net>, Sun, 17 Apr 2016 07:39:05 +0800
forms: move forms to a separate file

11 файлов изменено, 256 вставок(+), 254 удалений(-) [+]
coffee/forms.coffee file | annotate | diff | comparison | revisions
coffee/index.coffee file | annotate | diff | comparison | revisions
coffee/register.coffee file | annotate | diff | comparison | revisions
index.html file | annotate | diff | comparison | revisions
js/forms.js file | annotate | diff | comparison | revisions
js/forms.js.map file | annotate | diff | comparison | revisions
js/index.js file | annotate | diff | comparison | revisions
js/index.js.map 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
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/coffee/forms.coffee Sun Apr 17 07:39:05 2016 +0800
@@ -0,0 +1,69 @@
+class Tram.RegistrationForm extends Backbone.Model
+ defaults:
+ username: ''
+ password1: ''
+ password2: ''
+
+ validate: (attrs, options) ->
+ @unset('username-errors')
+ @unset('password1-errors')
+ @unset('password2-errors')
+ if (attrs.username ? '').trim() is ''
+ @set('username-errors', ['This field is required.'])
+ if (attrs.password1 ? '') is ''
+ @set('password1-errors', ['This field is required.'])
+ if (attrs.password1 ? '') isnt (attrs.password2 ? '')
+ @set('password2-errors', ['Passwords must match.'])
+ else if (attrs.password2 ? '') is ''
+ @set('password2-errors', ['This field is required.'])
+ return @has('username-errors') or @has('password1-errors') or @has('password2-errors')
+
+
+class Tram.ProfileForm extends Backbone.Model
+ defaults:
+ fullname: ''
+ nickname: ''
+ avatar: ''
+
+ validate: (attrs, options) ->
+ @unset('avatar-errors')
+ ae = []
+ file = $('#avatar').get(0).files[0]
+ if file?
+ if not file.type.match('image/.*')?
+ ae.push("File doesn't look like an image.")
+ if file.size > 64 * 1024
+ ae.push('File is too big.')
+ if ae.length > 0
+ @set('avatar-errors', ae)
+ return @has('avatar-errors')
+
+
+class Tram.ConnectionForm extends Backbone.Model
+ defaults:
+ username: ''
+ password: ''
+
+ validate: (attrs, options) ->
+ @unset('username-errors')
+ @unset('password-errors')
+ @unset('auth-errors')
+ if (attrs.username ? '').trim() is ''
+ @set('username-errors', ['This field is required.'])
+ if (attrs.password ? '') is ''
+ @set('password-errors', ['This field is required.'])
+ return @has('username-errors') or @has('password-errors')
+
+
+$.fn.streamline = ->
+ @each ->
+ $form = $(@)
+ $form.find('input').on 'keydown', (e) ->
+ if (not @required or @value isnt '') and e.keyCode is 13
+ e.preventDefault()
+ index = $form.find('input').index(@)
+ $next = $form.find('input').eq(index + 1)
+ if $next.length isnt 0
+ $next.focus()
+ else
+ $form.find('button').trigger('click')
--- a/coffee/index.coffee Sat Apr 16 23:50:55 2016 +0800
+++ b/coffee/index.coffee Sun Apr 17 07:39:05 2016 +0800
@@ -620,11 +620,11 @@
X.on 'connecting', ->
- connData.unset('auth-errors')
+ connForm.unset('auth-errors')
X.on 'authfail', ->
- connData.set('auth-errors', ['Invalid username or password.'])
+ connForm.set('auth-errors', ['Invalid username or password.'])
X.on 'disconnected', ->
@@ -653,45 +653,21 @@
X.disconnect('Window closed')
-class ConnectionData extends Backbone.Model
- defaults:
- username: ''
- password: ''
-
- validate: (attrs, options) ->
- @unset('username-errors')
- @unset('password-errors')
- @unset('auth-errors')
- if (attrs.username ? '').trim() is ''
- @set('username-errors', ['This field is required.'])
- if (attrs.password ? '') is ''
- @set('password-errors', ['This field is required.'])
- return @has('username-errors') or @has('password-errors')
-
-
-window.connData = new ConnectionData()
+window.connForm = new Tram.ConnectionForm()
connectfn = ->
- if connData.isValid()
- X.connect(connData.get('username').trim(), connData.get('password'))
+ if connForm.isValid()
+ X.connect(connForm.get('username').trim(), connForm.get('password'))
$form = $('[data-form="connect"]')
-window.connRivet = rivets.bind($form, data: connData, connect: connectfn)
+$form.streamline()
-$form.find('input').on 'keydown', (e) ->
- if (not @required or @value isnt '') and e.keyCode is 13
- e.preventDefault()
- index = $form.find('input').index(@)
- $next = $form.find('input').eq(index + 1)
- if $next.length isnt 0
- $next.focus()
- else
- $form.find('button').trigger('click')
+window.connRivet = rivets.bind($form, data: connForm, connect: connectfn)
sendMessage = ->
--- a/coffee/register.coffee Sat Apr 16 23:50:55 2016 +0800
+++ b/coffee/register.coffee Sun Apr 17 07:39:05 2016 +0800
@@ -2,64 +2,23 @@
window.progressApp = new Tram.ProgressApp(el: $('[data-app="progress"]'), model: clientState)
-class RegistrationData extends Backbone.Model
- defaults:
- username: ''
- password1: ''
- password2: ''
-
- validate: (attrs, options) ->
- @unset('username-errors')
- @unset('password1-errors')
- @unset('password2-errors')
- if (attrs.username ? '').trim() is ''
- @set('username-errors', ['This field is required.'])
- if (attrs.password1 ? '') is ''
- @set('password1-errors', ['This field is required.'])
- if (attrs.password1 ? '') isnt (attrs.password2 ? '')
- @set('password2-errors', ['Passwords must match.'])
- else if (attrs.password2 ? '') is ''
- @set('password2-errors', ['This field is required.'])
- return @has('username-errors') or @has('password1-errors') or @has('password2-errors')
-
-
-class ProfileData extends Backbone.Model
- defaults:
- fullname: ''
- nickname: ''
- avatar: ''
-
- validate: (attrs, options) ->
- @unset('avatar-errors')
- ae = []
- file = $('#avatar').get(0).files[0]
- if file?
- if not file.type.match('image/.*')?
- ae.push("File doesn't look like an image.")
- if file.size > 64 * 1024
- ae.push('File is too big.')
- if ae.length > 0
- @set('avatar-errors', ae)
- return @has('avatar-errors')
-
-
-window.regData = new RegistrationData()
-window.profileData = new ProfileData()
+window.regForm = new Tram.RegistrationForm()
+window.profileForm = new Tram.ProfileForm()
registerfn = ->
- if regData.isValid()
+ if regForm.isValid()
clientState.set('progress', 0)
- X.register(regData.get('username').trim(), regData.get('password1'))
+ X.register(regForm.get('username').trim(), regForm.get('password1'))
savefn = ->
- if not profileData.isValid()
+ if not profileForm.isValid()
return
data =
- fullname: profileData.get('fullname').trim()
- nickname: profileData.get('nickname').trim()
+ fullname: profileForm.get('fullname').trim()
+ nickname: profileForm.get('nickname').trim()
okcb = ->
clientState.set('progress', 100)
@@ -88,8 +47,8 @@
X.unregister()
-window.regRivet = rivets.bind($('[data-form="registration"]'), data: regData, register: registerfn)
-window.profileRivet = rivets.bind($('[data-form="profile"]'), data: profileData, save: savefn, cancel: cancelfn)
+window.regRivet = rivets.bind($('[data-form="registration"]'), data: regForm, register: registerfn)
+window.profileRivet = rivets.bind($('[data-form="profile"]'), data: profileForm, save: savefn, cancel: cancelfn)
window.X = new Tram.XMPPInterface()
@@ -109,7 +68,7 @@
X.on 'conflict', ->
- regData.set('username-errors', ['A user with this username already exists.'])
+ regForm.set('username-errors', ['A user with this username already exists.'])
X.on 'notacceptable', ->
@@ -117,7 +76,7 @@
X.on 'connected', ->
- profileData.set('nickname', regData.get('username').trim())
+ profileForm.set('nickname', regForm.get('username').trim())
$('[data-step="profile"]').removeClass('uk-hidden')
$('#fullname').focus()
@@ -139,14 +98,4 @@
X.startRegistration()
-$('[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
- e.preventDefault()
- index = $form.find('input').index(@)
- $next = $form.find('input').eq(index + 1)
- if $next.length isnt 0
- $next.focus()
- else
- $form.find('button').trigger('click')
+$('[data-form="registration"], [data-form="profile"]').streamline()
--- a/index.html Sat Apr 16 23:50:55 2016 +0800
+++ b/index.html Sun Apr 17 07:39:05 2016 +0800
@@ -313,6 +313,7 @@
<script src='/js/favicon.js'></script>
<script src='/js/sidebar.js'></script>
<script src='/js/progress.js'></script>
+ <script src='/js/forms.js'></script>
<script src='/config.js'></script>
<script src='/js/index.js'></script>
<script>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/js/forms.js Sun Apr 17 07:39:05 2016 +0800
@@ -0,0 +1,130 @@
+// Generated by CoffeeScript 1.10.0
+(function() {
+ var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
+ hasProp = {}.hasOwnProperty;
+
+ Tram.RegistrationForm = (function(superClass) {
+ extend(RegistrationForm, superClass);
+
+ function RegistrationForm() {
+ return RegistrationForm.__super__.constructor.apply(this, arguments);
+ }
+
+ RegistrationForm.prototype.defaults = {
+ username: '',
+ password1: '',
+ password2: ''
+ };
+
+ RegistrationForm.prototype.validate = function(attrs, options) {
+ var ref, ref1, ref2, ref3, ref4;
+ this.unset('username-errors');
+ this.unset('password1-errors');
+ this.unset('password2-errors');
+ if (((ref = attrs.username) != null ? ref : '').trim() === '') {
+ this.set('username-errors', ['This field is required.']);
+ }
+ if (((ref1 = attrs.password1) != null ? ref1 : '') === '') {
+ this.set('password1-errors', ['This field is required.']);
+ }
+ if (((ref2 = attrs.password1) != null ? ref2 : '') !== ((ref3 = attrs.password2) != null ? ref3 : '')) {
+ this.set('password2-errors', ['Passwords must match.']);
+ } else if (((ref4 = attrs.password2) != null ? ref4 : '') === '') {
+ this.set('password2-errors', ['This field is required.']);
+ }
+ return this.has('username-errors') || this.has('password1-errors') || this.has('password2-errors');
+ };
+
+ return RegistrationForm;
+
+ })(Backbone.Model);
+
+ Tram.ProfileForm = (function(superClass) {
+ extend(ProfileForm, superClass);
+
+ function ProfileForm() {
+ return ProfileForm.__super__.constructor.apply(this, arguments);
+ }
+
+ ProfileForm.prototype.defaults = {
+ fullname: '',
+ nickname: '',
+ avatar: ''
+ };
+
+ ProfileForm.prototype.validate = function(attrs, options) {
+ var ae, file;
+ this.unset('avatar-errors');
+ ae = [];
+ file = $('#avatar').get(0).files[0];
+ if (file != null) {
+ if (file.type.match('image/.*') == null) {
+ ae.push("File doesn't look like an image.");
+ }
+ if (file.size > 64 * 1024) {
+ ae.push('File is too big.');
+ }
+ }
+ if (ae.length > 0) {
+ this.set('avatar-errors', ae);
+ }
+ return this.has('avatar-errors');
+ };
+
+ return ProfileForm;
+
+ })(Backbone.Model);
+
+ Tram.ConnectionForm = (function(superClass) {
+ extend(ConnectionForm, superClass);
+
+ function ConnectionForm() {
+ return ConnectionForm.__super__.constructor.apply(this, arguments);
+ }
+
+ ConnectionForm.prototype.defaults = {
+ username: '',
+ password: ''
+ };
+
+ ConnectionForm.prototype.validate = function(attrs, options) {
+ var ref, ref1;
+ this.unset('username-errors');
+ this.unset('password-errors');
+ this.unset('auth-errors');
+ if (((ref = attrs.username) != null ? ref : '').trim() === '') {
+ this.set('username-errors', ['This field is required.']);
+ }
+ if (((ref1 = attrs.password) != null ? ref1 : '') === '') {
+ this.set('password-errors', ['This field is required.']);
+ }
+ return this.has('username-errors') || this.has('password-errors');
+ };
+
+ return ConnectionForm;
+
+ })(Backbone.Model);
+
+ $.fn.streamline = function() {
+ return this.each(function() {
+ var $form;
+ $form = $(this);
+ return $form.find('input').on('keydown', function(e) {
+ var $next, index;
+ if ((!this.required || this.value !== '') && e.keyCode === 13) {
+ e.preventDefault();
+ index = $form.find('input').index(this);
+ $next = $form.find('input').eq(index + 1);
+ if ($next.length !== 0) {
+ return $next.focus();
+ } else {
+ return $form.find('button').trigger('click');
+ }
+ }
+ });
+ });
+ };
+
+}).call(this);
+
+//# sourceMappingURL=forms.js.map
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/js/forms.js.map Sun Apr 17 07:39:05 2016 +0800
@@ -0,0 +1,10 @@
+{
+ "version": 3,
+ "file": "forms.js",
+ "sourceRoot": "..",
+ "sources": [
+ "coffee/forms.coffee"
+ ],
+ "names": [],
+ "mappings": ";AAAA;AAAA,MAAA;;;EAAM,IAAI,CAAC;;;;;;;+BACT,QAAA,GACE;MAAA,QAAA,EAAU,EAAV;MACA,SAAA,EAAW,EADX;MAEA,SAAA,EAAW,EAFX;;;+BAIF,QAAA,GAAU,SAAC,KAAD,EAAQ,OAAR;AACR,UAAA;MAAA,IAAC,CAAA,KAAD,CAAO,iBAAP;MACA,IAAC,CAAA,KAAD,CAAO,kBAAP;MACA,IAAC,CAAA,KAAD,CAAO,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A0B,IAA1B;UACR,KAAA,GAAQ,KAAK,CAAC,IAAN,CAAW,OAAX,CAAmB,CAAC,EAApB,CAAuB,KAAA,GAAQ,CAA/B;UACR,IAAG,KAAK,CAAC,MAAN,KAAkB,CAArB;mBACE,KAAK,CAAC,KAAN,CAAA,EADF;WAAA,MAAA;mBAGE,KAAK,CAAC,IAAN,CAAW,QAAX,CAAoB,CAAC,OAArB,CAA6B,OAA7B,EAHF;WAJF;;MADgC,CAAlC;IAFI,CAAN;EADgB;AAzDlB"
+}
\ No newline at end of file
--- a/js/index.js Sat Apr 16 23:50:55 2016 +0800
+++ b/js/index.js Sun Apr 17 07:39:05 2016 +0800
@@ -1,9 +1,7 @@
// Generated by CoffeeScript 1.10.0
(function() {
- var $form, ConnectionData, _saveCapsCache, _saveSettings, connectfn, enableCarbons, getChat, getClientInfo, getContact, getContactProfile, getServerInfo, getServerVersion, getStamp, getText, loadCapsCache, loadSettings, onChatMessage, onChatState, onConnected, onDisconnected, onGetLast, onGetTime, onGetVersion, onPing, onPresence, onWebRTC, saveCapsCache, saveSettings, sendMessage,
- indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; },
- extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
- hasProp = {}.hasOwnProperty;
+ var $form, _saveCapsCache, _saveSettings, connectfn, enableCarbons, getChat, getClientInfo, getContact, getContactProfile, getServerInfo, getServerVersion, getStamp, getText, loadCapsCache, loadSettings, onChatMessage, onChatState, onConnected, onDisconnected, onGetLast, onGetTime, onGetVersion, onPing, onPresence, onWebRTC, saveCapsCache, saveSettings, sendMessage,
+ indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
Strophe.addNamespace('CAPS', 'http://jabber.org/protocol/caps');
@@ -771,11 +769,11 @@
window.X = new Tram.XMPPInterface();
X.on('connecting', function() {
- return connData.unset('auth-errors');
+ return connForm.unset('auth-errors');
});
X.on('authfail', function() {
- return connData.set('auth-errors', ['Invalid username or password.']);
+ return connForm.set('auth-errors', ['Invalid username or password.']);
});
X.on('disconnected', function() {
@@ -805,63 +803,21 @@
return X.disconnect('Window closed');
});
- ConnectionData = (function(superClass) {
- extend(ConnectionData, superClass);
-
- function ConnectionData() {
- return ConnectionData.__super__.constructor.apply(this, arguments);
- }
-
- ConnectionData.prototype.defaults = {
- username: '',
- password: ''
- };
-
- ConnectionData.prototype.validate = function(attrs, options) {
- var ref, ref1;
- this.unset('username-errors');
- this.unset('password-errors');
- this.unset('auth-errors');
- if (((ref = attrs.username) != null ? ref : '').trim() === '') {
- this.set('username-errors', ['This field is required.']);
- }
- if (((ref1 = attrs.password) != null ? ref1 : '') === '') {
- this.set('password-errors', ['This field is required.']);
- }
- return this.has('username-errors') || this.has('password-errors');
- };
-
- return ConnectionData;
-
- })(Backbone.Model);
-
- window.connData = new ConnectionData();
+ window.connForm = new Tram.ConnectionForm();
connectfn = function() {
- if (connData.isValid()) {
- return X.connect(connData.get('username').trim(), connData.get('password'));
+ if (connForm.isValid()) {
+ return X.connect(connForm.get('username').trim(), connForm.get('password'));
}
};
$form = $('[data-form="connect"]');
- window.connRivet = rivets.bind($form, {
- data: connData,
- connect: connectfn
- });
+ $form.streamline();
- $form.find('input').on('keydown', function(e) {
- var $next, index;
- if ((!this.required || this.value !== '') && e.keyCode === 13) {
- e.preventDefault();
- index = $form.find('input').index(this);
- $next = $form.find('input').eq(index + 1);
- if ($next.length !== 0) {
- return $next.focus();
- } else {
- return $form.find('button').trigger('click');
- }
- }
+ window.connRivet = rivets.bind($form, {
+ data: connForm,
+ connect: connectfn
});
sendMessage = function() {
--- a/js/index.js.map Sat Apr 16 23:50:55 2016 +0800
+++ b/js/index.js.map Sun Apr 17 07:39:05 2016 +0800
@@ -6,5 +6,5 @@
"coff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AwB,eAAxB,EAAyC,SAAA;WACvC,MAAM,CAAC,YAAP,GAAsB,MAAM,CAAC,IAAP,CAAY,CAAA,CAAE,sBAAF,CAAZ,EAAuC;MAAA,OAAA,EAAS,QAAQ,CAAC,GAAT,CAAa,CAAC,CAAC,IAAI,CAAC,GAApB,CAAT;KAAvC;EADiB,CAAzC;;EAIA,MAAM,CAAC,WAAP,CAAmB,SAAA;WACjB,CAAA,CAAE,gBAAF,CAAmB,CAAC,IAApB,CAAyB,SAAA;AACvB,UAAA;MAAA,KAAA,GAAQ,CAAA,CAAE,IAAF;aACR,KAAK,CAAC,IAAN,CAAW,MAAA,CAAO,KAAK,CAAC,IAAN,CAAW,UAAX,CAAP,CAA8B,CAAC,OAA/B,CAAA,CAAX;IAFuB,CAAzB;EADiB,CAAnB,EAIE,EAAA,GAAK,IAJP;AAnuBA"
}
\ No newline at end of file
--- a/js/register.js Sat Apr 16 23:50:55 2016 +0800
+++ b/js/register.js Sun Apr 17 07:39:05 2016 +0800
@@ -1,8 +1,6 @@
// Generated by CoffeeScript 1.10.0
(function() {
- var ProfileData, RegistrationData, cancelfn, registerfn, savefn,
- extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
- hasProp = {}.hasOwnProperty;
+ var cancelfn, registerfn, savefn;
window.clientState = new Tram.ClientState();
@@ -11,97 +9,25 @@
model: clientState
});
- RegistrationData = (function(superClass) {
- extend(RegistrationData, superClass);
-
- function RegistrationData() {
- return RegistrationData.__super__.constructor.apply(this, arguments);
- }
-
- RegistrationData.prototype.defaults = {
- username: '',
- password1: '',
- password2: ''
- };
-
- RegistrationData.prototype.validate = function(attrs, options) {
- var ref, ref1, ref2, ref3, ref4;
- this.unset('username-errors');
- this.unset('password1-errors');
- this.unset('password2-errors');
- if (((ref = attrs.username) != null ? ref : '').trim() === '') {
- this.set('username-errors', ['This field is required.']);
- }
- if (((ref1 = attrs.password1) != null ? ref1 : '') === '') {
- this.set('password1-errors', ['This field is required.']);
- }
- if (((ref2 = attrs.password1) != null ? ref2 : '') !== ((ref3 = attrs.password2) != null ? ref3 : '')) {
- this.set('password2-errors', ['Passwords must match.']);
- } else if (((ref4 = attrs.password2) != null ? ref4 : '') === '') {
- this.set('password2-errors', ['This field is required.']);
- }
- return this.has('username-errors') || this.has('password1-errors') || this.has('password2-errors');
- };
-
- return RegistrationData;
-
- })(Backbone.Model);
+ window.regForm = new Tram.RegistrationForm();
- ProfileData = (function(superClass) {
- extend(ProfileData, superClass);
-
- function ProfileData() {
- return ProfileData.__super__.constructor.apply(this, arguments);
- }
-
- ProfileData.prototype.defaults = {
- fullname: '',
- nickname: '',
- avatar: ''
- };
-
- ProfileData.prototype.validate = function(attrs, options) {
- var ae, file;
- this.unset('avatar-errors');
- ae = [];
- file = $('#avatar').get(0).files[0];
- if (file != null) {
- if (file.type.match('image/.*') == null) {
- ae.push("File doesn't look like an image.");
- }
- if (file.size > 64 * 1024) {
- ae.push('File is too big.');
- }
- }
- if (ae.length > 0) {
- this.set('avatar-errors', ae);
- }
- return this.has('avatar-errors');
- };
-
- return ProfileData;
-
- })(Backbone.Model);
-
- window.regData = new RegistrationData();
-
- window.profileData = new ProfileData();
+ window.profileForm = new Tram.ProfileForm();
registerfn = function() {
- if (regData.isValid()) {
+ if (regForm.isValid()) {
clientState.set('progress', 0);
- return X.register(regData.get('username').trim(), regData.get('password1'));
+ return X.register(regForm.get('username').trim(), regForm.get('password1'));
}
};
savefn = function() {
var data, failcb, file, okcb, reader;
- if (!profileData.isValid()) {
+ if (!profileForm.isValid()) {
return;
}
data = {
- fullname: profileData.get('fullname').trim(),
- nickname: profileData.get('nickname').trim()
+ fullname: profileForm.get('fullname').trim(),
+ nickname: profileForm.get('nickname').trim()
};
okcb = function() {
clientState.set('progress', 100);
@@ -135,12 +61,12 @@
};
window.regRivet = rivets.bind($('[data-form="registration"]'), {
- data: regData,
+ data: regForm,
register: registerfn
});
window.profileRivet = rivets.bind($('[data-form="profile"]'), {
- data: profileData,
+ data: profileForm,
save: savefn,
cancel: cancelfn
});
@@ -161,7 +87,7 @@
});
X.on('conflict', function() {
- return regData.set('username-errors', ['A user with this username already exists.']);
+ return regForm.set('username-errors', ['A user with this username already exists.']);
});
X.on('notacceptable', function() {
@@ -169,7 +95,7 @@
});
X.on('connected', function() {
- profileData.set('nickname', regData.get('username').trim());
+ profileForm.set('nickname', regForm.get('username').trim());
$('[data-step="profile"]').removeClass('uk-hidden');
return $('#fullname').focus();
});
@@ -191,23 +117,7 @@
X.startRegistration();
- $('[data-form="registration"], [data-form="profile"]').each(function() {
- var $form;
- $form = $(this);
- return $form.find('input').on('keydown', function(e) {
- var $next, index;
- if ((!this.required || this.value !== '') && e.keyCode === 13) {
- e.preventDefault();
- index = $form.find('input').index(this);
- $next = $form.find('input').eq(index + 1);
- if ($next.length !== 0) {
- return $next.focus();
- } else {
- return $form.find('button').trigger('click');
- }
- }
- });
- });
+ $('[data-form="registration"], [data-form="profile"]').streamline();
}).call(this);
--- a/js/register.js.map Sat Apr 16 23:50:55 2016 +0800
+++ b/js/register.js.map Sun Apr 17 07:39:05 2016 +0800
@@ -6,5 +6,5 @@
"coffee/register.coffee"
],
"names": [],
- "mappings": ";AAAA;AAAA,MAAA,2DAAA;IAAA;;;EAAA,MAAM,CAAC,WAAP,GAAyB,IAAA,IAAI,CAAC,WAAL,CAAA;;EACzB,MAAM,CAAC,WAAP,GAAyB,IAAA,IAAI,CAAC,WAAL,CAAiB;IAAA,EAAA,EAAI,CAAA,CAAE,uBAAF,CAAJ;IAAgC,KAAA,EAAO,WAAvC;GAAjB;;EAGnB;;;;;;;+BACJ,QAAA,GACE;MAAA,QAAA,EAAU,EAAV;MACA,SAAA,EAAW,EADX;MAEA,SAAA,EAAW,EAFX;;;+BAIF,QAAA,GAAU,SAAC,KAAD,EAAQ,OAAR;AACR,UAAA;MAAA,IAAC,CAAA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AAW,CAAC,GAAZ,CAAgB,UAAhB,EAA4B,OAAO,CAAC,GAAR,CAAY,UAAZ,CAAuB,CAAC,IAAxB,CAAA,CAA5B;IACA,CAAA,CAAE,uBAAF,CAA0B,CAAC,WAA3B,CAAuC,WAAvC;WACA,CAAA,CAAE,WAAF,CAAc,CAAC,KAAf,CAAA;EAHgB,CAAlB;;EAMA,CAAC,CAAC,EAAF,CAAK,cAAL,EAAqB,SAAA;WACnB,QAAQ,CAAC,MAAT,CAAA;EADmB,CAArB;;EAIA,CAAC,CAAC,EAAF,CAAK,QAAL,EAAe,SAAC,MAAD;AACb,YAAO,MAAP;AAAA,WACO,OAAO,CAAC,MAAM,CAAC,UADtB;eAEI,WAAW,CAAC,GAAZ,CAAgB,UAAhB,EAA4B,EAA5B;AAFJ,WAGO,OAAO,CAAC,MAAM,CAAC,SAHtB;eAII,WAAW,CAAC,GAAZ,CAAgB,UAAhB,EAA4B,GAA5B;AAJJ;eAMI,WAAW,CAAC,KAAZ,CAAkB,UAAlB;AANJ;EADa,CAAf;;EAUA,CAAC,CAAC,iBAAF,CAAA;;EAGA,CAAA,CAAE,mDAAF,CAAsD,CAAC,UAAvD,CAAA;AApGA"
}
\ No newline at end of file
--- a/register.html Sat Apr 16 23:50:55 2016 +0800
+++ b/register.html Sun Apr 17 07:39:05 2016 +0800
@@ -110,6 +110,7 @@
<script src='/js/rivets.js'></script>
<script src='/js/xmpp.js'></script>
<script src='/js/progress.js'></script>
+ <script src='/js/forms.js'></script>
<script src='/config.js'></script>
<script src='/js/register.js'></script>
</body>