Authored by xuqi

use zepto instead of jquery

... ... @@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require('yoho.jquery');
var $ = require('yoho.zepto');
var trim = $.trim;
... ...
... ... @@ -4,7 +4,7 @@
* @date: 2015/10/8
*/
var $ = require('yoho.jquery');
var $ = require('yoho.zepto');
var $resend = $('#resend');
... ...
... ... @@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require('yoho.jquery');
var $ = require('yoho.zepto');
var $email = $('#email'),
$btnSure = $('#btn-sure');
... ...
... ... @@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require('yoho.jquery');
var $ = require('yoho.zepto');
var $phoneNum = $('#phone-num'),
$countrySelector = $('#country-selector'),
... ...
... ... @@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require('yoho.jquery');
var $ = require('yoho.zepto');
var $pwd = $('#pwd'),
$btnOk = $('#btn-ok');
... ...
... ... @@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require('yoho.jquery');
var $ = require('yoho.zepto');
module.exports = function(useInRegister) {
var $captcha = $('#captcha'),
... ...
... ... @@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require('yoho.jquery');
var $ = require('yoho.zepto');
var $phoneNum = $('#phone-num'),
$countrySelect = $('#country-select'),
... ...
... ... @@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/9/30
*/
var $ = require('yoho.jquery');
var $ = require('yoho.zepto');
var $account = $('#account'),
$pwd = $('#pwd'),
... ...
... ... @@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require('yoho.jquery');
var $ = require('yoho.zepto');
var $pwd = $('#pwd'),
$btnSure = $('#btn-sure');
... ...
... ... @@ -3,7 +3,7 @@
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/8
*/
var $ = require('yoho.jquery');
var $ = require('yoho.zepto');
var $phoneNum = $('#phone-num'),
$countrySelect = $('#country-select'),
... ...
... ... @@ -16,7 +16,7 @@
"spm": {
"main": "index.js",
"dependencies": {
"yoho.zepto": "1.1.6",
"yoho.zepto": "1.1.60",
"yoho.jquery": "1.8.3"
},
"devDependencies": {
... ...