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 Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle', | |
items: [{'name': 'Bob'}] | |
}); |
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
// Adapted from https://github.com/material-components/material-components-web | |
import { css } from "emotion"; | |
import tinycolor from "tinycolor2"; | |
const umbraMap = { | |
"0": "0px 0px 0px 0px", | |
"1": "0px 2px 1px -1px", | |
"2": "0px 3px 1px -2px", | |
"3": "0px 3px 3px -2px", | |
"4": "0px 2px 4px -1px", |
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
// Adapted from Python's implementation of randrange. | |
// https://github.com/python/cpython/blob/master/Lib/random.py | |
const crypto = require('crypto'); | |
const bases = require('bases'); | |
const START = 33554432; // '100000' | |
const END = 1073741824; // 'ZZZZZZ' | |
function getrandbits(k) { |
OlderNewer