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
| 1 - install vagrant | |
| 2 - install vmBox | |
| 3 - install php from http://php-osx.liip.ch | |
| 4 - generate SSH-key | |
| 5 - download and install composer | |
| 6 - set PATH to composer (rename composer.phar -> composer) |
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
| WITH SOURCE-MAPS AND no Uglified JS | |
| favicon.ico 1.21 kB [emitted] | |
| index.html 557 bytes [emitted] | |
| vendors.bundle.js 2.52 MB 0 [emitted] vendors | |
| 1.init.bundle.js 13 kB 1 [emitted] | |
| 2.init.bundle.js 11.5 kB 2 [emitted] | |
| 3.init.bundle.js 1.62 kB 3 [emitted] | |
| 4.init.bundle.js 5.19 kB 4 [emitted] | |
| init.bundle.js 683 kB 5 [emitted] app |
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
| React (v15.0.1): | |
| Используется для отображения интерфейса нашего приложения, обработки различных событий на странице, | |
| деления нашего приложения на независимые модули (компоненты), хранения актуальных состояний различных компонентов на странице, | |
| асинхронное взаимодействие с сервер-сайд. | |
| Babel (v6.5.2): | |
| С его помощью мы можем писать на последних спецификациях языка не беспокоясь о поддержке устаревших браузеров, | |
| за нас это делает Babel. Плюс благодаря его расширяемости можно использовать различные плагины, | |
| ускоряющие процесс разработки (т.н. синтаксический сахар) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| @mixin ie6 { * html & { @content } } | |
| #logo { | |
| background-image: url("/images/logo.png"); | |
| @include ie6 { background-image: url("/images/logo.gif"); } | |
| } |
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
| #video_container { | |
| position: relative; | |
| } | |
| #video { | |
| position: absolute; | |
| left: 0; | |
| @include center(y); |
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 forms = document.getElementsByTagName('form'); | |
| for (var i = 0; i < forms.length; i++) { | |
| forms[i].noValidate = true; | |
| forms[i].addEventListener('submit', function(event) { | |
| //Prevent submission if checkValidity on the form returns false. | |
| if (!event.target.checkValidity()) { | |
| event.preventDefault(); | |
| //Implement you own means of displaying error messages to the user here. | |
| } |
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
| $.getScript('http://www.youtube.com/iframe_api'); | |
| function onYouTubeIframeAPIReady() { | |
| players_id = {} | |
| players_id["a45o0Zt5T0k_15"] = new YT.Player('yt_player_a45o0Zt5T0k_15', { | |
| height: '100%', | |
| width: '100%', |
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
| // lazy-load video | |
| $(function() { | |
| $(".not-logged__jumbotron-video source").each(function() { | |
| // var sourceFile = $(this).attr("data-src"); | |
| // $(this).attr("src", sourceFile) | |
| var video = this.parentElement; | |
| video.load(); | |
| setTimeout(function(){ | |
| video.play(); |
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
| {% for x in ""|ljust:"100" %} | |
| Hello World! | |
| {% endfor %} |