ama_layout 2.2.9 → 2.2.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,9 @@ var domains = ['msn.com', 'bellsouth.net', 'telus.net', 'comcast.net', 'optusnet
2
2
  'sky.com', 'icloud.com', 'mac.com', 'sympatico.ca', 'googlemail.com', 'att.net', 'xtra.co.nz', 'web.de',
3
3
  'cox.net', 'gmail.com', 'ymail.com', 'aim.com', 'rogers.com', 'verizon.net', 'rocketmail.com',
4
4
  'google.com', 'optonline.net', 'sbcglobal.net', 'aol.com', 'me.com', 'btinternet.com', 'charter.net',
5
- 'shaw.ca', 'xplore.com', 'abnorth.com', 'pentnet.net', 'canadasurf.net'];
5
+ 'shaw.ca', 'xplore.com', 'abnorth.com', 'pentnet.net', 'canadasurf.net', "ama.ab.ca"];
6
+
7
+ var secondLevelDomains = ["yahoo", "hotmail", "mail", "live", "outlook"]
6
8
 
7
9
  var $email = $('[type="email"]');
8
10
  var $hint = $("*#email_hint");
@@ -10,6 +12,7 @@ var $hint = $("*#email_hint");
10
12
  $email.on('blur', function() {
11
13
  $(this).mailcheck({
12
14
  domains: domains,
15
+ secondLevelDomains: secondLevelDomains,
13
16
  suggested: function(element, suggestion) {
14
17
  var text = "Did you mean <span class='suggestion'>" +
15
18
  "<span class='address'>" + suggestion.address + "</span>" +
@@ -1,3 +1,3 @@
1
1
  module AmaLayout
2
- VERSION = "2.2.9"
2
+ VERSION = "2.2.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ama_layout
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.9
4
+ version: 2.2.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -360,7 +360,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
360
360
  version: '0'
361
361
  segments:
362
362
  - 0
363
- hash: -3257216319979225502
363
+ hash: -856685595973523464
364
364
  required_rubygems_version: !ruby/object:Gem::Requirement
365
365
  none: false
366
366
  requirements:
@@ -369,7 +369,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
369
369
  version: '0'
370
370
  segments:
371
371
  - 0
372
- hash: -3257216319979225502
372
+ hash: -856685595973523464
373
373
  requirements: []
374
374
  rubyforge_project:
375
375
  rubygems_version: 1.8.23