Sha256: 9b386ecd9d4809d51f566548c2c36a7fa3e67385a6cf2235cd480639f5828e99

Contents?: true

Size: 739 Bytes

Versions: 9

Compression:

Stored size: 739 Bytes

Contents

//>>built
define("dojox/validate/web",["./_base","./regexp"],function(_1,_2){
_1.isIpAddress=function(_3,_4){
var re=new RegExp("^"+_2.ipAddress(_4)+"$","i");
return re.test(_3);
};
_1.isUrl=function(_5,_6){
var re=new RegExp("^"+_2.url(_6)+"$","i");
return re.test(_5);
};
_1.isEmailAddress=function(_7,_8){
var re=new RegExp("^"+_2.emailAddress(_8)+"$","i");
return re.test(_7);
};
_1.isEmailAddressList=function(_9,_a){
var re=new RegExp("^"+_2.emailAddressList(_a)+"$","i");
return re.test(_9);
};
_1.getEmailAddressList=function(_b,_c){
if(!_c){
_c={};
}
if(!_c.listSeparator){
_c.listSeparator="\\s;,";
}
if(_1.isEmailAddressList(_b,_c)){
return _b.split(new RegExp("\\s*["+_c.listSeparator+"]\\s*"));
}
return [];
};
return _1;
});

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
dojox-rails-0.14.0 vendor/assets/javascripts/dojox/validate/web.js
dojox-rails-0.13.0 vendor/assets/javascripts/dojox/validate/web.js
dojox-rails-0.12.0 vendor/assets/javascripts/dojox/validate/web.js
dojox-rails-0.11.0 vendor/assets/javascripts/validate/web.js
dojo-rails-0.9.4 vendor/assets/javascripts/dojox/validate/web.js
dojo-rails-0.9.3 vendor/assets/javascripts/dojox/validate/web.js
dojo-rails-0.9.2 vendor/assets/javascripts/dojox/validate/web.js
dojo-rails-0.9.1 vendor/assets/javascripts/dojox/validate/web.js
dojo-rails-0.9.0 vendor/assets/javascripts/dojox/validate/web.js