mirror of
https://github.com/amark/gun.git
synced 2025-10-14 00:59:35 +00:00
Merge pull request #534 from masterex1000/master
Add Node Support To gun/lib/time.js
This commit is contained in:
commit
6315dcad51
@ -1,3 +1,7 @@
|
|||||||
|
if(typeof window === "undefined"){ //Not in the browser, Include from node
|
||||||
|
var Gun = require('gun/gun');
|
||||||
|
}
|
||||||
|
|
||||||
;(function(){
|
;(function(){
|
||||||
var ify = Gun.node.ify, u;
|
var ify = Gun.node.ify, u;
|
||||||
Gun.chain.time = function(data, a, b){
|
Gun.chain.time = function(data, a, b){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user