/**
* Fetch users by projectId
*
* @param {String} projectId (required)
* @param {Object} options (to further narrow query) e.g. [postcode, disabled]
*/
api.prototype.getUsers = function(projectId, options, cb) {
let query = {
projectId,
(function() { | |
// Usage - attach scope to last argument for printing scope: | |
// console.info('whatever', this); | |
// console.info('whatever', { a: 'abc'}, ..., this); | |
if (window.console && console.info){ | |
var old = console.info; | |
console.info = function() { | |
var len = arguments.length; | |
if (len -1 > 0 && | |
Object.prototype.toString.call(arguments[len - 1]) === '[object Object]' && |
Cordova: 5.1.1
Node.js: v0.12.0
Replace ~/Documents/node_modules/cordova/node_modules/cordova-lib/node_modules/npm/node_modules/request/index.js
(or whatever the error output says)
For 0.211.0
when behind a proxy.
# Windows temporary:
set ATOM_NODE_URL=http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist
# Windows permanently:
setx ATOM_NODE_URL http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist /M
# Linux
Working on a feature branch, let's say "feature/local-notification". Once finished, one commits all the files and sends the PR to let's say "develop" on a remote repositiory used by your team.
When a reviewer comes to check the PR they announce they are unable to comment on diffs or view all the diffs on Github as Github's diff limit was reached.
You are asked to (kindly) split the commit...
Below I will outline the (what I think is the best and most flexible) method of doing this (there are perhaps other ways depending on your situation).
To use OrbitControls for Ejecta you will need to modify the OrbitControls.js where touchmove
is looking for variable element.clientHeight
and element.clientWidth
. These are read-only properties of Element which are not available in Ejecta.
If you are passing the default document
Element using controls = new THREE.OrbitControls( camera );
, then you can replace the following lines with the innerWidth
and innerHeight
properties of window
. (window == document
are basically same element in Ejecta).
function touchmove( event ) {
if ( scope.enabled === false ) { return; }