This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component } from 'react' | |
import { createStore, combineReducers } from 'redux' | |
import parseLinkHeader from 'parse-link-header' | |
const START = 'start' | |
const SUCCEED = 'succeed' | |
const ERROR = 'error' | |
const inflight = (state={}, action) => ( | |
((state) => ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.android.justjava; | |
import android.os.Bundle; | |
import android.support.v7.app.ActionBarActivity; | |
import android.view.View; | |
import android.widget.TextView; | |
/** | |
* This app displays an order form to order coffee. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
app.controller('FormController', ['$scope','AuthSvc','$firebaseArray','FirebaseUrl','$location','toaster', function($scope, AuthSvc, $firebaseArray, FirebaseUrl, $location, toaster){ | |
//code form | |
$scope.message = " form version 0.9 - Note: if Policy Agreement is not checked, presenter can't submit paper. "; | |
var ref = new Firebase(FirebaseUrl); | |
//create a node name 'calls' and return an array | |
var allCalls = $firebaseArray(ref.child('calls')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "Event.h" | |
#import "AFNetworking.h" | |
@implementation Event | |
-(id)init { | |
self = [self initWithTitle:@"defaultTitle" initWithDetail:@"defaultDetail"]; | |
return self; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
@interface DetailViewController : UIViewController <UISplitViewControllerDelegate> | |
@property (strong, nonatomic) id detailItem; | |
@property (weak, nonatomic) IBOutlet UILabel *nameText; | |
@property (weak, nonatomic) IBOutlet UILabel *timeText; |
NewerOlder