Sha256: c74f8611216339f49d75f0e9108f442f1cd073d203d6da312f8ff093775c5e9b

Contents?: true

Size: 1.27 KB

Versions: 14

Compression:

Stored size: 1.27 KB

Contents

I"(function() {
  if (typeof Alchemy === "undefined") {
    window.Alchemy = {};
  }

  Alchemy.Browser = {
    isiPhone: navigator.userAgent.match(/iPhone/i) !== null,
    isiPad: navigator.userAgent.match(/iPad/i) !== null,
    isiPod: navigator.userAgent.match(/iPod/i) !== null,
    isiOS: navigator.userAgent.match(/iPad|iPhone|iPod/i) !== null,
    isFirefox: navigator.userAgent.match(/Firefox/i) !== null,
    isChrome: navigator.userAgent.match(/Chrome/i) !== null,
    isSafari: navigator.userAgent.match(/AppleWebKit/) && !navigator.userAgent.match(/Chrome/),
    isIE: navigator.userAgent.match(/MSIE/i) !== null,
    getVersion: function(browser) {
      if (Alchemy.Browser["is" + browser]) {
        return parseInt(navigator.userAgent.match(new RegExp(browser + ".[0-9]+", "i"))[0].replace(new RegExp(browser + "."), ""), 10);
      } else {
        return null;
      }
    }
  };

  Alchemy.Browser.ChromeVersion = Alchemy.Browser.getVersion("Chrome");

  Alchemy.Browser.FirefoxVersion = Alchemy.Browser.getVersion("Firefox");

  Alchemy.Browser.SafariVersion = Alchemy.Browser.getVersion("Safari");

  Alchemy.Browser.IEVersion = Alchemy.Browser.getVersion("MSIE");

  Alchemy.Browser.isWebKit = Alchemy.Browser.isChrome || Alchemy.Browser.isSafari;

}).call(this);
:ET

Version data entries

14 entries across 11 versions & 2 rubygems

Version Path
alchemy-devise-4.2.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/EV/Ev2dKJ4YBSF6FRvKDAEhslNYKjwh_LMBqFnIBddqox8.cache
alchemy-solidus-2.3.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/Ev/Ev2dKJ4YBSF6FRvKDAEhslNYKjwh_LMBqFnIBddqox8.cache
alchemy-devise-4.1.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/EV/Ev2dKJ4YBSF6FRvKDAEhslNYKjwh_LMBqFnIBddqox8.cache
alchemy-solidus-2.2.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/Ev/Ev2dKJ4YBSF6FRvKDAEhslNYKjwh_LMBqFnIBddqox8.cache
alchemy-devise-4.1.0.beta spec/dummy/tmp/cache/assets/sprockets/v3.0/EV/Ev2dKJ4YBSF6FRvKDAEhslNYKjwh_LMBqFnIBddqox8.cache
alchemy-devise-4.0.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/Ev/Ev2dKJ4YBSF6FRvKDAEhslNYKjwh_LMBqFnIBddqox8.cache
alchemy-devise-3.6.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/Ev/Ev2dKJ4YBSF6FRvKDAEhslNYKjwh_LMBqFnIBddqox8.cache
alchemy-devise-3.5.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/Ev/Ev2dKJ4YBSF6FRvKDAEhslNYKjwh_LMBqFnIBddqox8.cache
alchemy-devise-3.5.0.beta spec/dummy/tmp/cache/assets/sprockets/v3.0/F4wHvVXoJh-J9RP-WuyawTWluNUKM9tBeZHWhoyjJog.cache
alchemy-devise-3.5.0.beta spec/dummy/tmp/cache/assets/sprockets/v3.0/F4/F4wHvVXoJh-J9RP-WuyawTWluNUKM9tBeZHWhoyjJog.cache
alchemy-devise-3.4.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/F4wHvVXoJh-J9RP-WuyawTWluNUKM9tBeZHWhoyjJog.cache
alchemy-devise-3.4.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/F4/F4wHvVXoJh-J9RP-WuyawTWluNUKM9tBeZHWhoyjJog.cache
alchemy-devise-3.3.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/F4/F4wHvVXoJh-J9RP-WuyawTWluNUKM9tBeZHWhoyjJog.cache
alchemy-devise-3.3.0 spec/dummy/tmp/cache/assets/sprockets/v3.0/F4wHvVXoJh-J9RP-WuyawTWluNUKM9tBeZHWhoyjJog.cache