Skip to content

Instantly share code, notes, and snippets.

import Ember from 'ember';
export default Ember.Component.extend({
classNames: 'uploadThumbnail',
classNameBindings: ['upload.isLoaded'],
backgroundImageStyle: function () {
if (this.get('localFileUrl')) {

iOS Router Thoughts

We don't have a clear, flexible solution for transitioning between screens. These are some thoughs of what we need.

Transtion to any screen, from any screen

For example, a username can appear on various screens. Tapping the username results in transtioning to the UserDetail screen ragardless of what the current screen.

// This should be possible from any RouteContext
this.router.push(.UserDetail, model: user)
db:
image: postgres
ports:
- "5432"
redis:
image: redis
ports:
- "6379"
sidekiq:
build: ./mine-api
var policy = require('s3-policy');
var Route = require('project-router').Route;
var S3_BUCKET_NAME = process.env.S3_BUCKET_NAME;
var S3_KEY = process.env.S3_KEY;
var S3_SECRET = process.env.S3_SECRET;
var PUBLIC_READ_ACL = 'public-read';
module.exports = Route.extend({