projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
45559b781813bd2db880efedd55760af7471ac72
[yaffs-website]
/
index.js
1
'use strict'
2
3
module.exports = function whichModule (exported) {
4
for (var i = 0, files = Object.keys(require.cache), mod; i < files.length; i++) {
5
mod = require.cache[files[i]]
6
if (mod.exports === exported) return mod
7
}
8
return null
9
}