Skip to content

Instantly share code, notes, and snippets.

import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@meirish
meirish / router.js
Created July 28, 2017 15:56
New Twiddle
import Ember from 'ember';
import config from './config/environment';
const Router = Ember.Router.extend({
location: 'none',
rootURL: config.rootURL
});
Router.map(function() {
this.route('foo', { path: '/foo/:topId' }, function() {
@meirish
meirish / router.js
Last active July 28, 2017 15:55 — forked from amk221/router.js
New Twiddle
import Ember from 'ember';
import config from './config/environment';
const Router = Ember.Router.extend({
location: 'none',
rootURL: config.rootURL
});
Router.map(function() {
this.route('foo', { path: '/foo/:topId' }, function() {
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle'
});

Keybase proof

I hereby claim:

  • I am meirish on github.
  • I am meirish (https://keybase.io/meirish) on keybase.
  • I have a public key whose fingerprint is E7AB 15F7 B234 D198 864C 20D3 B368 852F 9D7E 4505

To claim this, I am signing this object:

import Ember from 'ember';
const DEFAULTS = {
one: 1,
two: 2,
other: false,
thing: null
};
export default Ember.Component.extend(DEFAULTS, {
@meirish
meirish / SassMeister-input.scss
Created April 16, 2015 15:46
Generated by SassMeister.com.
// ----
// Sass (v3.3.14)
// Compass (v1.0.1)
// ----
.btn {
font-weight: bold;
&:focus {
font-style: italic;
}
@meirish
meirish / SassMeister-input.scss
Created May 28, 2014 14:11
Generated by SassMeister.com.
// ----
// Sass (v3.3.7)
// Compass (v1.0.0.alpha.18)
// ----
$transparent : transparent;
$black : #000000;
$indigo : #071932;
$white : #ffffff;
<div class="pure-g">
<div class="pure-u-20-24 padding-r-s-mobile">
<h2 class="h3 margin-none">
{{course.title}}
</h2>
<p class="light margin-none small">
{{#t}}Next Due {{date course.next_section_due "full"}}{{/t}}
<span class="pink">({{date course.next_section_due "fromNow"}})</span>
&nbsp;/&nbsp;
;(function (){
var HomeUI = {
imageLoadCounter:1,
delayTimer:null,
animationTimer:null,
timerCounter:0,
currentAnimation:null,
animating:false,
popUpTimer:null,
NUM_IMAGES_TO_LOAD:4,