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
04f9a7abaf3943da4094a8214d055621c2341068ef70879dc8e89ac39b41f20dec5dd1a39d78e16e8dbc51b00a04529e9bb9a46969dc3b1b4998ac49c22c6e7abb;xelra |
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
<html> | |
<head> | |
<script> | |
dojoConfig = { | |
packages: [ | |
{ | |
"name": "timezoneJS", | |
"location": "../timezone-js/src", | |
"main": "date" | |
} |
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
/** | |
* IRC Class | |
* | |
* @author Michael Owens | |
* @website http://www.michaelowens.nl | |
* @copyright Michael Owens 2011 | |
* | |
* @author Shaun Walker | |
* @website http://www.theshaun.com | |
* @copyright Shaun Walker 2012 |
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
_handleSelect: function(event, currentTarget){ | |
if (this.selectionMode != "multiple") { | |
console.log("!multiple inherited return"); | |
return this.inherited(arguments); | |
} | |
var row = this.row(currentTarget), | |
selected = this.selection[row.id]; | |
if (selected) { |
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
define([ | |
"some/class1", | |
"some/class2", | |
"other/classes" | |
],fucntion(class1, class2, classes){ | |
return { | |
myUtility: function(arg1, arg2) { ..... }, | |
myOtherUtil: function(arg2, arg2) { .... }, | |
commonClass2: class2.commonUtil | |
}; |
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
dojo.date.locale.format() bug | |
Line 115 of locale.js reads: | |
case 'K': // 0-11 | |
However documentation for the K format option says it should be 1-12 which means Line 116 should read identical to Line 110 (or they could be combined) | |
Exmaple: | |
a = new Date("2012-03-14 12:00:00") | |
Wed Mar 14 2012 12:00:00 GMT-0500 (CDT) |
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
proton:Cordova ktiedt$ phonegap list-recipes | |
Available recipes: | |
Traceback (most recent call last): | |
File "/usr/local/bin/phonegap", line 8, in <module> | |
load_entry_point('cordova==0.1.0', 'console_scripts', 'phonegap')() | |
File "/Library/Python/2.7/site-packages/cordova-0.1.0-py2.7.egg/cordova/console.py", line 33, in main | |
console.run() | |
File "/Library/Python/2.7/site-packages/cordova-0.1.0-py2.7.egg/cordova/console.py", line 25, in run | |
command[0](self).run() |
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
proton:TweetEater ktiedt$ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/couchapp -v push . http://<username>:<password>@localhost:5984/qrchat | |
2011-06-21 01:36:48 [DEBUG] Resource uri: http://<username>:<password>@localhost:5984/qrchat | |
2011-06-21 01:36:48 [DEBUG] Request: HEAD None | |
2011-06-21 01:36:48 [DEBUG] Headers: {'Accept': 'application/json', 'User-Agent': 'couchapp/0.8.1'} | |
2011-06-21 01:36:48 [DEBUG] Params: {} | |
2011-06-21 01:36:48 [DEBUG] Start to perform request: localhost:5984 HEAD /qrchat | |
2011-06-21 01:36:48 [DEBUG] create new connection | |
2011-06-21 01:36:48 [DEBUG] Send headers: ['HEAD /qrchat HTTP/1.1\r\n', 'Host: localhost:5984\r\n', 'User-Agent: restkit/3.2.3\r\n', 'Accept-Encoding: identity\r\n', 'Accept: application/json\r\n', 'Authorization: Basic a3RpZWR0OndhcnBlZDgx\r\n'] | |
2011-06-21 01:36:48 [DEBUG] Start to parse response | |
2011-06-21 01:36:48 [DEBUG] Got response: 200 OK |
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
/Users/ktiedt/repos/node_modules/tweetstream/lib/main.js:87 | |
options.client.end(); | |
^ | |
TypeError: Cannot call method 'end' of undefined | |
at EventEmitter.<anonymous> (/Users/ktiedt/repos/node_modules/tweetstream/lib/main.js:87:20) | |
at EventEmitter.emit (events.js:81:20) | |
at EventEmitter.end (/Users/ktiedt/repos/node_modules/tweetstream/lib/main.js:84:36) | |
at IncomingMessage.onend (stream.js:74:10) | |
at IncomingMessage.emit (events.js:81:20) | |
at HTTPParser.onMessageComplete (http.js:133:23) |