This file contains 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
<link rel="import" href="../topeka-elements/category-icons.html"> | |
<link rel="import" href="../core-icon/core-icon.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; |
This file contains 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 action name: constans for this module only | |
# actions is not object: we can't use dispatch(@nextAction()), but without fat arrow | |
# _.assign instead Object.assign: without object-polyfill | |
_ = require 'lodash' | |
{getOrders} = require 'DataProvider/orders' | |
MODULE_NAME = 'omBulk' | |
SET_ERRORS = "#{MODULE_NAME}.SET_ERRORS" |
This file contains 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'; | |
import styles from './table.css'; | |
export default class Table extends React.Component { | |
render () { | |
return <div className={styles.table}> | |
<div className={styles.row}> | |
<div className={styles.cell}>A0</div> | |
<div className={styles.cell}>B0</div> | |
</div> |
This file contains 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
module Phone where | |
import Data.Char(isUpper, toLower) | |
import Data.List(maximumBy, sort, sortBy, groupBy) | |
import Data.Function(on) | |
convo = | |
[ "Wanna play 20 questions" | |
, "Ya" |