A Dashing widget to show Hipchat user presence on a dashboard.
Add the following to your dashing Gemfile
gem 'hipchat'npm install -g jspm@betajspm initjspm install angular2 reflect-metadata zone.js es6-shimThis will create a jspm_packages folder, and a config.js file.
Open the config.js file - this file manages options for the System.js loader - tweak it as appropriate
npm install -g jspm@betajspm initjspm install angular2 reflect-metadata zone.js es6-shimThis will create a jspm_packages folder, and a config.js file.
Open the config.js file - this file manages options for the System.js loader - tweak it as appropriate
| import React, { Component } from 'react'; | |
| import { createStore, combineReducers, applyMiddleware, bindActionCreators } from 'redux'; | |
| import { provide, connect } from 'react-redux'; | |
| import thunk from 'redux-thunk'; | |
| const AVAILABLE_SUBREDDITS = ['apple', 'pics']; | |
| // ------------ | |
| // reducers | |
| // ------------ |
| /** | |
| * @providesModule PatientList | |
| */ | |
| import NavigationBar from 'react-native-navbar'; | |
| import NavigationButtons from 'NavigationButtons'; | |
| import React, { ListView, Navigator, StyleSheet, Text, TextInput, TouchableHighlight, View } from 'react-native'; | |
| import { connect } from 'react-redux/native' | |
| @connect(state => ({ | |
| patients: state.patients |