Merge branch 'master' into v5

This commit is contained in:
Daniel
2018-04-08 18:51:08 +02:00
parent c4e8c2efbc
commit c0737feb41
6 changed files with 98 additions and 87 deletions
+3 -2
View File
@@ -13,7 +13,6 @@ export function get(element: Element | Window, path: string) {
return obj;
}
/**
* @private
*/
@@ -25,7 +24,9 @@ export function getPromise(callback: Function = () => {}): Promise<any> {
callback(resolve, reject);
});
} else {
console.error('No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular or on a recent browser.');
console.error(
'No Promise support or polyfill found. To enable Ionic Native support, please add the es6-promise polyfill before this script, or run with a library like Angular or on a recent browser.'
);
}
};