Skip to content

Instantly share code, notes, and snippets.

View DanielOchoa's full-sized avatar

Daniel Ochoa DanielOchoa

View GitHub Profile
defaults: &defaults
adapter: postgresql
host: localhost
encoding: unicode
pool: 5
development:
<<: *defaults
database: fip_dev
steroids.on 'ready', ->
height = screen.height - 70
ele = document.getElementById 'scroll_wrap'
ele.style.height = height + 'px'
( () ->
if typeof angular is 'undefined'
return
module = angular.module 'MessageModel', []
module.factory 'Message', () ->
{
( () ->
if typeof angular is 'undefined'
return
module = angular.module 'ViewModel', []
module.factory 'View', () ->
{