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
| contract('inPathArr', Array, inPathArr); | |
| // contract('requested', [String, null], requested); | |
| // contract('from', [String, null], from); | |
| // contract('resolved', [String, null], resolved); | |
| contract([ | |
| ['inPathArr', Array], | |
| ['requested', [String, null]], | |
| ['from', [String, null]], | |
| ['resolved', [String, null]], | |
| ]); |
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
| // ---- | |
| // libsass (v3.3.2) | |
| // ---- | |
| // _variables.scss | |
| $color-primary: #00A8EF; | |
| $color-success: #00BD76; | |
| $color-warning: #FFBD55; | |
| $color-danger: #EF472F; |
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
| const key = { | |
| name: 'forward', | |
| text: { | |
| en: 'Forward', | |
| se: 'Fortsätt', | |
| de: 'Fortsæt', | |
| no: 'Fortsett', | |
| fi: 'Jatka' | |
| } | |
| }; |
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
| .grid-row | |
| - var footerMenu = { | |
| 'Одежда': ['Верхняя одежда','Свитера','Комбинезоны','Костюмы','Майки','Нижнее бельё','Пиджаки','Рубашки и сорочки','Футболки','Шорты','Штаны'], | |
| 'Обувь': ['Ботинки','Кеды','Кроссовки','Мокасины','Обувь для дома','Сандалии','Сапоги'], | |
| 'Сумки, багаж': ['Дорожные сумки','На пояс','Повседневные сумки','Портфели','Рюкзаки','Чемоданы'], | |
| 'Что-то другое': ['Галантерея','Галстуки','Деловые аксессуары','Портфели','Рюкзаки','Чемоданы'] | |
| } | |
| each links, heading in | |
| div= heading | |
| ul |
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
| import React from 'react'; | |
| export default class BackToTop extends React.Component { | |
| propTypes: { | |
| top: React.PropTypes.number.isRequired, | |
| bottom: React.PropTypes.number.isRequired, | |
| } | |
| componentWillMount() { | |
| this.setState({ |
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
| Signature mix_sig = "mix($color-1, $color-2, $weight: 50%)"; | |
| BUILT_IN(mix) | |
| { | |
| Color* color1 = ARG("$color-1", Color); | |
| Color* color2 = ARG("$color-2", Color); | |
| Number* weight = ARGR("$weight", Number, 0, 100); | |
| double p = weight->value()/100; | |
| double w = 2*p - 1; | |
| double a = color1->a() - color2->a(); |
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 getDefinition = function(num) { | |
| return $('.EXAMPLE').eq(num).parent().prevAll('ftdef').children('.DEF').text().trim(); | |
| } | |
| var getExamples = function(Number) { | |
| return $('.EXAMPLE').eq(num).parent().parent().prevAll('ftdef').children('.DEF').text().trim(); | |
| } | |
| function getDefinition(num) { | |
| return getDefinition(num) + getExamples(num); |
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
| .block { | |
| /* CSS declarations for `.block` */ | |
| e title { | |
| /* CSS declarations for `.block__title` */ | |
| m smallcaps { | |
| /* CSS declarations for `.block__title--smallcaps` */ | |
| } | |
| } |
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
| 900419651 |
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
| div { | |
| width: 400px; | |
| height: 400px; | |
| background: lightgray; | |
| } | |
| img { | |
| display: inline-block; | |
| width: 200px | |
| height: 200px; |