Authored by xuqi

placeholder

@@ -33,6 +33,9 @@ var checkbox = { @@ -33,6 +33,9 @@ var checkbox = {
33 33
34 var emailAcTime; 34 var emailAcTime;
35 35
  36 +require('yoho.placeholder');
  37 +
  38 +
36 //验证账户名 39 //验证账户名
37 function validateAccount() { 40 function validateAccount() {
38 var pass = false, 41 var pass = false,
@@ -122,6 +125,8 @@ function validate() { @@ -122,6 +125,8 @@ function validate() {
122 return pass; 125 return pass;
123 } 126 }
124 127
  128 +$('[placeholder]').placeholder();
  129 +
125 //展开地区列表 130 //展开地区列表
126 $('#country-code').on('click', function() { 131 $('#country-code').on('click', function() {
127 if ($countryList.css('display') === 'none') { 132 if ($countryList.css('display') === 'none') {
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 "yoho.handlebars": "3.0.3", 17 "yoho.handlebars": "3.0.3",
18 "yoho.jquery": "1.8.3", 18 "yoho.jquery": "1.8.3",
19 "json2": "1.0.0", 19 "json2": "1.0.0",
20 - "placeholders.js": "3.0.3" 20 + "yoho.placeholder": "0.0.1"
21 }, 21 },
22 "devDependencies": { 22 "devDependencies": {
23 "expect.js": "0.3.1" 23 "expect.js": "0.3.1"