made with esnextbin
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
| short_open_tag=On | |
| error_reporting = E_ALL & ~E_NOTICE; |
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
| hello = () => { | |
| var lala = 1; | |
| something(); | |
| } | |
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
| function attachRounder (element) { | |
| window.addEventListener('resize', () => makeRound(element)); | |
| makeRound(element); | |
| } | |
| function makeRound (element) { | |
| let transform = window.getComputedStyle(element, null).getPropertyValue('transform'); | |
| if (transform.indexOf('matrix') !== -1) { | |
| element.style.transform = transform.replace(/[\d\.]+/gi, function (match) { return Math.round(match);}); | |
| } |
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 Webpack = require('webpack'); | |
| var path = require('path'); | |
| var entry = require('./webpack-entry'); | |
| // Prepend local dev server | |
| for (var i in entry) { | |
| entry[i] = ['webpack-dev-server/client?http://local.bestprice.gr:3000', 'webpack/hot/dev-server'] | |
| .concat(entry[i]); | |
| } |
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
| { "keys": ["alt+s"], "command": "reveal_in_side_bar"} |
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
| <amp-ad width="300" height="250" | |
| type="adman" | |
| data-ws="17342" | |
| data-s="300x250" | |
| data-host="talos.adman.gr"> | |
| </amp-ad> |
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 shadow = myElement.createShadowRoot(); | |
| const style = document.createElement('style'); | |
| style.innerHTML = '@import url(PATH_TO_MY_CSS)'; | |
| shadow.appendChild(style); |
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, { Component, PropTypes } from 'react'; | |
| import ReactDOM from 'react-dom'; | |
| import round from 'modules/rounder'; | |
| import Icon from 'components/Icon'; | |
| import getDisplayName from 'react-display-name'; | |
| const Modal = (content = null) => ComposedComponent => class extends Component { | |
| static displayName = ComposedComponent | |
| ? `Modal(${getDisplayName(ComposedComponent)})` | |
| : 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
| var adSchedule = { | |
| start: 3251, | |
| '20s': 3252, | |
| '30s': 3253, | |
| end: 3254 | |
| }; | |
| var parseAdSchedule = function (adSchedule) { | |
| var result = {}; |