Skip to content

Commit

Permalink
fix(layout-service): spelling mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
koriroys committed Mar 24, 2016
1 parent b9acd6b commit 022884a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addon/services/device/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ export default Service.extend({
return isLandscape ? 'landscape' : 'portrait';
}).readOnly(),

//TODO: deprecate deviceIs and deviseIs (sic) in favor of orientationIs
//TODO: deprecate deviceIs in favor of orientationIs
deviceIsLandscape: computed.equal('orientation', 'landscape'),
deviseIsPortrait: computed.not('deviceIsLandscape'),
deviceIsPortrait: computed.not('deviceIsLandscape'),

orientationIsLandscape: computed.alias('deviceIsLandscape'),
orientationIsPortrait: computed.alias('deviseIsPortrait'),
orientationIsPortrait: computed.alias('deviceIsPortrait'),

breakpoints: null,
_resizeHandler: null,
Expand Down

0 comments on commit 022884a

Please sign in to comment.