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
var API = require("../API"); | |
var ListAPI = { | |
createList(listname, spaceId, cb) { | |
var data = { | |
list: { name: listname}, | |
space: { id: spaceId } | |
}; | |
API.callAjaxPost('/lists', data, ( err, res ) => { | |
if(err) { |
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
var Dispatcher = require('flux').Dispatcher; | |
var assign = require('object-assign'); | |
var n = 0; | |
var Dispatcher = assign( new Dispatcher(), { | |
handleViewAction( action ) { | |
n++; | |
// console.log(`dispatch #${n}`,action.type); | |
var payload = { |
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
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
NewerOlder