I hereby claim:
- I am aulizko on github.
- I am aulizko (https://keybase.io/aulizko) on keybase.
- I have a public key whose fingerprint is 2B15 3E78 238C 4606 5A19 1E12 56F2 EB3D 1694 9CF9
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| // That variant actually works with 1.0.0-beta4 | |
| // Link to the previous (1.0.0-beta3) version: | |
| // https://github.com/cdebotton/react-universal/blob/master/src/server.js#L49 | |
| import createLocation from 'history/lib/createLocation'; | |
| import createHistory from 'history/lib/createMemoryHistory'; | |
| import ReactDOM from 'react-dom/server'; | |
| import {Router} from 'react-router'; | |
| import Layout from './views/Layout'; | |
| import Application from './containers/Application'; |
| // Убираем старый обработчик нажатий | |
| var forEach = Array.prototype.forEach; | |
| forEach.call(document.getElementsByClassName('glyphicon-volume-up'), | |
| removeAllEventListeners); | |
| function play(e) { | |
| if (!e) { | |
| return; | |
| } | |
| var target = e.target; |