Infinite Scroll App Example
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
<!DOCTYPE html> | |
<html> | |
<!-- fallback for browsers which do not support promise --> | |
<script src="es6-promise.min.js"></script> | |
<script src="syncLib.js"></script> | |
<script src="asyncLib.js"></script> | |
<script> | |
function onSuccess(response) |
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
var http = require('http'); | |
var server=http.createServer(); | |
server.on('request',function(req,resp){ | |
resp.end('Hello from server'); | |
}); | |
server.listen(4005,'192.168.2.101'); |