made with esnextbin
This file contains 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
App.Adapter = { | |
ajax: function(method, options, token) { | |
var options = options || {}; | |
options.dataType = 'json'; | |
var str = Object.keys(options).map(function(key){ | |
return encodeURIComponent(key) + '=' + encodeURIComponent(obj[key]); | |
}).join('&'); | |
return ic.ajax.request('https://api.vk.com/method/' + method + '?' + str + '&access_token=' + token); | |
} | |
}; |
This file contains 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
/* remove right sidebar*/ | |
.sidebar_right{ | |
display: none; | |
} | |
.content_left { | |
padding-right: 0px; | |
} | |
/* remove footer logos */ | |
.footer_logos{ |
This file contains 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 fetch from 'isomorphic-fetch' | |
import qs from 'query-string' | |
const remote = window.require('remote') | |
const BrowserWindow = remote.require('browser-window') | |
const fetch = remote.require('isomorphic-fetch') | |
export default class WebApi { | |
constructor(args={}) { | |
let defaultConfig = this._getDefaultConfig() |
This file contains 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
// user_id=27830729 | |
// order=hints | |
// count=3 | |
// fields=photo_100 | |
// name_case=nom | |
const resFriends = { | |
response: { | |
count: 238, | |
items: [{ | |
id: 53472976, |
This file contains 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
messages module | |
messages reducer | |
√ should handle ROOM_MESSAGES_SUCCESS | |
1) should handle ROOM_MESSAGES_BEFORE_SUCCESS | |
1 passing (495ms) | |
1 failing | |
1) messages module messages reducer should handle ROOM_MESSAGES_BEFORE_SUCCESS: |
This file contains 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 React, { | |
Component, StyleSheet, PropTypes, Text, View, TouchableOpacity, ListView, Animated | |
} from 'react-native'; | |
import _ from 'lodash' | |
import InvertibleScrollView from 'react-native-invertible-scroll-view' | |
import Message from './Message' | |
export default class MessagesListView extends Component { | |
constructor(props) { |
This file contains 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
W/OpenGLRenderer(22242): Path too large to be rendered into a texture | |
W/OpenGLRenderer(22242): Path too large to be rendered into a texture | |
W/OpenGLRenderer(22242): Path too large to be rendered into a texture | |
D/TaskPersister( 611): removeObsoleteFile: deleting file=380_task.xml | |
D/TaskPersister( 611): removeObsoleteFile: deleting file=380_task_thumbnail.png | |
E/TemperatureHumiditySensor( 611): mCompEngine is NULL | |
W/unknown:React(22242): You seem to be running on device. Run 'adb reverse tcp:8081 tcp:8081' to forward t |
This file contains 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.terrysahaidak.faye; | |
import com.google.gson.JsonObject; | |
import com.amatkivskiy.gitter.sdk.async.faye.client.AsyncGitterFayeClient; | |
import com.amatkivskiy.gitter.sdk.async.faye.interfaces.ChannelListener; | |
import com.amatkivskiy.gitter.sdk.async.faye.interfaces.ConnectionListener; | |
import com.amatkivskiy.gitter.sdk.async.faye.interfaces.DisconnectionListener; | |
import com.amatkivskiy.gitter.sdk.async.faye.interfaces.Logger; | |
import com.amatkivskiy.gitter.sdk.async.faye.interfaces.DisconnectionListener; |
This file contains 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.terrysahaidak.faye; | |
import com.google.gson.JsonObject; | |
import javax.annotation.Nullable; | |
import com.amatkivskiy.gitter.sdk.async.faye.client.AsyncGitterFayeClient; | |
import com.amatkivskiy.gitter.sdk.async.faye.interfaces.ChannelListener; | |
import com.amatkivskiy.gitter.sdk.async.faye.interfaces.ConnectionListener; | |
import com.amatkivskiy.gitter.sdk.async.faye.interfaces.DisconnectionListener; | |
import com.amatkivskiy.gitter.sdk.async.faye.interfaces.Logger; |
OlderNewer