projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Upgraded drupal core with security updates
[yaffs-website]
/
node_modules
/
sntp
/
examples
/
offset.js
1
var Sntp = require('../lib');
2
3
// Request offset once
4
5
Sntp.offset(function (err, offset) {
6
7
console.log(offset); // New (served fresh)
8
9
// Request offset again
10
11
Sntp.offset(function (err, offset) {
12
13
console.log(offset); // Identical (served from cache)
14
});
15
});
16