refactor(all): updating to newest stencil apis (#18578)

* chore(): update ionicons

* refactor(all): updating to newest stencil apis

* fix lint issues

* more changes

* moreee

* fix treeshaking

* fix config

* fix checkbox

* fix stuff

* chore(): update ionicons

* fix linting errors
This commit is contained in:
Manu MA
2019-06-23 11:26:42 +02:00
committed by GitHub
parent 78e477b2a7
commit 34dfc3ce98
112 changed files with 1231 additions and 1235 deletions

View File

@ -77,8 +77,8 @@ export function pointerCoord(ev: any): {x: number, y: number} {
* @param side the side
* @param isRTL whether the application dir is rtl
*/
export function isEndSide(win: Window, side: Side): boolean {
const isRTL = win.document.dir === 'rtl';
export function isEndSide(side: Side): boolean {
const isRTL = document.dir === 'rtl';
switch (side) {
case 'start': return isRTL;
case 'end': return !isRTL;