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
function(values) { | |
var str = ""; | |
for(var val in values) { | |
if (val.constructor == Object) { | |
for (var key in val) { | |
str += val[key]; | |
} | |
} else { | |
str += val; | |
} |
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
while(queue.waitForMessage()){ | |
queue.processNextMessage(); | |
} |
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
info: Creating snapshot 0.0.1-1 | |
info: Uploading: [=============================] 100% | |
error: Error running command deploy | |
error: Error building snapshot | |
error: Nodejitsu Error (500): Internal Server Error | |
help: For help with this error contact Nodejitsu Support: | |
help: webchat: <http://webchat.nodejitsu.com/> | |
help: irc: <irc://chat.freenode.net/#nodejitsu> | |
help: email: <support@nodejitsu.com> | |
help: |
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
info: Updating app med-chat | |
info: Activating snapshot 0.0.1-3 for med-chat | |
info: Starting app med-chat | |
error: Error running command deploy | |
error: Errors occured while starting the application | |
error: Error output from application. This is usually a user error. | |
error: | |
error: module.js:340 | |
error: throw err; | |
error: ^ |
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
info: Welcome to Nodejitsu cj3kim | |
info: jitsu v0.13.15, node v0.10.25 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing application dependencies in npm ls && node server.js | |
debug: { method: 'GET', | |
debug: uri: 'https://api.nodejitsu.com/apps/cj3kim/med-chat', | |
debug: headers: | |
debug: { Authorization: '*****************************************************************', | |
debug: 'Content-Type': 'application/json', |
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
jitsu deploy --debug | |
info: Welcome to Nodejitsu cj3kim | |
info: jitsu v0.13.15, node v0.10.25 | |
info: It worked if it ends with Nodejitsu ok | |
info: Executing command deploy | |
info: Analyzing application dependencies in npm ls && node server.js | |
debug: { method: 'GET', | |
debug: uri: 'https://api.nodejitsu.com/apps/cj3kim/med-chat', | |
debug: headers: | |
debug: { Authorization: '*****************************************************************', |
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
require("./famous-polyfills/index"); | |
require('domready')(function () { | |
var Engine = require('./famous/core/Engine'); | |
var InputSurface = require('./famous/surfaces/InputSurface'); | |
var StateModifier = require('./famous/modifiers/StateModifier'); | |
var ContainerSurface = require('./famous/surfaces/ContainerSurface'); | |
var Scrollview = require('./famous/views/Scrollview'); |
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
function ScrollContainer(options) { | |
this.options = Object.create(ScrollContainer.DEFAULT_OPTIONS); | |
this._optionsManager = new OptionsManager(this.options); | |
if (options) this.setOptions(options); | |
this.container = new ContainerSurface(this.options.container); | |
this.scrollview = new Scrollview(this.options.scrollview); | |
this.surface.add(this.scrollview); |
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
1. Create an emitter object | |
var emitter = require('emitter').EventEmitter; | |
engine.on('resize', function () { | |
emitter.emit('resize'); | |
}) | |
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
/** Requires **/ | |
var ContainerSurface = require('../famous/surfaces/ContainerSurface'); | |
var StateModifier = require('../famous/modifiers/StateModifier'); | |
var _ = require('underscore'); | |
var extend = require('node.extend'); | |
var generateRadioButton = require('./generateRadioButton'); | |
var generateBebopRatio = require('./generateBebopRatio'); | |
var processRadioButton = require('./processRadioButton'); | |
var defaultSurfaceOptions = { |
OlderNewer