This repository has been archived by the owner on Apr 2, 2024. It is now read-only.
Releases: sandydoo/ember-is-mobile
Releases · sandydoo/ember-is-mobile
v4.1.2
v4.1.1
v4.1.0
v4.0.2
v4.0.1
v4.0.0
-
Upgrade Ember
-
Upgrade to
ismobilejs: v1.0.3
-
[BREAKING] Remove automatic service injection.
isMobile
is no longer automatically injected into your templates due to compatability, maintainability, and performance reasons. Either use theis-mobile
helper or inject the service manually into whichever controller, component, or route needs it. -
[BREAKING] Fix
ismobilejs
export.
If you importedismobilejs
directly like so:import isMobile from 'ember-is-mobile';
It previously returned a function in FastBoot and an object containing all of the tests in the browser. It will now always return a function. Make sure to call it in the browser
isMobile()
. -
The parameter passed to the
is-mobile
helper is now optional. Without it, the helper returns the entire test object.
v3.0.0
Features
Breaking Changes
- Rename the library import from
ismobilejs
toember-is-mobile
.ismobilejs
now returns the actual isMobile.js package. The difference between the two is that theember-is-mobile
import returns only theisMobile
function is FastBoot.