update image provider

This commit is contained in:
Luke Pulverenti 2015-11-20 12:55:38 -05:00
parent 08b0777450
commit f3d7a58b2c
3 changed files with 13 additions and 6 deletions

View file

@ -27,14 +27,14 @@
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0", "webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0",
"iron-component-page": "polymerelements/iron-component-page#^1.0.0" "iron-component-page": "polymerelements/iron-component-page#^1.0.0"
}, },
"homepage": "https://github.com/PolymerElements/iron-flex-layout", "homepage": "https://github.com/polymerelements/iron-flex-layout",
"_release": "1.2.0", "_release": "1.2.0",
"_resolution": { "_resolution": {
"type": "version", "type": "version",
"tag": "v1.2.0", "tag": "v1.2.0",
"commit": "4bf53ba623140d0d2663a404e91ee45b96299118" "commit": "4bf53ba623140d0d2663a404e91ee45b96299118"
}, },
"_source": "git://github.com/PolymerElements/iron-flex-layout.git", "_source": "git://github.com/polymerelements/iron-flex-layout.git",
"_target": "^1.0.0", "_target": "^1.0.0",
"_originalSource": "PolymerElements/iron-flex-layout" "_originalSource": "polymerelements/iron-flex-layout"
} }

View file

@ -50,7 +50,7 @@
"tag": "v1.1.1", "tag": "v1.1.1",
"commit": "1bbce220b027dc030b294163f7da6f3e9052ab13" "commit": "1bbce220b027dc030b294163f7da6f3e9052ab13"
}, },
"_source": "git://github.com/polymerelements/paper-input.git", "_source": "git://github.com/PolymerElements/paper-input.git",
"_target": "^1.0.9", "_target": "^1.0.0",
"_originalSource": "polymerelements/paper-input" "_originalSource": "PolymerElements/paper-input"
} }

View file

@ -365,6 +365,13 @@
isSupported: function () { isSupported: function () {
if (AppInfo.isNativeApp) {
// Crashes on some amazon devices
if (window.device && (device.platform || '').toLowerCase().indexOf('amazon') != -1) {
return false;
}
}
return window.SpeechRecognition || window.webkitSpeechRecognition; return window.SpeechRecognition || window.webkitSpeechRecognition;
}, },