I hereby claim:
- I am anyong on github.
- I am anyong (https://keybase.io/anyong) on keybase.
- I have a public key ASAzewIlBmzCaf0XhRkiPy_QnEXYwWKioMZbo9e4C42FEwo
To claim this, I am signing this object:
const IOTA = require('iota.lib.js') | |
const remoteCurl = require('@iota/curl-remote') | |
// IOTA node and powbox are separate servers | |
const provider = 'https://nodes.testnet.iota.org:443' | |
const powbox = 'https://powbox.testnet.iota.org' | |
// Create an IOTA object as usual | |
const iota = new IOTA({ provider }) |
I hereby claim:
To claim this, I am signing this object:
import Promise from 'bluebird'; | |
/** | |
* The default pagination options, these can be overridden | |
* by the user by passing an options object as the first argument | |
* to the Model#pagination call. The 'sort' column here can | |
* refer to any column in the Model's table or another table using | |
* the standard 'table.column' notation. | |
*/ | |
const defaultOptions = { |
cut = function(offset, start) | |
{ | |
start = start || 1; | |
offset = offset || 0; | |
// create a new document | |
app.beginPriv(); | |
var newDoc = app.newDoc(); | |
app.endPriv(); | |
// get the filename of our current file |
export const LOGIN_REQUEST = 'LOGIN_REQUEST'; | |
export const LOGIN_SUCCESS = 'LOGIN_SUCCESS'; | |
export const LOGIN_FAILURE = 'LOGIN_FAILURE'; | |
export const LOGOUT = 'LOGOUT'; |
{ | |
"title": "Welcome to My Site" | |
} |
var React = require('react'), | |
Flocks = require('flocks.js'), | |
Router = require('react-router'), | |
AppRoutes = require('./AppRoutes'); | |
var App = Flocks.createClass({ | |
render () {return <div id="router"></div>;} | |
}); | |
var Config = { target: document.getElementById('app'), control: App}; |
jest.dontMock('../TestComponent'); | |
describe('test component', function() { | |
var TestComponent = require('../TestComponent'); | |
}); |