Retrieve HTML from API endpoint and render it as explained here:
https://ericbidelman.tumblr.com/post/31140607367/mashups-using-cors-and-responsetype-document http://jsbin.com/bovetayuwu/1/edit?html,css,js,output
ISSUES:
/** | |
* Orders users by age | |
* @param {Array} users - array of object where each one contains a name (a string) and age (a number) | |
* @return {Array} sorted_array_of_users | |
*/ | |
function order_by_age(users) { | |
var sorted_array_of_users = users.sort(compare("age", "ascending")); | |
return sorted_array_of_users; | |
} |
Retrieve HTML from API endpoint and render it as explained here:
https://ericbidelman.tumblr.com/post/31140607367/mashups-using-cors-and-responsetype-document http://jsbin.com/bovetayuwu/1/edit?html,css,js,output
ISSUES:
This installation instrucion describes how to install Tryton Server and Client from scratch for development purposes.
Create virtualenv with virtualenvwrapper:
mkvirtualenv -p /usr/bin/python2.7 trytond
Install Tryton Server:
pip install trytond==4.0.4
Step by step installation of Web Portal
Run instruction described here: https://gist.github.com/dmugtasimov/66a56766f25cc5d085fc91c1aaea970b
Fork https://github.com/kolyaflash/webportal_engine and clone the fork
Enter cloned repo:
cd webportal_engine
// https://jsfiddle.net/vk35ok2o/50/ | |
console.log('typeof 1/0 => ', typeof 1/0); | |
console.log('typeof (1/0) => ', typeof (1/0)); | |
console.log('1/0 => ', 1/0); | |
console.log('"Hello" * 2 => ', "Hello" * 2); | |
console.log('typeof ("Hello" * 2) => ', typeof ("Hello" * 2)); | |
console.log('typeof "Hello" * 2 => ', typeof "Hello" * 2); | |
console.log('typeof undefined => ', typeof undefined); | |
console.log('typeof null => ', typeof null); | |
console.log('typeof function(){} => ', typeof function(){}); |
### Keybase proof | |
I hereby claim: | |
* I am lahdo on github. | |
* I am lahdo (https://keybase.io/lahdo) on keybase. | |
* I have a public key ASARzS8RUd_zJAeu-jFDl3o7BUTiIAtbY1B5Hr07L9UKMwo | |
To claim this, I am signing this object: |
I hereby claim:
To claim this, I am signing this object: