I'm trying to hack on Peon, so far I've not been able to successfuly run the tests.
Here are the steps I took to setup my dev environment to start hacking on peon. Just in case someone else needs them.
Note
[tox] | |
envlist = py26,py27 | |
[testenv] | |
commands = konira -t -d | |
[testenv:py26] | |
basepython=C:\env\python26\python.exe | |
[testenv:py27] |
if (typeof System === 'undefined') { | |
System = { | |
Gadget: { | |
settingsUI: '', | |
onSettingsClosed: function() {}, | |
Settings: { | |
read: function (key) { return key; }, | |
readString: function (key) { return key; } | |
} | |
} |
var Jaxy = function() { | |
this.xhr = new XMLHttpRequest; | |
}; | |
Jaxy.prototype.get = function(options) { | |
if (typeof options.url === 'undefined') return; | |
var self = this; | |
var url = options.url || ''; | |
var success = options.success || null; | |
var error = options.error || null; |
<html> | |
Jst looking | |
</html> |