Skip to content

Commit

Permalink
Merge pull request noflo#522 from noflo/safari_9
Browse files Browse the repository at this point in the history
Safari 9 support
  • Loading branch information
bergie committed Feb 24, 2016
2 parents 722fd37 + df7371d commit b27bd39
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 8 additions & 2 deletions index.dist.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,20 @@
<link rel="icon" sizes="192x192" href="app/$NOFLO_THEME-192.png">
<link rel="icon" sizes="128x128" href="app/$NOFLO_THEME-128.png">
<link rel="shortcut icon" href="$NOFLO_THEME.ico" />
<script src="bower_components/webcomponentsjs/webcomponents.js"></script>
<script src="node_modules/webcomponents.js/webcomponents.min.js"></script>
<link rel="import" href="bower_components/polymer/polymer.html">
<script src="bower_components/klayjs-noflo/klay-noflo.js"></script>
<script src="bower_components/hammerjs/hammer.js"></script>
<script src="bower_components/react/react-with-addons.js"></script>
<script src="bower_components/ease-djdeath/index.js"></script>
<script src="bower_components/react.animate-djdeath/react.animate.js"></script>
<script src="browser/noflo-noflo-indexeddb/vendor/IndexedDBShim.min.js"></script>
<script src="node_modules/indexeddbshim/dist/indexeddbshim.min.js"></script>
<script>
if (navigator.vendor && navigator.vendor.indexOf('Apple') !== -1) {
console.log('Safari detected, replacing broken IndexedDB with shim');
window.shimIndexedDB.__useShim();
}
</script>
<script src="bower_components/rtc/dist/rtc.js"></script>
<script src="./browser/noflo-ui.js"></script>

Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
"url": "undefined/blob/master/LICENSE-MIT"
}
],
"dependencies": {},
"dependencies": {
"indexeddbshim": "^2.2.1",
"webcomponents.js": "0.6.0"
},
"devDependencies": {
"mocha": "2.3.3",
"chai": "1.10.0",
Expand Down

0 comments on commit b27bd39

Please sign in to comment.