Skip to content

Instantly share code, notes, and snippets.

View akestner's full-sized avatar

Alex Kestner akestner

View GitHub Profile
import {observable} from 'mobx';
import {computed} from 'mobx';
import {
Day, IncludableItem, IncludedItem, ActivityType, Activity
} from "./models";
// TODO: inject these?
import {nullIncludableItem, nullIncludedItem} from "./defaults";
interface AppStateInterface {
- if current_page?(controller: 'pages', action: 'candidate_landing')
li.navbar-switch
= link_to t("navbar.candidate_landing.to_employer_landing"), employer_landing_path,
class: 'navbar-link'
- elsif current_page?(controller: 'pages', action: 'employer_landing')
li.navbar-switch
= link_to t("navbar.employer_landing.to_candidate_landing"), root_path,
class: 'navbar-link'
util = require "util"
xmpp = require "node-xmpp"
oscar = require 'oscar'
express = require "express"
###
The XMPP bot.
###