Comparing version 0.0.1 to 0.0.2
@@ -51,2 +51,6 @@ /** | ||
module.exports = cdsHot; | ||
module.exports = cdsHot; | ||
module.exports.cdsRequire = (path) => { | ||
return cdsHot.require.bind(cdsHot)(path); | ||
} |
{ | ||
"name": "cds-hot", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "cds,hot,debug", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -17,3 +17,3 @@ ## TuRing-CDS | ||
Hot.init(__dirname,isHot); | ||
const cdsRequire = Hot.require; | ||
const cdsRequire = Hot.cddRequire; | ||
@@ -20,0 +20,0 @@ setInterval(()=>{ |
@@ -5,3 +5,4 @@ /** | ||
const cdsHot = require('../'); | ||
const cdsRequire = cdsHot.init(__dirname, true).require.bind(cdsHot); | ||
cdsHot.init(__dirname, true); | ||
const cdsRequire = cdsHot.cdsRequire | ||
@@ -8,0 +9,0 @@ setInterval(() => { |
@@ -5,3 +5,3 @@ /** | ||
module.exports.get = function(){ | ||
return ['wwwcccaaacdafdcccxxx'] | ||
return ['wwwcccaaacdafdcccxxxccc'] | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47161
65