This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var makeComputersAwesome = function(){ | |
| return buildC() | |
| .then(function(){ | |
| return P.all([ | |
| buildCPlusPlus(), | |
| buildECMALang(), | |
| buildErlang() | |
| ]) | |
| }) | |
| .then(function(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| var currentPosition = 0; | |
| if (localStorage.currentPlayerPosition) { | |
| currentPosition = localStorage.currentPlayerPosition; | |
| } | |
| player.once('play', function (){ | |
| 'use strict'; | |
| if (currentPosition > 0 && Math.abs(player.getDuration() - currentPosition) > 5) { | |
| player.seek(currentPosition); | |
| } |
OlderNewer