use zepto instead of jquery
Showing
11 changed files
with
11 additions
and
11 deletions
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | * @author: xuqi<qi.xu@yoho.cn> | 3 | * @author: xuqi<qi.xu@yoho.cn> |
4 | * @date: 2015/10/8 | 4 | * @date: 2015/10/8 |
5 | */ | 5 | */ |
6 | -var $ = require('yoho.jquery'); | 6 | +var $ = require('yoho.zepto'); |
7 | 7 | ||
8 | var $email = $('#email'), | 8 | var $email = $('#email'), |
9 | $btnSure = $('#btn-sure'); | 9 | $btnSure = $('#btn-sure'); |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | * @author: xuqi<qi.xu@yoho.cn> | 3 | * @author: xuqi<qi.xu@yoho.cn> |
4 | * @date: 2015/10/8 | 4 | * @date: 2015/10/8 |
5 | */ | 5 | */ |
6 | -var $ = require('yoho.jquery'); | 6 | +var $ = require('yoho.zepto'); |
7 | 7 | ||
8 | var $phoneNum = $('#phone-num'), | 8 | var $phoneNum = $('#phone-num'), |
9 | $countrySelector = $('#country-selector'), | 9 | $countrySelector = $('#country-selector'), |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | * @author: xuqi<qi.xu@yoho.cn> | 3 | * @author: xuqi<qi.xu@yoho.cn> |
4 | * @date: 2015/10/8 | 4 | * @date: 2015/10/8 |
5 | */ | 5 | */ |
6 | -var $ = require('yoho.jquery'); | 6 | +var $ = require('yoho.zepto'); |
7 | 7 | ||
8 | var $pwd = $('#pwd'), | 8 | var $pwd = $('#pwd'), |
9 | $btnOk = $('#btn-ok'); | 9 | $btnOk = $('#btn-ok'); |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | * @author: xuqi<qi.xu@yoho.cn> | 3 | * @author: xuqi<qi.xu@yoho.cn> |
4 | * @date: 2015/10/8 | 4 | * @date: 2015/10/8 |
5 | */ | 5 | */ |
6 | -var $ = require('yoho.jquery'); | 6 | +var $ = require('yoho.zepto'); |
7 | 7 | ||
8 | module.exports = function(useInRegister) { | 8 | module.exports = function(useInRegister) { |
9 | var $captcha = $('#captcha'), | 9 | var $captcha = $('#captcha'), |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | * @author: xuqi<qi.xu@yoho.cn> | 3 | * @author: xuqi<qi.xu@yoho.cn> |
4 | * @date: 2015/10/8 | 4 | * @date: 2015/10/8 |
5 | */ | 5 | */ |
6 | -var $ = require('yoho.jquery'); | 6 | +var $ = require('yoho.zepto'); |
7 | 7 | ||
8 | var $phoneNum = $('#phone-num'), | 8 | var $phoneNum = $('#phone-num'), |
9 | $countrySelect = $('#country-select'), | 9 | $countrySelect = $('#country-select'), |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | * @author: xuqi<qi.xu@yoho.cn> | 3 | * @author: xuqi<qi.xu@yoho.cn> |
4 | * @date: 2015/9/30 | 4 | * @date: 2015/9/30 |
5 | */ | 5 | */ |
6 | -var $ = require('yoho.jquery'); | 6 | +var $ = require('yoho.zepto'); |
7 | 7 | ||
8 | var $account = $('#account'), | 8 | var $account = $('#account'), |
9 | $pwd = $('#pwd'), | 9 | $pwd = $('#pwd'), |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | * @author: xuqi<qi.xu@yoho.cn> | 3 | * @author: xuqi<qi.xu@yoho.cn> |
4 | * @date: 2015/10/8 | 4 | * @date: 2015/10/8 |
5 | */ | 5 | */ |
6 | -var $ = require('yoho.jquery'); | 6 | +var $ = require('yoho.zepto'); |
7 | 7 | ||
8 | var $pwd = $('#pwd'), | 8 | var $pwd = $('#pwd'), |
9 | $btnSure = $('#btn-sure'); | 9 | $btnSure = $('#btn-sure'); |
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | * @author: xuqi<qi.xu@yoho.cn> | 3 | * @author: xuqi<qi.xu@yoho.cn> |
4 | * @date: 2015/10/8 | 4 | * @date: 2015/10/8 |
5 | */ | 5 | */ |
6 | -var $ = require('yoho.jquery'); | 6 | +var $ = require('yoho.zepto'); |
7 | 7 | ||
8 | var $phoneNum = $('#phone-num'), | 8 | var $phoneNum = $('#phone-num'), |
9 | $countrySelect = $('#country-select'), | 9 | $countrySelect = $('#country-select'), |
@@ -16,7 +16,7 @@ | @@ -16,7 +16,7 @@ | ||
16 | "spm": { | 16 | "spm": { |
17 | "main": "index.js", | 17 | "main": "index.js", |
18 | "dependencies": { | 18 | "dependencies": { |
19 | - "yoho.zepto": "1.1.6", | 19 | + "yoho.zepto": "1.1.60", |
20 | "yoho.jquery": "1.8.3" | 20 | "yoho.jquery": "1.8.3" |
21 | }, | 21 | }, |
22 | "devDependencies": { | 22 | "devDependencies": { |
-
Please register or login to post a comment